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.3k 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.
  • Nca78N Nca78

    @neverdie I suppose the radio is using the high frequency clock, so it doesn't have any influence ?

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

    @nca78 said in nRF5 Bluetooth action!:

    @neverdie I suppose the radio is using the high frequency clock, so it doesn't have any influence ?

    The LFCLK is required for BLE timing. Without the MCU required more energy to generate (synthetic) or calibrate (RC) the 32kHz signal.

    NeverDieN 1 Reply Last reply
    0
    • d00616D d00616

      @nca78 said in nRF5 Bluetooth action!:

      @neverdie I suppose the radio is using the high frequency clock, so it doesn't have any influence ?

      The LFCLK is required for BLE timing. Without the MCU required more energy to generate (synthetic) or calibrate (RC) the 32kHz signal.

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

      @d00616 said in nRF5 Bluetooth action!:

      @nca78 said in nRF5 Bluetooth action!:

      @neverdie I suppose the radio is using the high frequency clock, so it doesn't have any influence ?

      The LFCLK is required for BLE timing. Without the MCU required more energy to generate (synthetic) or calibrate (RC) the 32kHz signal.

      Since Mysensors isn't using BLE, then it doesn't matter?

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

        Where can i get a Kicad component for Ebyte nrf52832?

        mtiutiuM 1 Reply Last reply
        0
        • T Toyman

          Where can i get a Kicad component for Ebyte nrf52832?

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

          @toyman

          You can find it in my kicad repo: symbol and footprint

          I didn't used it in any design so please double check.

          1 Reply Last reply
          3
          • nagelcN Offline
            nagelcN Offline
            nagelc
            wrote on last edited by nagelc
            #1401

            Any suggestions how can I get serial debug messages out of the NRF52832 (Fanstel BT832)? I can upload the program over the SWD interface. I'm using a black magic probe with the Arduino NRF5 package on Windows 10. I know it works because the node shows up in my controller.

            NeverDieN 1 Reply Last reply
            0
            • nagelcN nagelc

              Any suggestions how can I get serial debug messages out of the NRF52832 (Fanstel BT832)? I can upload the program over the SWD interface. I'm using a black magic probe with the Arduino NRF5 package on Windows 10. I know it works because the node shows up in my controller.

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

              @nagelc said in nRF5 Bluetooth action!:

              Any suggestions how can I get serial debug messages out of the NRF52832 (Fanstel BT832)?

              Define one of the pins as serial TXO. Then connect it to RXI on an FTDI TTL-USB converter and read it that way. That's what I do, and it works.

              nagelcN 1 Reply Last reply
              1
              • NeverDieN NeverDie

                @nagelc said in nRF5 Bluetooth action!:

                Any suggestions how can I get serial debug messages out of the NRF52832 (Fanstel BT832)?

                Define one of the pins as serial TXO. Then connect it to RXI on an FTDI TTL-USB converter and read it that way. That's what I do, and it works.

                nagelcN Offline
                nagelcN Offline
                nagelc
                wrote on last edited by
                #1403

                @neverdie
                Do you define the pins in MyBoardNRF5? In MyBoadNRF5.cpp, I replaced the 0 in the first line with10, thinking this will map Arduino TX0 to P010. This did not seem to work. How do you map the TX0 pin?

                NeverDieN 1 Reply Last reply
                0
                • nagelcN nagelc

                  @neverdie
                  Do you define the pins in MyBoardNRF5? In MyBoadNRF5.cpp, I replaced the 0 in the first line with10, thinking this will map Arduino TX0 to P010. This did not seem to work. How do you map the TX0 pin?

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

                  @nagelc No, you want to change the values in the MyBoardNRF5.h file instead. For an example, see the source code in: https://www.openhardware.io/view/499/10-years-wireless-PIR-Sensor-on-just-one-set-of-3-AAs#tabs-source

                  So, in your case, you'd want:

                  #define PIN_SERIAL_TX       (10)
                  

                  and, to avoid conflicts, make sure that pin P0.10 isn't defined anywhere in the same .h file as something else already. If it is, you may need to change that as well.

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

                    Thanks. I'll give that a try.

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

                      Yesterday, I 've got a mailing from my components' supplier featuring new type of cells, Li-MnO2. The cell has all the features needed for nRF5:

                      • 1200mah capacity
                      • 1.8-3.0v range
                      • low cost (ca. $3)
                      • 41,0 x 24,5 x 5,2 dimensions and, importantly
                      • up to 120mah peak discharge current.

                      The link to manufacturer:
                      http://www.fanso-battery.com/Ultra-thin-Li-MnO2-battery-CP502440-3V1200mAh-pd1905.html

                      Nca78N NeverDieN 2 Replies Last reply
                      0
                      • T Toyman

                        Yesterday, I 've got a mailing from my components' supplier featuring new type of cells, Li-MnO2. The cell has all the features needed for nRF5:

                        • 1200mah capacity
                        • 1.8-3.0v range
                        • low cost (ca. $3)
                        • 41,0 x 24,5 x 5,2 dimensions and, importantly
                        • up to 120mah peak discharge current.

                        The link to manufacturer:
                        http://www.fanso-battery.com/Ultra-thin-Li-MnO2-battery-CP502440-3V1200mAh-pd1905.html

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

                        @toyman said in nRF5 Bluetooth action!:

                        Yesterday, I 've got a mailing from my components' supplier featuring new type of cells, Li-MnO2. The cell has all the features needed for nRF5:

                        • 1200mah capacity
                        • 1.8-3.0v range
                        • low cost (ca. $3)
                        • 41,0 x 24,5 x 5,2 dimensions and, importantly
                        • up to 120mah peak discharge current.

                        The link to manufacturer:
                        http://www.fanso-battery.com/Ultra-thin-Li-MnO2-battery-CP502440-3V1200mAh-pd1905.html

                        Mhmhmh, a disposable battery that you have to solder I can't see it as a good idea for a node...

                        T 1 Reply Last reply
                        0
                        • Nca78N Nca78

                          @toyman said in nRF5 Bluetooth action!:

                          Yesterday, I 've got a mailing from my components' supplier featuring new type of cells, Li-MnO2. The cell has all the features needed for nRF5:

                          • 1200mah capacity
                          • 1.8-3.0v range
                          • low cost (ca. $3)
                          • 41,0 x 24,5 x 5,2 dimensions and, importantly
                          • up to 120mah peak discharge current.

                          The link to manufacturer:
                          http://www.fanso-battery.com/Ultra-thin-Li-MnO2-battery-CP502440-3V1200mAh-pd1905.html

                          Mhmhmh, a disposable battery that you have to solder I can't see it as a good idea for a node...

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

                          @nca78 said in nRF5 Bluetooth action!:

                          @toyman said in nRF5 Bluetooth action!:

                          Yesterday, I 've got a mailing from my components' supplier featuring new type of cells, Li-MnO2. The cell has all the features needed for nRF5:

                          • 1200mah capacity
                          • 1.8-3.0v range
                          • low cost (ca. $3)
                          • 41,0 x 24,5 x 5,2 dimensions and, importantly
                          • up to 120mah peak discharge current.

                          The link to manufacturer:
                          http://www.fanso-battery.com/Ultra-thin-Li-MnO2-battery-CP502440-3V1200mAh-pd1905.html

                          Mhmhmh, a disposable battery that you have to solder I can't see it as a good idea for a node...

                          well, 1200mah will last AT LEAST for a year (two in real life). I have no issues resoldering 2 joints once a year, given it gives AAA capacity in a much smaller package

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

                            Speaking of batteries, I found only one proper holder for holding two CR2032's in series:
                            0_1517497609399_2xCR2032.jpg
                            It turns out you pretty much need the plastic carrier to guarantee that the edge of the button cell doesn't short out against the side of the metal holding bracket.

                            d00616D 1 Reply Last reply
                            0
                            • NeverDieN NeverDie

                              Speaking of batteries, I found only one proper holder for holding two CR2032's in series:
                              0_1517497609399_2xCR2032.jpg
                              It turns out you pretty much need the plastic carrier to guarantee that the edge of the button cell doesn't short out against the side of the metal holding bracket.

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

                              @neverdie said in nRF5 Bluetooth action!:

                              Speaking of batteries, I found only one proper holder for holding two CR2032's in series:

                              There are CR2477 (560mAh) or CR2450 (950mAh) 3V cells. Maybe its's better to handle.

                              NeverDieN 1 Reply Last reply
                              1
                              • T Toyman

                                Yesterday, I 've got a mailing from my components' supplier featuring new type of cells, Li-MnO2. The cell has all the features needed for nRF5:

                                • 1200mah capacity
                                • 1.8-3.0v range
                                • low cost (ca. $3)
                                • 41,0 x 24,5 x 5,2 dimensions and, importantly
                                • up to 120mah peak discharge current.

                                The link to manufacturer:
                                http://www.fanso-battery.com/Ultra-thin-Li-MnO2-battery-CP502440-3V1200mAh-pd1905.html

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

                                @toyman said in nRF5 Bluetooth action!:

                                41,0 x 24,5 x 5,2 dimensions and, importantly

                                Footprint seems kinda large, at least for nodes intended to be small. It trades off length in order to get thin. In contrast, a CR123 is shorter (34.5mm), but thicker (17mm), but can deliver 1.5a continuous (which makes it very tempting for powering a PA):
                                https://www.batteryjunction.com/energizer-cr123a.html
                                On the other hand, when you add the CR123 holder, the length may be comparable.

                                If you decide to try out the fanso, please do let us know how you like it.

                                1 Reply Last reply
                                0
                                • d00616D d00616

                                  @neverdie said in nRF5 Bluetooth action!:

                                  Speaking of batteries, I found only one proper holder for holding two CR2032's in series:

                                  There are CR2477 (560mAh) or CR2450 (950mAh) 3V cells. Maybe its's better to handle.

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

                                  @d00616 said in nRF5 Bluetooth action!:

                                  There are CR2477 (560mAh) or CR2450 (950mAh) 3V cells. Maybe its's better to handle.

                                  Good point. I think maybe the only actual justified use of two CR2032's in series is to power the AM612, which requires a voltage of at least 2.7v.

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

                                    Did someone get an NRF52 working with an ESP8266(ESP32) and successfully connected it to a controller?

                                    Since my controller is something stuffed away in a closet, Id like to have a gateway that's positioned more centralized. An ESP+NRF52832 would be a lovely cost-efficient solution.

                                    NeverDieN 1 Reply Last reply
                                    0
                                    • O Omemanti

                                      Did someone get an NRF52 working with an ESP8266(ESP32) and successfully connected it to a controller?

                                      Since my controller is something stuffed away in a closet, Id like to have a gateway that's positioned more centralized. An ESP+NRF52832 would be a lovely cost-efficient solution.

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

                                      @omemanti said in nRF5 Bluetooth action!:

                                      Did someone get an NRF52 working with an ESP8266(ESP32) and successfully connected it to a controller?

                                      Yes: https://www.openhardware.io/view/491/PA-LNA-nRF52832-ESP-LINK-Shield-for-Wemos-D1-Mini-ESP8266

                                      Works great! :)

                                      O 1 Reply Last reply
                                      0
                                      • NeverDieN NeverDie

                                        @omemanti said in nRF5 Bluetooth action!:

                                        Did someone get an NRF52 working with an ESP8266(ESP32) and successfully connected it to a controller?

                                        Yes: https://www.openhardware.io/view/491/PA-LNA-nRF52832-ESP-LINK-Shield-for-Wemos-D1-Mini-ESP8266

                                        Works great! :)

                                        O Offline
                                        O Offline
                                        Omemanti
                                        wrote on last edited by
                                        #1415

                                        @neverdie ah thnx. I'll try it out with my nodemcu+ebyte

                                        1 Reply Last reply
                                        0
                                        • NeverDieN NeverDie

                                          @nagelc No, you want to change the values in the MyBoardNRF5.h file instead. For an example, see the source code in: https://www.openhardware.io/view/499/10-years-wireless-PIR-Sensor-on-just-one-set-of-3-AAs#tabs-source

                                          So, in your case, you'd want:

                                          #define PIN_SERIAL_TX       (10)
                                          

                                          and, to avoid conflicts, make sure that pin P0.10 isn't defined anywhere in the same .h file as something else already. If it is, you may need to change that as well.

                                          nagelcN Offline
                                          nagelcN Offline
                                          nagelc
                                          wrote on last edited by
                                          #1416

                                          @neverdie
                                          It worked! I used pin 26 as in your example and now can get the debug messages. Also thanks for the many other NRF5 routines you had in the example.

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


                                          18

                                          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