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 Offline
    NeverDieN Offline
    NeverDie
    Hero Member
    wrote on last edited by NeverDie
    #191

    In case anyone else either has, or is thinking of getting, the nRF52832 DK, it looks as though there is indeed a way to use its programmer to program an offboard nRF52832 without desoldering the nRF52832 that's on the DK. Here's the existence proof photo where an 832 DK is being used to program Sparkfun's nRF52832 breakout board over the two SW lines:
    alt text
    The caption reads "For faster programming, an nRF52832 Development Kit can be used to program the nRF52832 Breakout Board."
    I haven't yet found the instructions on how to do it though.

    1 Reply Last reply
    0
    • NeverDieN NeverDie

      @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 Offline
      NeverDieN Offline
      NeverDie
      Hero Member
      wrote on last edited by
      #192

      @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

      @d00616
      9mmx9mm would be great. However, are you certain?

      I'm convinced! I pulled this picture off the FCC website, and, indeed, it is 9x9mm:
      alt text
      (https://fccid.io/2AA72-PTR5628)

      So, thanks for mentioning its size, or else I never would have known!

      NeverDieN 1 Reply Last reply
      0
      • NeverDieN NeverDie

        @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

        @d00616
        9mmx9mm would be great. However, are you certain?

        I'm convinced! I pulled this picture off the FCC website, and, indeed, it is 9x9mm:
        alt text
        (https://fccid.io/2AA72-PTR5628)

        So, thanks for mentioning its size, or else I never would have known!

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

        So, what's the smallest nRF52 module that also includes a 32Khz crystal? I think I might want to standardize as much as possible on a single module rather than juggle a bunch of different ones.

        d00616D 2 Replies Last reply
        0
        • NeverDieN NeverDie

          So, what's the smallest nRF52 module that also includes a 32Khz crystal? I think I might want to standardize as much as possible on a single module rather than juggle a bunch of different ones.

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

          @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

          So, what's the smallest nRF52 module that also includes a 32Khz crystal? I think I might want to standardize as much as possible on a single module rather than juggle a bunch of different ones.

          What do you think about creating an table with known modules including integrated hardware, available ports and size?

          I think, most small modules comes without 32kHz crystal. This is mostly an option. Maybe for the 9x9mm module. But I think the antenna is no good choice for indoor usage.

          I have a lot of RedBear BLE Nano 2 (18x21mm) modules. It's complete including 32Khz crystal and a 3-13V voltage converter. With 2.54mm pins it's easy to solder.

          I have asked the manufacturer(cdebyte) of the nice nRF24 and nRF52 modules if it's possible to build an module including the nRF52, an RGB LED, an button and 5V protected inputs with the layout like the popular nRF24 modules plus two optional pins (6/8 IO Ports!). I think such type of nRF52 module makes it easy to migrate to 32 Bit using existing boards or build new boards.

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

            I just now noticed that Ebyte also has a storefront on aliexpress.
            https://cdebyte.aliexpress.com/store/2077046?spm=2114.12010108.0.0.7Yid4a
            For me, it's much better than ebay, because it includes free e-packet delivery to the US. So, unlike ebay, I will hopefully get their modules much sooner than September! The estimated delivery time from Ebyte if ordered through Aliexpress is 12-20 days. :)
            https://www.aliexpress.com/store/product/CDEBYTE-E73-2G4M04S-BLE-4-2-5-0-long-distance-100m-2-4GHz-SMD-ARM-Core/2077046_32820692238.html?spm=2114.12010615.0.0.TZClHR

            [Edit: Also, on Aliexpress, Ebyte gives a coupon for $5 off if you order >$45]

            Nca78N 1 Reply Last reply
            0
            • NeverDieN NeverDie

              I just now noticed that Ebyte also has a storefront on aliexpress.
              https://cdebyte.aliexpress.com/store/2077046?spm=2114.12010108.0.0.7Yid4a
              For me, it's much better than ebay, because it includes free e-packet delivery to the US. So, unlike ebay, I will hopefully get their modules much sooner than September! The estimated delivery time from Ebyte if ordered through Aliexpress is 12-20 days. :)
              https://www.aliexpress.com/store/product/CDEBYTE-E73-2G4M04S-BLE-4-2-5-0-long-distance-100m-2-4GHz-SMD-ARM-Core/2077046_32820692238.html?spm=2114.12010615.0.0.TZClHR

              [Edit: Also, on Aliexpress, Ebyte gives a coupon for $5 off if you order >$45]

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

              @NeverDie yes noticed their shop only 2 days ago and feeling frustrated now :D
              For shipment delay I wouldn't be surprised if they shipped the same way with free option and it would just be a different way to state the delay on the 2 websites...

              NeverDieN 2 Replies Last reply
              0
              • Nca78N Nca78

                @NeverDie yes noticed their shop only 2 days ago and feeling frustrated now :D
                For shipment delay I wouldn't be surprised if they shipped the same way with free option and it would just be a different way to state the delay on the 2 websites...

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

                @Nca78
                We'll soon know. I ordered Ebyte products from both Ebay and Aliexpress, and I'll take note of when each order arrives.

                1 Reply Last reply
                0
                • NeverDieN NeverDie

                  So, what's the smallest nRF52 module that also includes a 32Khz crystal? I think I might want to standardize as much as possible on a single module rather than juggle a bunch of different ones.

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

                  @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

                  So, what's the smallest nRF52 module that also includes a 32Khz crystal? I think I might want to standardize as much as possible on a single module rather than juggle a bunch of different ones.

                  I have found the Raytec Modules. http://www.raytac.com/products.php?id=1
                  The smallest one is the MDBT42V 8,4x6,4x1,5mm with PCB antenna and 80m range in open space.

                  This module https://www.mtmtech.com.tw/M905.html is 6.5 ✕ 6.5 x 1.1 mm

                  Nca78N 1 Reply Last reply
                  1
                  • d00616D d00616

                    @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

                    So, what's the smallest nRF52 module that also includes a 32Khz crystal? I think I might want to standardize as much as possible on a single module rather than juggle a bunch of different ones.

                    I have found the Raytec Modules. http://www.raytac.com/products.php?id=1
                    The smallest one is the MDBT42V 8,4x6,4x1,5mm with PCB antenna and 80m range in open space.

                    This module https://www.mtmtech.com.tw/M905.html is 6.5 ✕ 6.5 x 1.1 mm

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

                    @d00616 said in Minimalist SAMD21 TQFP32 Pro Mini:

                    @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

                    So, what's the smallest nRF52 module that also includes a 32Khz crystal? I think I might want to standardize as much as possible on a single module rather than juggle a bunch of different ones.

                    I have found the Raytec Modules. http://www.raytac.com/products.php?id=1
                    The smallest one is the MDBT42V 8,4x6,4x1,5mm with PCB antenna and 80m range in open space.

                    This module https://www.mtmtech.com.tw/M905.html is 6.5 ✕ 6.5 x 1.1 mm

                    M905 is impressive, but with connectors at the bottom it's impossible to hand solder...
                    Raytac module is what scalz used for the prototype of his "Aeos" board, pretty small but he didn't look so happy with the range.

                    NeverDieN 1 Reply Last reply
                    1
                    • TerrenceT Offline
                      TerrenceT Offline
                      Terrence
                      wrote on last edited by
                      #200

                      Guys, when you start using these 832 chips are you going to be programming via Bluetooth or just using the radios in some other way?

                      NeverDieN 1 Reply Last reply
                      0
                      • TerrenceT Terrence

                        Guys, when you start using these 832 chips are you going to be programming via Bluetooth or just using the radios in some other way?

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

                        @Terrence said in Minimalist SAMD21 TQFP32 Pro Mini:

                        Guys, when you start using these 832 chips are you going to be programming via Bluetooth or just using the radios in some other way?

                        I'd like to see the work extended to include Bluetooth. Nearly everything has bluetooth these days, so leveraging that would seem to make a lot of sense. I just don't know where to start.

                        TerrenceT 1 Reply Last reply
                        0
                        • NeverDieN NeverDie

                          @Terrence said in Minimalist SAMD21 TQFP32 Pro Mini:

                          Guys, when you start using these 832 chips are you going to be programming via Bluetooth or just using the radios in some other way?

                          I'd like to see the work extended to include Bluetooth. Nearly everything has bluetooth these days, so leveraging that would seem to make a lot of sense. I just don't know where to start.

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

                          @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

                          Nearly everything has bluetooth these days, so leveraging that would seem to make a lot of sense. I just don't know where to start

                          I agree.
                          I have done a little bit of BT programming. It seems pretty complex, but I am sure that will change once we immerse our attention in it.

                          NeverDieN 1 Reply Last reply
                          0
                          • TerrenceT Terrence

                            @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

                            Nearly everything has bluetooth these days, so leveraging that would seem to make a lot of sense. I just don't know where to start

                            I agree.
                            I have done a little bit of BT programming. It seems pretty complex, but I am sure that will change once we immerse our attention in it.

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

                            I'd like to see an extremely basic script that simply has two bluetooth nodes talking back and forth to one another (maybe just increment a counter on each turn and send just that). If we could get that simple activity working, then I suspect the rest could follow more easily.

                            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

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

                              Or there's this from Arduino: http://www.ebay.com/itm/Arduino-Primo-Core-MCU-nRF52832-ARM-32-bit-64MHz-ESP8266-WiFi-BT-BLE-A0000138-/122599125462?hash=item1c8b7a31d6:g:LQkAAOSwmFNZaQRe

                              TerrenceT 1 Reply Last reply
                              0
                              • NeverDieN NeverDie

                                Or there's this from Arduino: http://www.ebay.com/itm/Arduino-Primo-Core-MCU-nRF52832-ARM-32-bit-64MHz-ESP8266-WiFi-BT-BLE-A0000138-/122599125462?hash=item1c8b7a31d6:g:LQkAAOSwmFNZaQRe

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

                                @NeverDie Here is Kris's great looking board over on Tindie for $40
                                https://www.tindie.com/products/onehorse/nrf52832-development-board/

                                And his great GitHub repo showing how to program it.
                                https://github.com/kriswiner/nRF52832DevBoard

                                And Sandeep Mistry's Arduino core lib
                                https://github.com/sandeepmistry/arduino-nRF5

                                I am going to try and contact Kris and see if he will come over and join us.

                                NeverDieN 1 Reply Last reply
                                1
                                • TerrenceT Terrence

                                  @NeverDie Here is Kris's great looking board over on Tindie for $40
                                  https://www.tindie.com/products/onehorse/nrf52832-development-board/

                                  And his great GitHub repo showing how to program it.
                                  https://github.com/kriswiner/nRF52832DevBoard

                                  And Sandeep Mistry's Arduino core lib
                                  https://github.com/sandeepmistry/arduino-nRF5

                                  I am going to try and contact Kris and see if he will come over and join us.

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

                                  @Terrence

                                  All the bluetooth sketches that I've heard of so far boil down to a bluetooth node communicating with your smartphone. That's great, and I'm glad for that, but it seems more like a wireless GUI than the internet of things.

                                  TerrenceT 1 Reply Last reply
                                  1
                                  • Nca78N Nca78

                                    @d00616 said in Minimalist SAMD21 TQFP32 Pro Mini:

                                    @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

                                    So, what's the smallest nRF52 module that also includes a 32Khz crystal? I think I might want to standardize as much as possible on a single module rather than juggle a bunch of different ones.

                                    I have found the Raytec Modules. http://www.raytac.com/products.php?id=1
                                    The smallest one is the MDBT42V 8,4x6,4x1,5mm with PCB antenna and 80m range in open space.

                                    This module https://www.mtmtech.com.tw/M905.html is 6.5 ✕ 6.5 x 1.1 mm

                                    M905 is impressive, but with connectors at the bottom it's impossible to hand solder...
                                    Raytac module is what scalz used for the prototype of his "Aeos" board, pretty small but he didn't look so happy with the range.

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

                                    @Nca78 said in Minimalist SAMD21 TQFP32 Pro Mini:

                                    @d00616 said in Minimalist SAMD21 TQFP32 Pro Mini:

                                    @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

                                    So, what's the smallest nRF52 module that also includes a 32Khz crystal? I think I might want to standardize as much as possible on a single module rather than juggle a bunch of different ones.

                                    I have found the Raytec Modules. http://www.raytac.com/products.php?id=1
                                    The smallest one is the MDBT42V 8,4x6,4x1,5mm with PCB antenna and 80m range in open space.

                                    This module https://www.mtmtech.com.tw/M905.html is 6.5 ✕ 6.5 x 1.1 mm

                                    M905 is impressive, but with connectors at the bottom it's impossible to hand solder...
                                    Raytac module is what scalz used for the prototype of his "Aeos" board, pretty small but he didn't look so happy with the range.

                                    What's great is that both nodes are built around the Nordic nRF52, so the software still works.

                                    With such a small antenna on the small Raytac node, at least some impairment is probably unavoidable. @Scalz How many dBm are lost because of it?

                                    Regarding the M905, if there were some company that could simply solder the M905 to a PCB of the same size with castellated pins along the edges.... we'd be set, because we could then hand solder to that. I have no idea what that would cost or what the minimum batch size would have to be for it to make economic sense. Maybe someone here knows about such things? Perhaps it's something that Itead or one of the mysensors manufacturing partners could comment on or do?

                                    1 Reply Last reply
                                    0
                                    • NeverDieN NeverDie

                                      @Terrence

                                      All the bluetooth sketches that I've heard of so far boil down to a bluetooth node communicating with your smartphone. That's great, and I'm glad for that, but it seems more like a wireless GUI than the internet of things.

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

                                      @NeverDie Here is a repo from Seeed showing master and slave comms.

                                      https://github.com/Seeed-Studio/Bluetooth_Shield_Demo_Code/tree/master/examples

                                      Oh and it looks like Kris posted his dev board on ohw.io
                                      https://forum.mysensors.org/topic/7160/nrf52-development-board

                                      1 Reply Last reply
                                      1
                                      • d00616D d00616

                                        @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

                                        So, what's the smallest nRF52 module that also includes a 32Khz crystal? I think I might want to standardize as much as possible on a single module rather than juggle a bunch of different ones.

                                        What do you think about creating an table with known modules including integrated hardware, available ports and size?

                                        I think, most small modules comes without 32kHz crystal. This is mostly an option. Maybe for the 9x9mm module. But I think the antenna is no good choice for indoor usage.

                                        I have a lot of RedBear BLE Nano 2 (18x21mm) modules. It's complete including 32Khz crystal and a 3-13V voltage converter. With 2.54mm pins it's easy to solder.

                                        I have asked the manufacturer(cdebyte) of the nice nRF24 and nRF52 modules if it's possible to build an module including the nRF52, an RGB LED, an button and 5V protected inputs with the layout like the popular nRF24 modules plus two optional pins (6/8 IO Ports!). I think such type of nRF52 module makes it easy to migrate to 32 Bit using existing boards or build new boards.

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

                                        @d00616 said in Minimalist SAMD21 TQFP32 Pro Mini:

                                        I have a lot of RedBear BLE Nano 2 (18x21mm) modules. It's complete including 32Khz crystal and a 3-13V voltage converter. With 2.54mm pins it's easy to solder.

                                        Sounds like a good way to get started, as well as build quick prototypes.

                                        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
                                          #210

                                          @d00616 said in Minimalist SAMD21 TQFP32 Pro Mini:

                                          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.

                                          Is this how to wire up a CMSIS-DAP to the nRF52832?
                                          alt text

                                          i.e. it's the same as a j-tag wiring setup, except that you add the serial Rx and Tx lines?

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


                                          13

                                          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