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

    I found I could improve reception from the Adafruit nRF52832 Feather by using an PA+LNA boosted nRF24L01. So, although this feels a bit like a step backward, it's at least workable and fairly cheap. Also, it need only go onto a gateway, thereby allowing other motes to potentially use smaller nRF5 modules. :)

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

    I have this on order to serve the purpose:
    https://www.aliexpress.com/item/E01-ML01DP5-Ebyte-2-4GHz-20dBm-2100m-nRF24L01-SPI-Wireless-transceiver-module/32638720689.html
    though yesterday I tested the idea using one of these:
    https://www.aliexpress.com/item/Smart-Electronics-1Set-2-4G-1100-Meters-Long-Distance-NRF24L01-PA-LNA-Wireless-Transceiver-Communication-Modules/32707423150.html?spm=2114.search0204.3.105.TGUiz5&ws_ab_test=searchweb0_0,searchweb201602_4_10152_10065_10151_10068_10130_10084_10083_10080_10082_10081_10110_10178_10137_10111_10060_10112_10113_10155_10114_10154_438_10056_10055_10054_10182_10059_100031_10099_10078_10079_10103_10073_10102_5360020_10189_10052_10053_10142_10107_10050_10051-10111,searchweb201603_5,ppcSwitch_4_ppcChannel&btsid=a7086a85-885c-430a-a6db-e8f80171efc1&algo_expid=959e3532-756a-47c5-8de7-461b096da1d9-10&algo_pvid=959e3532-756a-47c5-8de7-461b096da1d9

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

      Here's a demo of the high speed feature of nRF52 on a Samsung S8 phone:
      https://devzone.nordicsemi.com/blogs/1106/bluetooth-5-2mbps-demo-with-nrf52-series-and-samsu/

      It occurs to me now how much more interesting this will get when phones later have the nRF52840 in them and can do long range bluetooth communication.

      1 Reply Last reply
      0
      • NeverDieN NeverDie

        I have this on order to serve the purpose:
        https://www.aliexpress.com/item/E01-ML01DP5-Ebyte-2-4GHz-20dBm-2100m-nRF24L01-SPI-Wireless-transceiver-module/32638720689.html
        though yesterday I tested the idea using one of these:
        https://www.aliexpress.com/item/Smart-Electronics-1Set-2-4G-1100-Meters-Long-Distance-NRF24L01-PA-LNA-Wireless-Transceiver-Communication-Modules/32707423150.html?spm=2114.search0204.3.105.TGUiz5&ws_ab_test=searchweb0_0,searchweb201602_4_10152_10065_10151_10068_10130_10084_10083_10080_10082_10081_10110_10178_10137_10111_10060_10112_10113_10155_10114_10154_438_10056_10055_10054_10182_10059_100031_10099_10078_10079_10103_10073_10102_5360020_10189_10052_10053_10142_10107_10050_10051-10111,searchweb201603_5,ppcSwitch_4_ppcChannel&btsid=a7086a85-885c-430a-a6db-e8f80171efc1&algo_expid=959e3532-756a-47c5-8de7-461b096da1d9-10&algo_pvid=959e3532-756a-47c5-8de7-461b096da1d9

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

        @NeverDie >>1100-Meters Long-Distance

        That would be impressive.

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

          https://www.openhardware.io/view/436

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

            Maybe @sundberg84 could take inspiration for his easy pcb 😀

            1 Reply Last reply
            1
            • M Offline
              M Offline
              Mike_Lemo
              wrote on last edited by
              #252

              how'd you program this blank nrf52832 chip with an SWD programmer like the ST link v2 what programming environment to use and so on?

              NeverDieN mtiutiuM 2 Replies Last reply
              0
              • M Mike_Lemo

                how'd you program this blank nrf52832 chip with an SWD programmer like the ST link v2 what programming environment to use and so on?

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

                @Mike_Lemo
                I had no luck using the ST link v2 from Windows. You might be luckier, or you might try using it from Linux. However, as discussed above, I have had success using the nRF52832 DK and the Arduino IDE from Windows. That's how I intend to program the nRF52832 module using the breakout board I posted above.

                1 Reply Last reply
                0
                • M Mike_Lemo

                  how'd you program this blank nrf52832 chip with an SWD programmer like the ST link v2 what programming environment to use and so on?

                  mtiutiuM Offline
                  mtiutiuM Offline
                  mtiutiu
                  Hardware Contributor
                  wrote on last edited by mtiutiu
                  #254

                  @Mike_Lemo

                  I used the Arduino IDE with sandeepmistry arduino core installed and I managed to program a nrf51822 module with success. I used a cheap st-link programmer from AliExpress. I don't know about nrf52832 as I don't have one. But I don't see why it wouldn't work. You need 4 wires: Vdd(3.3V), GND, SWD and SWCLK.
                  From Arduino IDE you need to select st-link as programmer.
                  It uses openocd under the hood to do the work and it worked both on Windows and Linux. On Linux you might need to set udev rules for allowing regular user to use the st-link.

                  NeverDieN M 2 Replies Last reply
                  1
                  • mtiutiuM mtiutiu

                    @Mike_Lemo

                    I used the Arduino IDE with sandeepmistry arduino core installed and I managed to program a nrf51822 module with success. I used a cheap st-link programmer from AliExpress. I don't know about nrf52832 as I don't have one. But I don't see why it wouldn't work. You need 4 wires: Vdd(3.3V), GND, SWD and SWCLK.
                    From Arduino IDE you need to select st-link as programmer.
                    It uses openocd under the hood to do the work and it worked both on Windows and Linux. On Linux you might need to set udev rules for allowing regular user to use the st-link.

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

                    @mtiutiu said in nRF5 Bluetooth action!:

                    I managed to program a nrf51822 module with success.

                    Did you power the nrf51822 through the st-link programmer, or did you power it independently?

                    mtiutiuM 1 Reply Last reply
                    0
                    • mtiutiuM mtiutiu

                      @Mike_Lemo

                      I used the Arduino IDE with sandeepmistry arduino core installed and I managed to program a nrf51822 module with success. I used a cheap st-link programmer from AliExpress. I don't know about nrf52832 as I don't have one. But I don't see why it wouldn't work. You need 4 wires: Vdd(3.3V), GND, SWD and SWCLK.
                      From Arduino IDE you need to select st-link as programmer.
                      It uses openocd under the hood to do the work and it worked both on Windows and Linux. On Linux you might need to set udev rules for allowing regular user to use the st-link.

                      M Offline
                      M Offline
                      Mike_Lemo
                      wrote on last edited by
                      #256

                      @mtiutiu And when you want to program an independent chip with the ST link V2 do you just chose "generic nrf52"?

                      Also how is it possible to connect between through two NRF52s in slave master config?
                      Is it possible to take advantage of the NFC functionality with that programming environment?

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

                        Good news! I received my second nRF52832 DK today, so now I can have a DK on both ends of a link. Bottom line: I ran some quick tests, and it has much better range than the Adafruit nRF52832 Feather.

                        Whew! What a relief. The Adafruit had very disappointing range. In contrast, and as expected, the two DK's have better range than regular nRF24L01+ radios.

                        M 1 Reply Last reply
                        1
                        • NeverDieN NeverDie

                          Good news! I received my second nRF52832 DK today, so now I can have a DK on both ends of a link. Bottom line: I ran some quick tests, and it has much better range than the Adafruit nRF52832 Feather.

                          Whew! What a relief. The Adafruit had very disappointing range. In contrast, and as expected, the two DK's have better range than regular nRF24L01+ radios.

                          M Offline
                          M Offline
                          Mike_Lemo
                          wrote on last edited by
                          #258

                          @NeverDie How did you manage to send and receive data between these two units? may you share the code with us?

                          NeverDieN 1 Reply Last reply
                          0
                          • M Mike_Lemo

                            @NeverDie How did you manage to send and receive data between these two units? may you share the code with us?

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

                            @Mike_Lemo
                            I'm simply using the GatewaySerial and the LightSensor sketches from the mysensors developers release. Just make the following change in each sketch:

                            //#define MY_RADIO_NRF24
                            #define MY_RADIO_NRF5_ESB
                            
                            1 Reply Last reply
                            0
                            • NeverDieN NeverDie

                              @mtiutiu said in nRF5 Bluetooth action!:

                              I managed to program a nrf51822 module with success.

                              Did you power the nrf51822 through the st-link programmer, or did you power it independently?

                              mtiutiuM Offline
                              mtiutiuM Offline
                              mtiutiu
                              Hardware Contributor
                              wrote on last edited by
                              #260

                              @NeverDie

                              Powered from st-link programmer.

                              1 Reply Last reply
                              0
                              • M Mike_Lemo

                                @mtiutiu And when you want to program an independent chip with the ST link V2 do you just chose "generic nrf52"?

                                Also how is it possible to connect between through two NRF52s in slave master config?
                                Is it possible to take advantage of the NFC functionality with that programming environment?

                                mtiutiuM Offline
                                mtiutiuM Offline
                                mtiutiu
                                Hardware Contributor
                                wrote on last edited by mtiutiu
                                #261

                                @Mike_Lemo

                                I used generic and no soft device as Mysensors doesn't use soft devices. I don't know about master-slave, didn't used such a configuration.

                                You need to create another variant for other pin definitions as this is the way arduino framework works as far as I know.

                                Never used NFC so I can't give you hints on that, sorry.

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

                                  Looks as though these guys came up with a fairly easy way to develop using actual bluetooth low energy: http://mklec.com/project-kits/kd-circuits/bluetooth-low-energy-board-anaren-A20737-module

                                  Unfortunately, I don't believe it runs on the nRF5 though.

                                  1 Reply Last reply
                                  0
                                  • NeverDieN NeverDie

                                    Looks as though the nRF52832 sparkfun board has more of a conventional trace antenna:
                                    0_1500297066787_sparkfun_nRF52832_antenna.png
                                    though isn't it somewhat odd that it appears to also be directly connected to the ground plane(?), or at least a copper pour. Is that normal? This was one of the images produced by sending their .BRD file to oshpark, so that I could get a look at the antenna.

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

                                    More good news! I was able to program a Sparkfun nrf52832 board using the DK, and its range is better than the Adafruit nRF52832 Feather and also better than an nRF24L01+.

                                    So, my provisional conclusion is to avoid chip antennas, such as Adafruit is using, if better range is desired.

                                    @NeverDie said in nRF5 Bluetooth action!:

                                    Looks as though the nRF52832 sparkfun board has more of a conventional trace antenna:
                                    0_1500297066787_sparkfun_nRF52832_antenna.png
                                    though isn't it somewhat odd that it appears to also be directly connected to the ground plane(?), or at least a copper pour. Is that normal? This was one of the images produced by sending their .BRD file to oshpark, so that I could get a look at the antenna.

                                    Also, this now gives me a "known good" platform, namely the Sparkfun nRF52832 board, to order PCB's for and try to see if I can successfully solder on any of the bonus nRF52832 chips I received with my two DK's.

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

                                      Apparently you can now run micropython on an nRF52832 board:
                                      https://www.youtube.com/watch?v=50ImTDRREnU

                                      It's still early days, but it sounds like fun. For one thing, since it's a dynamic language, OTA updates should be easy!

                                      TerrenceT 1 Reply Last reply
                                      0
                                      • NeverDieN NeverDie

                                        Apparently you can now run micropython on an nRF52832 board:
                                        https://www.youtube.com/watch?v=50ImTDRREnU

                                        It's still early days, but it sounds like fun. For one thing, since it's a dynamic language, OTA updates should be easy!

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

                                        @NeverDie Wow, that it really good news. I was following Tony's videos on mpy on the ESP chips, but had not checked back lately.

                                        1 Reply 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 NeverDie
                                          #266

                                          @Nca78 said in nRF5 Bluetooth action!:

                                          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...

                                          You were right: I received both the ebay and the aliexpress packages today. Even for e-packet, that's pretty fast shipping! In fact, they arrived before any of the other items I ordered from other vendors. So, at least that part went well.

                                          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