Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. My Project
  3. nRF5 action!

nRF5 action!

Scheduled Pinned Locked Moved My Project
1.9k Posts 49 Posters 630.8k Views 44 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • scalzS scalz

    i don't think you need extraordinary soldering skills, pads on bottom looks easy ;) (pretty sure these are the programming pads)

    The right question, imho, would be: can you expect from this dongle the range you would expect from a gateway ?? regarding chip antenna performance and maybe its gnd counterpoise..

    JokgiJ Offline
    JokgiJ Offline
    Jokgi
    wrote on last edited by Jokgi
    #1638

    @scalz 0_1526314656566_nRF52840-dongle-smaller.jpg
    I would be interested in any range testing in regard to this dongle. For ground it has whatever it is that it is plugged into. (PC, SBC, USB extention cable, etc) There will be a nRF52840 based dongle out soon. See picture above. This dongle will need to be programed over the SWD lines. No Segger on board this one..!

    U 1 Reply Last reply
    3
    • scalzS Offline
      scalzS Offline
      scalz
      Hardware Contributor
      wrote on last edited by scalz
      #1639

      @Jokgi i'm not using usb dongle but it looks nice. (too bad 52840 is AQFN..)

      1 Reply Last reply
      0
      • O Offline
        O Offline
        Omemanti
        wrote on last edited by
        #1640

        @Nca78 0_1527343061376_IMG_20180526_155051.jpg
        Getting rid of the ground plains around the entire module hugely improved the range. Had to stap back to AAA batteries to fit on the board. But I'm happy with the way it's going (AA is still possible but not soldered on it just doesn't fit enough in the wall socket)

        1 Reply Last reply
        2
        • NeverDieN Offline
          NeverDieN Offline
          NeverDie
          Hero Member
          wrote on last edited by
          #1641

          Very nice. Looks professional!

          1 Reply Last reply
          0
          • T Offline
            T Offline
            Toyman
            wrote on last edited by
            #1642

            Very nice indeed. I thought ground plains improve the range

            Nca78N gohanG 2 Replies Last reply
            0
            • T Toyman

              Very nice indeed. I thought ground plains improve the range

              Nca78N Offline
              Nca78N Offline
              Nca78
              Hardware Contributor
              wrote on last edited by
              #1643

              @toyman said in nRF5 action!:

              Very nice indeed. I thought ground plains improve the range

              He's talking about the ground plane around the nrf5 module, not on the full board ;)

              1 Reply Last reply
              0
              • T Toyman

                Very nice indeed. I thought ground plains improve the range

                gohanG Offline
                gohanG Offline
                gohan
                Mod
                wrote on last edited by
                #1644

                @toyman they do, but not too close to the antenna 😀

                1 Reply Last reply
                0
                • NeverDieN NeverDie

                  @toyman said in nRF5 action!:

                  @neverdie said in nRF5 action!:

                  I didn't have good enough technique dispensing manually directly from a solder paste syringe,

                  what did you have issues with?

                  It was very hard to extrude it, so I always seemed to either underextrude or overstrude. I found it very hard to get the right amount exactly where it should go by just manually pressing the plunger on the solder paste syringe that the material came in.

                  Nca78N Offline
                  Nca78N Offline
                  Nca78
                  Hardware Contributor
                  wrote on last edited by
                  #1645

                  What about moving the PID-related discussion to a dedicated thread as this one is already excessively long and useful information will get lost soon ?

                  @neverdie said in nRF5 action!:

                  It was very hard to extrude it, so I always seemed to either underextrude or overstrude. I found it very hard to get the right amount exactly where it should go by just manually pressing the plunger on the solder paste syringe that the material came in.

                  Yes I had the same problem too... added with too old solder paste from my local shop :(
                  I just ordered a stencil together with my test PCB, I guess it's the way to go given the now very low prices of stencils (mini-stencils at 9.9$ at Seeed and I just paid 7$ + 2$ PCB at JLCPCB, same company than EasyEDA).

                  1 Reply Last reply
                  0
                  • gohanG Offline
                    gohanG Offline
                    gohan
                    Mod
                    wrote on last edited by
                    #1646

                    I think we should open a dedicated thread about smd

                    Nca78N 1 Reply Last reply
                    0
                    • gohanG gohan

                      I think we should open a dedicated thread about smd

                      Nca78N Offline
                      Nca78N Offline
                      Nca78
                      Hardware Contributor
                      wrote on last edited by
                      #1647

                      @gohan said in nRF5 action!:

                      I think we should open a dedicated thread about smd

                      We had the same idea at the same time.
                      I moved the related posts here => https://forum.mysensors.org/topic/9412/smd-reflow-oven-pid

                      Not sure the title is the best, feel free to suggest a better one in the other thread :)

                      1 Reply Last reply
                      2
                      • monteM Offline
                        monteM Offline
                        monte
                        wrote on last edited by monte
                        #1648

                        Hello guys. Finally I've got some nrf51288 boards, like used here: https://www.openhardware.io/view/510/Button-cell-Temperature-Humidity-sensor I've hooked it up to ST Link, uploaded test sketch and everything worked fine. Then I tried to put it to sleep and measure power consumption. The best number I'm getting is 550uA... And it seems like something is completely wrong with this. Either my readings, or some bug in new version of Mysensors library or nrf5 arduino core.
                        To be sure it's not particular chip's bug I've checked both I've got, no differences. I've also checked current on stock BLE firmware from manufacturer it was running when they came. It was around 120uA - 200uA while presenting via bluetooth. So I guess it can't be that my readings are completely wrong. But then how can it be that bluetooth presenting consume less current than sleeping?
                        For now I couldn't find a solution or any hint for this, so I apologize If I am missing something, but I need help.

                        EDIT: I might just delete this post, but maybe someone will search for the same solution. Long story short 600uA extra is due to the lack of low frequency crystal onboard. It makes HFCLK to not shutdown and draws current during a sleep. I knew, that synth RTC will take more current but I didn't expect it to be that much.
                        Another question is why sleep that depends on pin change and seems doesn't require RTC consumes 1ma? I'm confused...

                        Nca78N 1 Reply Last reply
                        1
                        • monteM Offline
                          monteM Offline
                          monte
                          wrote on last edited by
                          #1649

                          To summarize, what I have for now.

                          • Plain mysensors sketch with empty loop consumes - 16.6mA

                          • The same sketch with sleep(60000); in loop - 95-100uA

                          • The same sketch with pinMode(10, INPUT_PULLUP); and sleep(10, FALLING, 0); - 1mA

                          • The sketch based on Nordicsemi example from here https://github.com/NordicPlayground/nrf51-powerdown-examples/blob/master/system_on_wakeup_on_gpio/main.c

                          void setup() {
                            NRF_GPIO->PIN_CNF[10] = ((uint32_t)GPIO_PIN_CNF_DIR_Input        << GPIO_PIN_CNF_DIR_Pos)
                                                    | ((uint32_t)GPIO_PIN_CNF_INPUT_Connect    << GPIO_PIN_CNF_INPUT_Pos)
                                                    | ((uint32_t)GPIO_PIN_CNF_PULL_Pullup      << GPIO_PIN_CNF_PULL_Pos)
                                                    | ((uint32_t)GPIO_PIN_CNF_DRIVE_S0S1       << GPIO_PIN_CNF_DRIVE_Pos)
                                                    | ((uint32_t)GPIO_PIN_CNF_SENSE_Low   << GPIO_PIN_CNF_SENSE_Pos);
                            NRF_GPIOTE->INTENSET = GPIOTE_INTENSET_PORT_Msk;
                            NVIC_EnableIRQ(GPIOTE_IRQn);
                            delay(2000);
                            NRF_RTC1->TASKS_STOP = 1;
                          }
                          
                          void loop() {
                            NRF_RADIO->TASKS_DISABLE = 1;
                            NRF_CLOCK->TASKS_HFCLKSTOP = 1;
                            __WFE();
                            __SEV();
                            __WFE();
                          }
                          
                          void GPIOTE_IRQHandler(void)
                          {
                            // This handler will be run after wakeup from system ON (GPIO wakeup)
                            if (NRF_GPIOTE->EVENTS_PORT)
                            {
                              NRF_GPIOTE->EVENTS_PORT = 0;
                          
                            }
                          }
                          

                          While delay(2000); consumes 4mA, after stopping RTC and HFCLK and going to sleep as expected consumes less than 10uA (my meter can't read less than that so it shows just 0).

                          • The same code adapted for use with mysensors library:
                          #define MY_RADIO_NRF5_ESB
                          
                          #include <MySensors.h>
                          
                          void setup()
                          {
                            NRF_GPIO->PIN_CNF[10] = ((uint32_t)GPIO_PIN_CNF_DIR_Input        << GPIO_PIN_CNF_DIR_Pos)
                                                    | ((uint32_t)GPIO_PIN_CNF_INPUT_Connect    << GPIO_PIN_CNF_INPUT_Pos)
                                                    | ((uint32_t)GPIO_PIN_CNF_PULL_Pullup      << GPIO_PIN_CNF_PULL_Pos)
                                                    | ((uint32_t)GPIO_PIN_CNF_DRIVE_S0S1       << GPIO_PIN_CNF_DRIVE_Pos)
                                                    | ((uint32_t)GPIO_PIN_CNF_SENSE_Low   << GPIO_PIN_CNF_SENSE_Pos);
                            NRF_GPIOTE->INTENSET = GPIOTE_INTENSET_PORT_Msk;
                            NVIC_EnableIRQ(GPIOTE_IRQn);
                          }
                          
                          void loop()
                          {
                            transportDisable();
                            NRF_POWER->TASKS_LOWPWR = 1;
                            NRF_RTC1->TASKS_STOP = 1;
                            MY_HW_RTC->POWER = 0;
                            MY_HW_RTC->INTENCLR = RTC_INTENSET_COMPARE0_Msk;
                            MY_HW_RTC->EVTENCLR = RTC_EVTENSET_COMPARE0_Msk;
                            NRF_ADC->TASKS_STOP = 1;
                            NRF_ADC->ENABLE = 0;
                            NRF_CLOCK->TASKS_HFCLKSTOP = 1;
                            NRF_UART0->TASKS_STOPRX = 1;
                            NRF_UART0->TASKS_STOPTX = 1;
                            NRF_UART0->TASKS_SUSPEND = 1;
                            __WFE();
                            __SEV();
                            __WFE();
                          }
                          
                          void GPIOTE_IRQHandler(void)
                          {
                            // This handler will be run after wakeup from system ON (GPIO wakeup)
                            if (NRF_GPIOTE->EVENTS_PORT)
                            {
                              NRF_GPIOTE->EVENTS_PORT = 0;
                          
                            }
                          }
                          

                          I know that this code is wrong, as it doesn't enable peripherals after wake up, and it I just took chunks of code from different places trying to disable whatever is running by mysensors and consumes that extra current. So in sleep this code consumes 200-230uA.

                          All is running on WT15822 board like this: 0_1532876534214_WT51822-S4AT.jpg
                          It doesn't have 32KHz crystal, but I program it using "Crystal Oscillator" from board menu of nrf5 arduino core.
                          As far as I understand some of the periferals and/or interrupts and/or timers is used by Mysensors stack and doesn't shut down when going to sleep, so it tries to use RTC, which is not available, so it wokes HFCLK, so it consumes extra current. A lot more than it should in sleep mode.

                          I need help with this, as I am planning to build a bucnh of simple window sensors on this board and they doesn't require wake by timer, but will be woken by extrnal pin interrupt. But for now I just can't use Mysensors sleep function to do this, because as I have described it works not as expected. Hope to get some response from you guys.

                          mfalkviddM 1 Reply Last reply
                          0
                          • monteM monte

                            To summarize, what I have for now.

                            • Plain mysensors sketch with empty loop consumes - 16.6mA

                            • The same sketch with sleep(60000); in loop - 95-100uA

                            • The same sketch with pinMode(10, INPUT_PULLUP); and sleep(10, FALLING, 0); - 1mA

                            • The sketch based on Nordicsemi example from here https://github.com/NordicPlayground/nrf51-powerdown-examples/blob/master/system_on_wakeup_on_gpio/main.c

                            void setup() {
                              NRF_GPIO->PIN_CNF[10] = ((uint32_t)GPIO_PIN_CNF_DIR_Input        << GPIO_PIN_CNF_DIR_Pos)
                                                      | ((uint32_t)GPIO_PIN_CNF_INPUT_Connect    << GPIO_PIN_CNF_INPUT_Pos)
                                                      | ((uint32_t)GPIO_PIN_CNF_PULL_Pullup      << GPIO_PIN_CNF_PULL_Pos)
                                                      | ((uint32_t)GPIO_PIN_CNF_DRIVE_S0S1       << GPIO_PIN_CNF_DRIVE_Pos)
                                                      | ((uint32_t)GPIO_PIN_CNF_SENSE_Low   << GPIO_PIN_CNF_SENSE_Pos);
                              NRF_GPIOTE->INTENSET = GPIOTE_INTENSET_PORT_Msk;
                              NVIC_EnableIRQ(GPIOTE_IRQn);
                              delay(2000);
                              NRF_RTC1->TASKS_STOP = 1;
                            }
                            
                            void loop() {
                              NRF_RADIO->TASKS_DISABLE = 1;
                              NRF_CLOCK->TASKS_HFCLKSTOP = 1;
                              __WFE();
                              __SEV();
                              __WFE();
                            }
                            
                            void GPIOTE_IRQHandler(void)
                            {
                              // This handler will be run after wakeup from system ON (GPIO wakeup)
                              if (NRF_GPIOTE->EVENTS_PORT)
                              {
                                NRF_GPIOTE->EVENTS_PORT = 0;
                            
                              }
                            }
                            

                            While delay(2000); consumes 4mA, after stopping RTC and HFCLK and going to sleep as expected consumes less than 10uA (my meter can't read less than that so it shows just 0).

                            • The same code adapted for use with mysensors library:
                            #define MY_RADIO_NRF5_ESB
                            
                            #include <MySensors.h>
                            
                            void setup()
                            {
                              NRF_GPIO->PIN_CNF[10] = ((uint32_t)GPIO_PIN_CNF_DIR_Input        << GPIO_PIN_CNF_DIR_Pos)
                                                      | ((uint32_t)GPIO_PIN_CNF_INPUT_Connect    << GPIO_PIN_CNF_INPUT_Pos)
                                                      | ((uint32_t)GPIO_PIN_CNF_PULL_Pullup      << GPIO_PIN_CNF_PULL_Pos)
                                                      | ((uint32_t)GPIO_PIN_CNF_DRIVE_S0S1       << GPIO_PIN_CNF_DRIVE_Pos)
                                                      | ((uint32_t)GPIO_PIN_CNF_SENSE_Low   << GPIO_PIN_CNF_SENSE_Pos);
                              NRF_GPIOTE->INTENSET = GPIOTE_INTENSET_PORT_Msk;
                              NVIC_EnableIRQ(GPIOTE_IRQn);
                            }
                            
                            void loop()
                            {
                              transportDisable();
                              NRF_POWER->TASKS_LOWPWR = 1;
                              NRF_RTC1->TASKS_STOP = 1;
                              MY_HW_RTC->POWER = 0;
                              MY_HW_RTC->INTENCLR = RTC_INTENSET_COMPARE0_Msk;
                              MY_HW_RTC->EVTENCLR = RTC_EVTENSET_COMPARE0_Msk;
                              NRF_ADC->TASKS_STOP = 1;
                              NRF_ADC->ENABLE = 0;
                              NRF_CLOCK->TASKS_HFCLKSTOP = 1;
                              NRF_UART0->TASKS_STOPRX = 1;
                              NRF_UART0->TASKS_STOPTX = 1;
                              NRF_UART0->TASKS_SUSPEND = 1;
                              __WFE();
                              __SEV();
                              __WFE();
                            }
                            
                            void GPIOTE_IRQHandler(void)
                            {
                              // This handler will be run after wakeup from system ON (GPIO wakeup)
                              if (NRF_GPIOTE->EVENTS_PORT)
                              {
                                NRF_GPIOTE->EVENTS_PORT = 0;
                            
                              }
                            }
                            

                            I know that this code is wrong, as it doesn't enable peripherals after wake up, and it I just took chunks of code from different places trying to disable whatever is running by mysensors and consumes that extra current. So in sleep this code consumes 200-230uA.

                            All is running on WT15822 board like this: 0_1532876534214_WT51822-S4AT.jpg
                            It doesn't have 32KHz crystal, but I program it using "Crystal Oscillator" from board menu of nrf5 arduino core.
                            As far as I understand some of the periferals and/or interrupts and/or timers is used by Mysensors stack and doesn't shut down when going to sleep, so it tries to use RTC, which is not available, so it wokes HFCLK, so it consumes extra current. A lot more than it should in sleep mode.

                            I need help with this, as I am planning to build a bucnh of simple window sensors on this board and they doesn't require wake by timer, but will be woken by extrnal pin interrupt. But for now I just can't use Mysensors sleep function to do this, because as I have described it works not as expected. Hope to get some response from you guys.

                            mfalkviddM Offline
                            mfalkviddM Offline
                            mfalkvidd
                            Mod
                            wrote on last edited by
                            #1650

                            Great work @monte, thanks for sharing.

                            Just to set your expectations correctly: Very few MySensors users have tried nrf5 so far, so the combined experience is quite low. Hopefully someone has an idea on how to help you, but it could very well be that you're the community's most experienced user in this area thanks to your work.

                            1 Reply Last reply
                            0
                            • monteM monte

                              Hello guys. Finally I've got some nrf51288 boards, like used here: https://www.openhardware.io/view/510/Button-cell-Temperature-Humidity-sensor I've hooked it up to ST Link, uploaded test sketch and everything worked fine. Then I tried to put it to sleep and measure power consumption. The best number I'm getting is 550uA... And it seems like something is completely wrong with this. Either my readings, or some bug in new version of Mysensors library or nrf5 arduino core.
                              To be sure it's not particular chip's bug I've checked both I've got, no differences. I've also checked current on stock BLE firmware from manufacturer it was running when they came. It was around 120uA - 200uA while presenting via bluetooth. So I guess it can't be that my readings are completely wrong. But then how can it be that bluetooth presenting consume less current than sleeping?
                              For now I couldn't find a solution or any hint for this, so I apologize If I am missing something, but I need help.

                              EDIT: I might just delete this post, but maybe someone will search for the same solution. Long story short 600uA extra is due to the lack of low frequency crystal onboard. It makes HFCLK to not shutdown and draws current during a sleep. I knew, that synth RTC will take more current but I didn't expect it to be that much.
                              Another question is why sleep that depends on pin change and seems doesn't require RTC consumes 1ma? I'm confused...

                              Nca78N Offline
                              Nca78N Offline
                              Nca78
                              Hardware Contributor
                              wrote on last edited by
                              #1651

                              @monte thé HFCLK is on because of a hardware bug in nrf51822 when you want to wake up using pin interrupt. You have to use PORT interrupt to go really low (around 5uA).

                              I made some (dirty) test code to validate that with MySensors but there was not much interest in that in the forum so I switched to something else. I will not use nrf51822 but nrf52832/40, they became really cheap now and don't have this hardware bug.

                              NeverDieN monteM 2 Replies Last reply
                              1
                              • Nca78N Nca78

                                @monte thé HFCLK is on because of a hardware bug in nrf51822 when you want to wake up using pin interrupt. You have to use PORT interrupt to go really low (around 5uA).

                                I made some (dirty) test code to validate that with MySensors but there was not much interest in that in the forum so I switched to something else. I will not use nrf51822 but nrf52832/40, they became really cheap now and don't have this hardware bug.

                                NeverDieN Offline
                                NeverDieN Offline
                                NeverDie
                                Hero Member
                                wrote on last edited by NeverDie
                                #1652

                                @nca78 By the way, were you ever able to get multiple different interrupts working?

                                Here we are a year later, and I guess there's still no final silicon for the nRF52840?

                                Nca78N 1 Reply Last reply
                                0
                                • NeverDieN NeverDie

                                  @nca78 By the way, were you ever able to get multiple different interrupts working?

                                  Here we are a year later, and I guess there's still no final silicon for the nRF52840?

                                  Nca78N Offline
                                  Nca78N Offline
                                  Nca78
                                  Hardware Contributor
                                  wrote on last edited by
                                  #1653

                                  @neverdie it works with the code I posted.

                                  There are a few modules available with nrf52840 now so I guess final silicon is out. But it's only available in WCSP format I think so you won't see the chip alone.

                                  JokgiJ 1 Reply Last reply
                                  0
                                  • Nca78N Nca78

                                    @neverdie it works with the code I posted.

                                    There are a few modules available with nrf52840 now so I guess final silicon is out. But it's only available in WCSP format I think so you won't see the chip alone.

                                    JokgiJ Offline
                                    JokgiJ Offline
                                    Jokgi
                                    wrote on last edited by Jokgi
                                    #1654

                                    @nca78 The Rev C (COO) parts are available now and they are the production parts. (Symmetry and Nordic's other distributors have these in stock) There will be a respin of this to a Rev D to fix the REG0 issue. FYI, the current nRF52840 package is not a WCSP. It is a aQFN™ package. The nRF52840-Dongle is also available now. Go forth and design......

                                    1 Reply Last reply
                                    3
                                    • Nca78N Nca78

                                      @monte thé HFCLK is on because of a hardware bug in nrf51822 when you want to wake up using pin interrupt. You have to use PORT interrupt to go really low (around 5uA).

                                      I made some (dirty) test code to validate that with MySensors but there was not much interest in that in the forum so I switched to something else. I will not use nrf51822 but nrf52832/40, they became really cheap now and don't have this hardware bug.

                                      monteM Offline
                                      monteM Offline
                                      monte
                                      wrote on last edited by monte
                                      #1655

                                      @nca78 well, after 2 nights of intense trying and failing I've got code to work as expected. And yes, it works with PORT interrupt, its kinda more code for you to write in compare to simply using attachInterrupt function, but I'm okay with that. For me double the price of 52832 compared to 51822 is significant. And for now, for a simple sensor stuff as we do with mysensors I don't really see any advantages except that interrupt bug fixed.
                                      Also I've found that Mysensors sleep function for nrf5 is missing one very important command, I don't know why, maybe it is nrf51822 specific and thus @d00616 missed it but in current version of Mysensors library it doesn't disable UART before sleep, that's why I was getting 120-200uA current during sleep. I still don't really know how to make pull requests on github, so I guess I will just post it here:
                                      line 290 of MyHwNRF5.cpp should contain: NRF_UART0->ENABLE=0; and line 327: NRF_UART0->ENABLE=1; respectively. That completely disables UART on nrf51822.
                                      I will post my complete sketch later, when I will finish it, maybe someone who strugles as I did will find it useful. Also I think we need to somehow combine all examples that were posted in this thread or at least put a list of them with links, because looking through 1654 posts is not an easy task, especially if you not sure what you are looking for exactly.

                                      S 1 Reply Last reply
                                      7
                                      • monteM monte

                                        @nca78 well, after 2 nights of intense trying and failing I've got code to work as expected. And yes, it works with PORT interrupt, its kinda more code for you to write in compare to simply using attachInterrupt function, but I'm okay with that. For me double the price of 52832 compared to 51822 is significant. And for now, for a simple sensor stuff as we do with mysensors I don't really see any advantages except that interrupt bug fixed.
                                        Also I've found that Mysensors sleep function for nrf5 is missing one very important command, I don't know why, maybe it is nrf51822 specific and thus @d00616 missed it but in current version of Mysensors library it doesn't disable UART before sleep, that's why I was getting 120-200uA current during sleep. I still don't really know how to make pull requests on github, so I guess I will just post it here:
                                        line 290 of MyHwNRF5.cpp should contain: NRF_UART0->ENABLE=0; and line 327: NRF_UART0->ENABLE=1; respectively. That completely disables UART on nrf51822.
                                        I will post my complete sketch later, when I will finish it, maybe someone who strugles as I did will find it useful. Also I think we need to somehow combine all examples that were posted in this thread or at least put a list of them with links, because looking through 1654 posts is not an easy task, especially if you not sure what you are looking for exactly.

                                        S Offline
                                        S Offline
                                        smilvert
                                        wrote on last edited by
                                        #1656

                                        @monte But you solve your issue with the WT15822 board? Can you please share your sketch?

                                        Is the range good of the WT15822 board?

                                        I have started sketching to create a couple of new simple temp / hum sensors (WT15822, si7021 and cr2032) and want to know if I can use WT15822 before I order a pcb :)

                                        monteM 1 Reply Last reply
                                        0
                                        • S smilvert

                                          @monte But you solve your issue with the WT15822 board? Can you please share your sketch?

                                          Is the range good of the WT15822 board?

                                          I have started sketching to create a couple of new simple temp / hum sensors (WT15822, si7021 and cr2032) and want to know if I can use WT15822 before I order a pcb :)

                                          monteM Offline
                                          monteM Offline
                                          monte
                                          wrote on last edited by monte
                                          #1657

                                          @smilvert I think I solved issues I mentioned. But I don't have final code yet as I am waiting for parts to arrive for my board. But I think there is no problem using WT51822 board except that you'll have to manually set PORT interrupt and also set pin SENSE register which is cannot be done with arduino function pinMode().
                                          So I guess you can order PCBs if you want, I'm going to post final sketch with explanations at the end of the month.

                                          W 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          6

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • MySensors
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular