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 635.2k 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.
  • A Alexey Strelnikov

    Hello, I want to build battery powered modules (with sleep). I found on Ebay NRF51822 round module with case (https://www.ebay.com/itm/hello/112650665753) - only $6.50 with shipping. Is this module is good choice? Any pitfalls?
    I planning to use water leak sensor, BME280 (I2C), ds18b20(1-wire), maybe MH-Z19 later.
    I don't have enough experience, I have only used ESP8266 NodeMcu V3 and Arduino before.
    I can see one I2C (for programator and sensors?) and one GPIO as button for water leak (right?) + LED pin. Does this module have more pins? Shall I connect to chip legs to obtain more pins (GPIO) (does I need to connect resistors?) for 1-wire or better use some sort of I2C GPIO expander?

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

    @alexey-strelnikov I have one and there are pads to program it but nothing more, it's not really a "module" but a Bluetooth beacon, the only 2 I/Os available are those from the button and the led, there's a footprint for an accelerometer also but the pads are too tiny to solder any wire.

    If you're planning to use other sensors don't buy that one. It's great as a button sensor but any other use will need soldering to LGA-sized pads...

    1 Reply Last reply
    1
    • Nca78N Offline
      Nca78N Offline
      Nca78
      Hardware Contributor
      wrote on last edited by
      #1343

      I received the "holyiot" modules and they are really, really tiny. 2 attached together are exactly the same size than the 51822-04 module. WL-CSP package is very impressive: small, very thin and with a cool shinny surface.
      This module has inductors for DC/DC mode, and pins .00 and .01 are mapped so it's possible to add low frequency crystal for Bluetooth mode.
      0_1513949915111_IMAG2106~2.jpg

      NeverDieN 2 Replies Last reply
      1
      • Nca78N Nca78

        I received the "holyiot" modules and they are really, really tiny. 2 attached together are exactly the same size than the 51822-04 module. WL-CSP package is very impressive: small, very thin and with a cool shinny surface.
        This module has inductors for DC/DC mode, and pins .00 and .01 are mapped so it's possible to add low frequency crystal for Bluetooth mode.
        0_1513949915111_IMAG2106~2.jpg

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

        @nca78

        Nice!

        I'll be very interested to know how the range compares. At least so far, in my own comparisons, smaller has meant less range. Not necessarily a deal killer though, as you only need range that's "good enough," and you can compensate with a better antenna on the gateway.

        Nca78N 1 Reply Last reply
        0
        • NeverDieN NeverDie

          @nca78

          Nice!

          I'll be very interested to know how the range compares. At least so far, in my own comparisons, smaller has meant less range. Not necessarily a deal killer though, as you only need range that's "good enough," and you can compensate with a better antenna on the gateway.

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

          @neverdie said in nRF5 Bluetooth action!:

          @nca78

          Nice!

          I'll be very interested to know how the range compares. At least so far, in my own comparisons, smaller has meant less range. Not necessarily a deal killer though, as you only need range that's "good enough," and you can compensate with a better antenna on the gateway.

          Yes I'll try to test next week to have an idea of the range, if it's "good enough" to be usable at least with a central pa/lna gateway or if it's better to stick with bigger PCB antennas.
          nrf51822-04 is small enough but this one has a better chip and 11 I/Os available, that's precious for a multisensor board.

          NeverDieN 2 Replies Last reply
          1
          • Nca78N Nca78

            @neverdie said in nRF5 Bluetooth action!:

            @nca78

            Nice!

            I'll be very interested to know how the range compares. At least so far, in my own comparisons, smaller has meant less range. Not necessarily a deal killer though, as you only need range that's "good enough," and you can compensate with a better antenna on the gateway.

            Yes I'll try to test next week to have an idea of the range, if it's "good enough" to be usable at least with a central pa/lna gateway or if it's better to stick with bigger PCB antennas.
            nrf51822-04 is small enough but this one has a better chip and 11 I/Os available, that's precious for a multisensor board.

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

            @nca78 said in nRF5 Bluetooth action!:

            nrf51822-04

            What I've noticed is that Rx range was much more compromised with a reduction in size than the Tx range is. Or, to put it differently, Tx range isn't as dramatically compromised. That's potentially good news for a sensor, which may Tx only anyway (i.e. "passive" in the mysensors jargon). But even if it does Rx, your gateway can be much more powerful on its Tx. So, it potentially works out rather nicely, if you know what I mean.

            1 Reply Last reply
            0
            • nagelcN Offline
              nagelcN Offline
              nagelc
              wrote on last edited by
              #1347

              Just received my Fanstell modules. Yikes! 1.1mm pin pitch didn't look that small in the pictures. Do you solder these by hand? I thought my soldering skills were getting pretty good, but I can see I'm going to have to up my game.

              NeverDieN 1 Reply Last reply
              0
              • nagelcN nagelc

                Just received my Fanstell modules. Yikes! 1.1mm pin pitch didn't look that small in the pictures. Do you solder these by hand? I thought my soldering skills were getting pretty good, but I can see I'm going to have to up my game.

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

                @nagelc Yes, I solder it by hand. It's easier than it looks. Just use a narrow tip and maybe extra flux if you need it.

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

                  Here's my latest gateway sheild for the Wemos D1 Mini:
                  0_1514064152895_latest_gateway.jpg

                  In the interest of both belt and suspenders, I gave it its own 300ma LDO so that it won't be competing with the Wemos D1 Mini for current. Earlier measurements of this Fanstel ldo-pa nRF52832 shows that it can draw up to 250ma.

                  It's designed to work well with ESP-LINK, which can also be used to remotely reset the nRF52832 if that's ever needed. Presently, I'm using ESP-LINK's built-in MQTT to send MQTT to a Mosquito MQTT broker. This offloads that task from the nRF52832, which just inputs/outputs serial.

                  By the way, I soldered the entire thing using a wide chisel point solder tip, so it turns out you don't really need a narrow solder tip after all. I do use Rosin flux, though, and it does a great job. The only inconvenience is that the excess Rosin flux should be cleaned off afterward, but, meh, I don't find that to be much of a bother.

                  1 Reply Last reply
                  2
                  • Nca78N Nca78

                    @neverdie said in nRF5 Bluetooth action!:

                    @nca78

                    Nice!

                    I'll be very interested to know how the range compares. At least so far, in my own comparisons, smaller has meant less range. Not necessarily a deal killer though, as you only need range that's "good enough," and you can compensate with a better antenna on the gateway.

                    Yes I'll try to test next week to have an idea of the range, if it's "good enough" to be usable at least with a central pa/lna gateway or if it's better to stick with bigger PCB antennas.
                    nrf51822-04 is small enough but this one has a better chip and 11 I/Os available, that's precious for a multisensor board.

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

                    @nca78 said in nRF5 Bluetooth action!:

                    @neverdie said in nRF5 Bluetooth action!:

                    @nca78

                    Nice!

                    I'll be very interested to know how the range compares. At least so far, in my own comparisons, smaller has meant less range. Not necessarily a deal killer though, as you only need range that's "good enough," and you can compensate with a better antenna on the gateway.

                    Yes I'll try to test next week to have an idea of the range, if it's "good enough" to be usable at least with a central pa/lna gateway or if it's better to stick with bigger PCB antennas.
                    nrf51822-04 is small enough but this one has a better chip and 11 I/Os available, that's precious for a multisensor board.

                    Any update?

                    Also, what is the size of the pads? The only info I've found is what appears on the aliexpress website, which only seems to express the distance (center to center) between the pads. I just received some of these modules, so I'd like to maybe do a prototype PCB using my CNC machine. ;)

                    BTW, I notice that the price went up from $3.20/module to $4/module. :( And something tells me it will probably go higher still.

                    Nca78N 1 Reply Last reply
                    0
                    • NeverDieN NeverDie

                      @nca78 said in nRF5 Bluetooth action!:

                      @neverdie said in nRF5 Bluetooth action!:

                      @nca78

                      Nice!

                      I'll be very interested to know how the range compares. At least so far, in my own comparisons, smaller has meant less range. Not necessarily a deal killer though, as you only need range that's "good enough," and you can compensate with a better antenna on the gateway.

                      Yes I'll try to test next week to have an idea of the range, if it's "good enough" to be usable at least with a central pa/lna gateway or if it's better to stick with bigger PCB antennas.
                      nrf51822-04 is small enough but this one has a better chip and 11 I/Os available, that's precious for a multisensor board.

                      Any update?

                      Also, what is the size of the pads? The only info I've found is what appears on the aliexpress website, which only seems to express the distance (center to center) between the pads. I just received some of these modules, so I'd like to maybe do a prototype PCB using my CNC machine. ;)

                      BTW, I notice that the price went up from $3.20/module to $4/module. :( And something tells me it will probably go higher still.

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

                      @neverdie said in nRF5 Bluetooth action!:

                      @nca78 said in nRF5 Bluetooth action!:

                      @neverdie said in nRF5 Bluetooth action!:

                      @nca78

                      Nice!

                      I'll be very interested to know how the range compares. At least so far, in my own comparisons, smaller has meant less range. Not necessarily a deal killer though, as you only need range that's "good enough," and you can compensate with a better antenna on the gateway.

                      Yes I'll try to test next week to have an idea of the range, if it's "good enough" to be usable at least with a central pa/lna gateway or if it's better to stick with bigger PCB antennas.
                      nrf51822-04 is small enough but this one has a better chip and 11 I/Os available, that's precious for a multisensor board.

                      Any update?

                      Also, what is the size of the pads? The only info I've found is what appears on the aliexpress website, which only seems to express the distance (center to center) between the pads. I just received some of these modules, so I'd like to maybe do a prototype PCB using my CNC machine. ;)

                      BTW, I notice that the price went up from $3.20/module to $4/module. :( And something tells me it will probably go higher still.

                      Sorry I was busy with other things. Now my switch seems to work I will quickly finish other atmega projects and make the switch to nrf5x.
                      For pad sizes, I believe from the pictures below it's 1mm width (grid size is obviously 0.5mm)
                      0_1515471216483_16bdfa3e-0236-4b92-9707-35859a11802c-image.png

                      T 1 Reply Last reply
                      2
                      • Nca78N Nca78

                        @neverdie said in nRF5 Bluetooth action!:

                        @nca78 said in nRF5 Bluetooth action!:

                        @neverdie said in nRF5 Bluetooth action!:

                        @nca78

                        Nice!

                        I'll be very interested to know how the range compares. At least so far, in my own comparisons, smaller has meant less range. Not necessarily a deal killer though, as you only need range that's "good enough," and you can compensate with a better antenna on the gateway.

                        Yes I'll try to test next week to have an idea of the range, if it's "good enough" to be usable at least with a central pa/lna gateway or if it's better to stick with bigger PCB antennas.
                        nrf51822-04 is small enough but this one has a better chip and 11 I/Os available, that's precious for a multisensor board.

                        Any update?

                        Also, what is the size of the pads? The only info I've found is what appears on the aliexpress website, which only seems to express the distance (center to center) between the pads. I just received some of these modules, so I'd like to maybe do a prototype PCB using my CNC machine. ;)

                        BTW, I notice that the price went up from $3.20/module to $4/module. :( And something tells me it will probably go higher still.

                        Sorry I was busy with other things. Now my switch seems to work I will quickly finish other atmega projects and make the switch to nrf5x.
                        For pad sizes, I believe from the pictures below it's 1mm width (grid size is obviously 0.5mm)
                        0_1515471216483_16bdfa3e-0236-4b92-9707-35859a11802c-image.png

                        T Offline
                        T Offline
                        Toyman
                        wrote on last edited by
                        #1352

                        @nca78 do you move your fantastic Nmodules to nrf5 platform?

                        Nca78N 1 Reply Last reply
                        0
                        • T Toyman

                          @nca78 do you move your fantastic Nmodules to nrf5 platform?

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

                          @toyman said in nRF5 Bluetooth action!:

                          @nca78 do you move your fantastic Nmodules to nrf5 platform?

                          Probably, and I will switch to MYSX connector too.

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

                            I was just about to make a test board using my CNC when out of the blue my CNC died during setup. So, I did this board instead and will have it fabbed:
                            0_1515524108208_HolyIOT_top_v001.png
                            0_1515524118988_HolyIOT_bottom_v001.png

                            Nca78N 1 Reply Last reply
                            0
                            • NeverDieN NeverDie

                              I was just about to make a test board using my CNC when out of the blue my CNC died during setup. So, I did this board instead and will have it fabbed:
                              0_1515524108208_HolyIOT_top_v001.png
                              0_1515524118988_HolyIOT_bottom_v001.png

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

                              @neverdie for a test board why are you not using standard headers and mapping all pins available ?

                              NeverDieN 1 Reply Last reply
                              0
                              • Nca78N Nca78

                                @neverdie for a test board why are you not using standard headers and mapping all pins available ?

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

                                @nca78 Because originally I was going to do the board on my CNC (that is, before my CNC dropped dead on me), and I wanted to make it as easy as possible for the CNC to succeed. Also, for testing purposes, I'm most interested in how well it sends/receives, and I don't need many pins to test that. Also, soldering this module may be tricky, so I wanted only the minimum number of pins in case soldering it proves to be difficult.

                                1 Reply Last reply
                                1
                                • korttomaK Offline
                                  korttomaK Offline
                                  korttoma
                                  Hero Member
                                  wrote on last edited by korttoma
                                  #1357

                                  Just received these tiny NRF51822 devices and would like to turn them in to MySensors 1 button scencontroller.
                                  Where should I start?

                                  1. I guess I will need some kind of USB adapter ti program them. Think I read somewhere about JLink. Would this do?

                                  0_1515562170867_20180110_071948.jpg

                                  • Tomas
                                  Nca78N T 2 Replies Last reply
                                  2
                                  • korttomaK korttoma

                                    Just received these tiny NRF51822 devices and would like to turn them in to MySensors 1 button scencontroller.
                                    Where should I start?

                                    1. I guess I will need some kind of USB adapter ti program them. Think I read somewhere about JLink. Would this do?

                                    0_1515562170867_20180110_071948.jpg

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

                                    @korttoma did you check here ?
                                    https://forum.mysensors.org/topic/6705/mysensors-nrf5-platform

                                    For programming the best solution is probably the NRF52 DK, it's not very expensive (30€) and you avoid all the problems related to license of the fake JLINKs (and bricking of the device if you happen to accept the invitation to update the outdated firmware on it), as it includes official licence for programming all nrf5 chips.
                                    https://www.arrow.com/en/products/nrf52-dk/nordic-semiconductor

                                    1 Reply Last reply
                                    2
                                    • MiKaM Offline
                                      MiKaM Offline
                                      MiKa
                                      wrote on last edited by
                                      #1359

                                      Hi,
                                      Working without problem with mysensors, I use STLink v2 from Aliexpress. LED and Button are mapped on pins 28 and 29 :)

                                      0_1515563097508_IMG-0324.JPG

                                      korttomaK MiKaM 2 Replies Last reply
                                      4
                                      • MiKaM MiKa

                                        Hi,
                                        Working without problem with mysensors, I use STLink v2 from Aliexpress. LED and Button are mapped on pins 28 and 29 :)

                                        0_1515563097508_IMG-0324.JPG

                                        korttomaK Offline
                                        korttomaK Offline
                                        korttoma
                                        Hero Member
                                        wrote on last edited by
                                        #1360

                                        @mika :+1:

                                        Now I feel stupid ordering the NRF52 DK for 28€. Well atleast I don't need to worry about bricking any devices.
                                        Do you have an example sketch for the device you can share?
                                        Is it possible to somehow monitor the battery status?

                                        • Tomas
                                        NeverDieN 1 Reply Last reply
                                        0
                                        • korttomaK korttoma

                                          @mika :+1:

                                          Now I feel stupid ordering the NRF52 DK for 28€. Well atleast I don't need to worry about bricking any devices.
                                          Do you have an example sketch for the device you can share?
                                          Is it possible to somehow monitor the battery status?

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

                                          @korttoma said in nRF5 Bluetooth action!:

                                          Is it possible to somehow monitor the battery status?

                                          One of @d00616 's demo sketches allows you to read the voltage that's powering the nRF5. Assuming there is no booster involved on this device (seems unlikely), that would be the same as the battery voltage.

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


                                          22

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          Posts


                                          Copyright 2025 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