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.9k 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.
  • NeverDieN NeverDie

    @Terrence

    Attractive form factor, but I believe that it's just a beacon. If not, how do you connect it to anything?

    TerrenceT Offline
    TerrenceT Offline
    Terrence
    wrote on last edited by
    #162

    @NeverDie Yes, I got to thinking about that after I pulled the trigger.

    NeverDieN 1 Reply Last reply
    0
    • d00616D d00616

      @Terrence said in Minimalist SAMD21 TQFP32 Pro Mini:

      @NeverDie Thanks for the nrf link, but I liked the units with coin cell better. I purchased 2.

      This module looks great. Both oscillators and the inductor is placed ob board. But the SWDIO and SDCLK are not connected. You can only flash via OTA update. Don't flash MySensors until you have moved the used Flash by NVM driver. The NVM would overwrite the DFU bootloader. It's possible that the nRF5 code needs changes to support running on an nRF5 with Softdevice.

      @scalz is playing/plans to play with Nordics OTA update.

      TerrenceT Offline
      TerrenceT Offline
      Terrence
      wrote on last edited by
      #163

      @d00616 Thanks.

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

        Lastly, I'm quite intrigued by this one, which is an nRF51832, because it is only 11.4mmx9.5mm in size:
        https://www.aliexpress.com/store/product/PTR5528-Fingertip-size-nRF51822-Module-Ultra-Low-Power-Bluetooth-4-0-Low-Energy-RF-Module-Free/130096_1705429590.html?spm=2114.12010108.0.0.TRBTKq

        Has anyone seen anything else which is that small or even smaller?

        d00616D 1 Reply Last reply
        0
        • TerrenceT Terrence

          @NeverDie Yes, I got to thinking about that after I pulled the trigger.

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

          @Terrence
          Maybe you'd like this one (or similar) a little better, as it has some additional sensors already built into it:
          https://www.aliexpress.com/item/Free-Ship-Bluetooth-4-0-temperature-sensor-pressure-sensor-acceleration-sensor-gyroscope-light-nRF51822-bluetooth-4/32705653095.html?spm=2114.10010108.1000013.6.5TTgVd&traffic_analysisId=recommend_2088_3_82199_new&scm=1007.13339.82199.0&pvid=71d80c46-bd50-4ed5-bdc6-1d6253d9e038&tpp=1

          d00616D NeverDieN 2 Replies Last reply
          0
          • NeverDieN NeverDie

            @d00616 said in Minimalist SAMD21 TQFP32 Pro Mini:

            I think it's simpler to use one of the ST-LINK v2 clones. The DK board should be good for development, debugging and current measurement.

            What exactly do I need to do to get it work? I tried it from Windows, and failed. I seem to recall you said you got it to work from Linux after changing a definition. Would you mind showing the steps, or providing a link on how to do that?

            d00616D Offline
            d00616D Offline
            d00616
            Contest Winner
            wrote on last edited by
            #166

            @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

            What exactly do I need to do to get it work? I tried it from Windows, and failed. I seem to recall you said you got it to work from Linux after changing a definition. Would you mind showing the steps, or providing a link on how to do that?

            I have updates my documentation: https://www.openhardware.io/view/376

            I have tested all three programmer types with Windows 10. It looks like Zadig installs the correct drivers for J-Link and ST-Link adapters. The CMSIS-DAP requires the serial driver from mbed.

            NeverDieN 1 Reply Last reply
            2
            • d00616D d00616

              @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

              What exactly do I need to do to get it work? I tried it from Windows, and failed. I seem to recall you said you got it to work from Linux after changing a definition. Would you mind showing the steps, or providing a link on how to do that?

              I have updates my documentation: https://www.openhardware.io/view/376

              I have tested all three programmer types with Windows 10. It looks like Zadig installs the correct drivers for J-Link and ST-Link adapters. The CMSIS-DAP requires the serial driver from mbed.

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

              @d00616
              Thanks! I had been using a computer running Windows 7, and I got no joy with Zadig and st-link v2 on that. However, you just now mentioned Windows 10, so I'll give that a try.

              d00616D 1 Reply Last reply
              0
              • NeverDieN NeverDie

                @Terrence
                Maybe you'd like this one (or similar) a little better, as it has some additional sensors already built into it:
                https://www.aliexpress.com/item/Free-Ship-Bluetooth-4-0-temperature-sensor-pressure-sensor-acceleration-sensor-gyroscope-light-nRF51822-bluetooth-4/32705653095.html?spm=2114.10010108.1000013.6.5TTgVd&traffic_analysisId=recommend_2088_3_82199_new&scm=1007.13339.82199.0&pvid=71d80c46-bd50-4ed5-bdc6-1d6253d9e038&tpp=1

                d00616D Offline
                d00616D Offline
                d00616
                Contest Winner
                wrote on last edited by
                #168

                @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

                Maybe you'd like this one (or similar) a little better, as it has some additional sensors already built into it:

                This is the discussion to this board: https://forum.mysensors.org/topic/6951/nrf5-multi-sensor-board-12-14/1

                1 Reply Last reply
                0
                • NeverDieN NeverDie

                  @d00616
                  Thanks! I had been using a computer running Windows 7, and I got no joy with Zadig and st-link v2 on that. However, you just now mentioned Windows 10, so I'll give that a try.

                  d00616D Offline
                  d00616D Offline
                  d00616
                  Contest Winner
                  wrote on last edited by
                  #169

                  @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

                  hanks! I had been using a computer running Windows 7, and I got no joy with Zadig and st-link v2 on that. However, you just now mentioned Windows 10, so I'll give that a try.

                  I think the best option for beginners is to use an CMSIS-DAP/DAPLink adapter. Firmware and drivers are open source and there is an integrated serial port.

                  The ST-Link adapter is initialized with an ST-Link driver by libwdi. If you have luck you can find an old variant.

                  NeverDieN 3 Replies Last reply
                  0
                  • NeverDieN NeverDie

                    Lastly, I'm quite intrigued by this one, which is an nRF51832, because it is only 11.4mmx9.5mm in size:
                    https://www.aliexpress.com/store/product/PTR5528-Fingertip-size-nRF51822-Module-Ultra-Low-Power-Bluetooth-4-0-Low-Energy-RF-Module-Free/130096_1705429590.html?spm=2114.12010108.0.0.TRBTKq

                    Has anyone seen anything else which is that small or even smaller?

                    d00616D Offline
                    d00616D Offline
                    d00616
                    Contest Winner
                    wrote on last edited by d00616
                    #170

                    @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

                    Has anyone seen anything else which is that small or even smaller?

                    Yes. 9x9mm with antenna: https://de.aliexpress.com/store/product/PTR5628-Nordic-nRF52832-Module-BLE-4-0-Module-Free-shipping/130096_32760971926.html but photo and product description are different. I had a discussion with the manufacterer end of 2016 at this time the module was shown as 9*9mm module. The PTR5628 has no 32kHz oscillator, you have to use the unprecise RC oscillator.

                    NeverDieN 1 Reply Last reply
                    1
                    • d00616D d00616

                      @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

                      Has anyone seen anything else which is that small or even smaller?

                      Yes. 9x9mm with antenna: https://de.aliexpress.com/store/product/PTR5628-Nordic-nRF52832-Module-BLE-4-0-Module-Free-shipping/130096_32760971926.html but photo and product description are different. I had a discussion with the manufacterer end of 2016 at this time the module was shown as 9*9mm module. The PTR5628 has no 32kHz oscillator, you have to use the unprecise RC oscillator.

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

                      @d00616
                      9mmx9mm would be great. However, are you certain? Product description says 15.4mmx15.4mm.

                      Pitty the lack of 32khz crystal, but for a lot of sensor nodes perhaps it won't matter much.

                      I did find this after making my prior post:
                      https://www.aliexpress.com/item/nRF51-M0-Ultra-small-Bluetooth-BLE-Module-4-0-Module-LIS3DH-Support-10-GPIOs/32697055436.html?spm=a2g0s.13010208.99999999.295.t9NHvJ
                      which is allegedly 8.5mmx10.5mm and allegedly does have a 32Khz crystal, but the trade-off is that it's an nRF51832, not an nRF52832.

                      NeverDieN 1 Reply Last reply
                      0
                      • d00616D d00616

                        @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

                        hanks! I had been using a computer running Windows 7, and I got no joy with Zadig and st-link v2 on that. However, you just now mentioned Windows 10, so I'll give that a try.

                        I think the best option for beginners is to use an CMSIS-DAP/DAPLink adapter. Firmware and drivers are open source and there is an integrated serial port.

                        The ST-Link adapter is initialized with an ST-Link driver by libwdi. If you have luck you can find an old variant.

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

                        @d00616 said in Minimalist SAMD21 TQFP32 Pro Mini:

                        I think the best option for beginners is to use an CMSIS-DAP/DAPLink adapter.

                        Thanks for the tip! Based on your recommendation, I ordered this:
                        http://www.adafruit.com/product/2764
                        because I could expedite the shipping.

                        Hopefully it works.

                        1 Reply Last reply
                        0
                        • d00616D d00616

                          @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

                          hanks! I had been using a computer running Windows 7, and I got no joy with Zadig and st-link v2 on that. However, you just now mentioned Windows 10, so I'll give that a try.

                          I think the best option for beginners is to use an CMSIS-DAP/DAPLink adapter. Firmware and drivers are open source and there is an integrated serial port.

                          The ST-Link adapter is initialized with an ST-Link driver by libwdi. If you have luck you can find an old variant.

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

                          @d00616
                          The smallest size I found was this:
                          https://www.aliexpress.com/item/Bluetooth-UART-Wireless-Data-Transceiver-DA14580-Module-for-Arduino/32666222427.html?spm=a2g0s.13010208.99999999.284.fiUAYv
                          It's just 5mmx6.2mm! So, at least the size is very much awesome. It does have an M0 Cortex core, but it's not a Nordic Semi chip: http://www.dialog-semiconductor.com/sites/default/files/da14580_ds_3v4.pdf
                          so I have no idea if, or to what degree, it can be easily programmed from within the familiar Arduino IDE the way the Nordic chips apparently can. Do you happen to know if it would be trivially easy? Or would getting it to work be a project unto itself?

                          Nca78N 1 Reply Last reply
                          0
                          • gohanG gohan

                            what would you use those connectors for?

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

                            @gohan said in Minimalist SAMD21 TQFP32 Pro Mini:

                            what would you use those connectors for?

                            Once outfitted with the connectors, the modules should then fit quite easily into these for prototyping:
                            https://www.aliexpress.com/item/6-X-8CM-spacing-1-27-universal-board-thickness-1-6mm-sided-HASL-PCB-test-board/32774106087.html?spm=a2g0s.13010208.99999999.288.lLgJVv

                            Not sure if there exist 1.27mm pitch breadboards, but I haven't found any on Aliexpress.

                            1 Reply Last reply
                            0
                            • NeverDieN NeverDie

                              @d00616
                              The smallest size I found was this:
                              https://www.aliexpress.com/item/Bluetooth-UART-Wireless-Data-Transceiver-DA14580-Module-for-Arduino/32666222427.html?spm=a2g0s.13010208.99999999.284.fiUAYv
                              It's just 5mmx6.2mm! So, at least the size is very much awesome. It does have an M0 Cortex core, but it's not a Nordic Semi chip: http://www.dialog-semiconductor.com/sites/default/files/da14580_ds_3v4.pdf
                              so I have no idea if, or to what degree, it can be easily programmed from within the familiar Arduino IDE the way the Nordic chips apparently can. Do you happen to know if it would be trivially easy? Or would getting it to work be a project unto itself?

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

                              @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

                              It's just 5mmx6.2mm! So, at least the size is very much awesome. It does have an M0 Cortex core, but it's not a Nordic Semi chip: http://www.dialog-semiconductor.com/sites/default/files/da14580_ds_3v4.pdf
                              so I have no idea if, or to what degree, it can be easily programmed from within the familiar Arduino IDE the way the Nordic chips apparently can. Do you happen to know if it would be trivially easy? Or would getting it to work be a project unto itself?

                              Didn't check in detail but Nordic uses "soft devices", and that's what is compatible with the Arduino platform. That's also why it can work on both NRF51 and NRF52.

                              NeverDieN 1 Reply Last reply
                              0
                              • Nca78N Nca78

                                @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

                                It's just 5mmx6.2mm! So, at least the size is very much awesome. It does have an M0 Cortex core, but it's not a Nordic Semi chip: http://www.dialog-semiconductor.com/sites/default/files/da14580_ds_3v4.pdf
                                so I have no idea if, or to what degree, it can be easily programmed from within the familiar Arduino IDE the way the Nordic chips apparently can. Do you happen to know if it would be trivially easy? Or would getting it to work be a project unto itself?

                                Didn't check in detail but Nordic uses "soft devices", and that's what is compatible with the Arduino platform. That's also why it can work on both NRF51 and NRF52.

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

                                @Nca78

                                Unfortunately, I don't think the da14580 will work with the current mysensors library: it appears to be bluetooth only. I only did a quick speed read of its datasheet, but I didn't see any mention of the Nordic proprietary modes (or anything like them) that the mysensors library relies on.

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

                                  I have ordered one like this. It's pretty small already, less than 2*1cm :
                                  https://www.aliexpress.com/item/nRF51822-04-BLE4-0-WIFI-Wireless-Bluetooth-Module-TTL-Low-Power-Consumption/32682158906.html

                                  It has very limited I/O and is made to be used in addition to a MCU using UART to communicate, but the SWDIO and SWDCLK pins are broken out so I will see if I can reprogram it.
                                  It has a datasheet to at least get a valid footprint (as I don't plan to use the serial protocol) :
                                  https://4tronix.co.uk/picobot2/WT51822-S4AT.pdf

                                  And it has been featured on Nordic's website where they say it's supposed to have FCC certification (and CE too, but that's just declarative...).
                                  http://www.nordicsemi.com/node_206/node_305/Product-Related-News/Nordic-powered-Bluetooth-Smart-module-simplifies-development-of-wireless-wearables-toys-and-smart-home-solutions

                                  They also claim a 50m range which is way better than the 10m of the da14580 you link above.

                                  So if it can be reprogrammed without problem it looks like a perfect candidate for basic nodes like door, I2C etc

                                  NeverDieN 1 Reply Last reply
                                  0
                                  • Nca78N Nca78

                                    I have ordered one like this. It's pretty small already, less than 2*1cm :
                                    https://www.aliexpress.com/item/nRF51822-04-BLE4-0-WIFI-Wireless-Bluetooth-Module-TTL-Low-Power-Consumption/32682158906.html

                                    It has very limited I/O and is made to be used in addition to a MCU using UART to communicate, but the SWDIO and SWDCLK pins are broken out so I will see if I can reprogram it.
                                    It has a datasheet to at least get a valid footprint (as I don't plan to use the serial protocol) :
                                    https://4tronix.co.uk/picobot2/WT51822-S4AT.pdf

                                    And it has been featured on Nordic's website where they say it's supposed to have FCC certification (and CE too, but that's just declarative...).
                                    http://www.nordicsemi.com/node_206/node_305/Product-Related-News/Nordic-powered-Bluetooth-Smart-module-simplifies-development-of-wireless-wearables-toys-and-smart-home-solutions

                                    They also claim a 50m range which is way better than the 10m of the da14580 you link above.

                                    So if it can be reprogrammed without problem it looks like a perfect candidate for basic nodes like door, I2C etc

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

                                    @Nca78

                                    Both the price and size are certainly nice. I think d00616 would probably point out that it lacks a 32Khz crystal, but since I lack experience with the nRF5's, I don't know how significant that is or isn't. Anyone know?

                                    BTW, it would also be nice to know whether or not the OTA sketch upload capability will work on an nRF51, or only an nRF52 (and also whether it will work on an nRF52832 or only the future nRF52840). Anyone know?

                                    Nca78N 1 Reply Last reply
                                    0
                                    • NeverDieN NeverDie

                                      @Nca78

                                      Both the price and size are certainly nice. I think d00616 would probably point out that it lacks a 32Khz crystal, but since I lack experience with the nRF5's, I don't know how significant that is or isn't. Anyone know?

                                      BTW, it would also be nice to know whether or not the OTA sketch upload capability will work on an nRF51, or only an nRF52 (and also whether it will work on an nRF52832 or only the future nRF52840). Anyone know?

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

                                      @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

                                      @Nca78

                                      Both the price and size are certainly nice. I think d00616 would probably point out that it lacks a 32Khz crystal, but since I lack experience with the nRF5's, I don't know how significant that is or isn't. Anyone know?

                                      Right, it sucks for low power at it needs recalibration every 4 seconds to stay accurate enough, generating 10uA extra consumption. But I'm not sure if this is needed for bluetooth only (because it has to wake up regularly and listen during a precise time window), or also for "nrf24" mode because in that mode we don't need to be precise or regular listenin.

                                      d00616D 1 Reply Last reply
                                      2
                                      • Nca78N Nca78

                                        @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

                                        @Nca78

                                        Both the price and size are certainly nice. I think d00616 would probably point out that it lacks a 32Khz crystal, but since I lack experience with the nRF5's, I don't know how significant that is or isn't. Anyone know?

                                        Right, it sucks for low power at it needs recalibration every 4 seconds to stay accurate enough, generating 10uA extra consumption. But I'm not sure if this is needed for bluetooth only (because it has to wake up regularly and listen during a precise time window), or also for "nrf24" mode because in that mode we don't need to be precise or regular listenin.

                                        d00616D Offline
                                        d00616D Offline
                                        d00616
                                        Contest Winner
                                        wrote on last edited by
                                        #180

                                        @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

                                        BTW, it would also be nice to know whether or not the OTA sketch upload capability will work on an nRF51, or only an nRF52 (and also whether it will work on an nRF52832 or only the future nRF52840). Anyone know?

                                        Nordic's DFU bootloader is also working with nRF51 chips. https://devzone.nordicsemi.com/documentation/nrf51/4.4.1/html/group__bootloader__dfu__description.html

                                        At the moment the MySensors implementation is not compatible with a SoftDevice. This requires to change interrupts, use some SoftDevice system calls and move the NVM driver Flash area out of the DFU bootloader area.

                                        I have started a new thread for OTA update discussion: https://forum.mysensors.org/topic/7146/nrf5-ota-updates

                                        @Nca78 said in Minimalist SAMD21 TQFP32 Pro Mini:

                                        Right, it sucks for low power at it needs recalibration every 4 seconds to stay accurate enough, generating 10uA extra consumption. But I'm not sure if this is needed for bluetooth only (because it has to wake up regularly and listen during a precise time window), or also for "nrf24" mode because in that mode we don't need to be precise or regular listenin.

                                        That's correct. If required, the calibration task must be implemented or is part of the SoftDevice. At the moment the radio doesn't require a precise RTC for nRF24 compatibility. For battery powered sensors listening for commands a time slotted protocol is required. Then this protocol relies on a precise RTC.

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

                                          I'm leaning more toward the nRF52 platform over the nRF51, in part for its superior range but also because I'm guessing it will be a little easier for the person who is implementing the OTA sketch uploads to implement it first on an nRF52 (more resources, less constrained).

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


                                          11

                                          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