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.
  • scalzS Offline
    scalzS Offline
    scalz
    Hardware Contributor
    wrote on last edited by scalz
    #558

    @NeverDie i have no problem with my aeos (nrf52) and i2c so far. only tested the onboard sensors.

    agree, in case, you can use a software i2c lib.

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

      On the 10F supercap, the infor-link module was losing about 0.025v per hour, and that included it reporting its voltage every 5 minutes. So, I've hooked it up to a mini solar panel now so that the supercap will charge during daytime, and with that it should run in perpetuity. :)

      mfalkviddM 1 Reply Last reply
      3
      • NeverDieN NeverDie

        On the 10F supercap, the infor-link module was losing about 0.025v per hour, and that included it reporting its voltage every 5 minutes. So, I've hooked it up to a mini solar panel now so that the supercap will charge during daytime, and with that it should run in perpetuity. :)

        mfalkviddM Offline
        mfalkviddM Offline
        mfalkvidd
        Mod
        wrote on last edited by
        #560

        @NeverDie nice results! What kind of overcharge protection are you using?

        NeverDieN 1 Reply Last reply
        0
        • mfalkviddM mfalkvidd

          @NeverDie nice results! What kind of overcharge protection are you using?

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

          @mfalkvidd said in nRF5 Bluetooth action!:

          @NeverDie nice results! What kind of overcharge protection are you using?

          A 2.7v LDO. Very low quiescent current of just 1ua.

          mfalkviddM 1 Reply Last reply
          1
          • NeverDieN NeverDie

            @mfalkvidd said in nRF5 Bluetooth action!:

            @NeverDie nice results! What kind of overcharge protection are you using?

            A 2.7v LDO. Very low quiescent current of just 1ua.

            mfalkviddM Offline
            mfalkviddM Offline
            mfalkvidd
            Mod
            wrote on last edited by
            #562

            @NeverDie thanks. My first supercap is on the way so I'm looking forward to build something with it.

            1 Reply Last reply
            1
            • rmtuckerR rmtucker

              @NeverDie
              yes but it would take 4-6weeks and i was impatient so thought i would start with what i could get.
              But it seems it does not work on either looking at some of the other issues on sandeeps github.

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

              @rmtucker
              I notice someone on AliExpress is selling a similar concept for the nRF52832 to what you're using for the nRF51:
              https://www.aliexpress.com/item/NRF52832-Development-Board-NRF52832-Test-Board-Bluetooth-BLE4-2/32824948546.html?spm=2114.search0104.3.1.YoEIHi&ws_ab_test=searchweb0_0,searchweb201602_4_10152_10065_10151_10068_10130_5430020_5410020_10307_10137_10060_10155_10154_5370011_10056_10055_10054_10059_100031_10099_5400020_10103_10102_10052_10053_10142_10107_10050_10051_5380020_5390020_10084_10083_10119_10080_10082_10081_10178_10110_10111_10112_10113_10114_10312_10313_10314_10315_10078_10079_10073_10120_5420011,searchweb201603_19,ppcSwitch_4&btsid=abd93cae-a709-47f9-989d-0c52b4cde846&algo_expid=450d3875-3c65-41c4-99a8-0a2b5eb4479e-0&algo_pvid=450d3875-3c65-41c4-99a8-0a2b5eb4479e&transAbTest=ae803_3

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

                I did another sleep current measurement, this time on a Ebyte module that I had mounted to one of my breakout boards. The sleep current measured between 8ua and 9ua. However, it would jump considerably higher depending on whether I was moving or otherwise close to it. I got the lower measurements by positioning myself about 6 feet away (further than that and it gets hard to read the multimeter that's connected to the uCurrent Gold). I've never seen this kind of behavior before in anything other than the nrf52832 boards. Very curious. They're acting almost like proximity detectors. I have no idea what to make of it, but I thought I'd report it in case anyone else here is doing measurements too.

                Also, I'm going to avoid exposing the IO pins to voltages that approach Vcc in magnitude. Despite what the datasheet says, they don't seem to handle it well.

                rmtuckerR 1 Reply Last reply
                0
                • M Mike_Lemo

                  Does anybody know why the function tone() doesn't work for the nrf52?

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

                  @Mike_Lemo said in nRF5 Bluetooth action!:

                  Does anybody know why the function tone() doesn't work for the nrf52?

                  tone() and other things like NFC are implemented with the new Arduino Primo board. There is no MySensors support at the moment because the Primo comes with the SoftDevice which doesn't allow accessing the complete hardware without using the SoftDevice API, which is not implemented.

                  1 Reply Last reply
                  0
                  • NeverDieN NeverDie

                    I did another sleep current measurement, this time on a Ebyte module that I had mounted to one of my breakout boards. The sleep current measured between 8ua and 9ua. However, it would jump considerably higher depending on whether I was moving or otherwise close to it. I got the lower measurements by positioning myself about 6 feet away (further than that and it gets hard to read the multimeter that's connected to the uCurrent Gold). I've never seen this kind of behavior before in anything other than the nrf52832 boards. Very curious. They're acting almost like proximity detectors. I have no idea what to make of it, but I thought I'd report it in case anyone else here is doing measurements too.

                    Also, I'm going to avoid exposing the IO pins to voltages that approach Vcc in magnitude. Despite what the datasheet says, they don't seem to handle it well.

                    rmtuckerR Offline
                    rmtuckerR Offline
                    rmtucker
                    wrote on last edited by rmtucker
                    #566

                    @NeverDie

                    What you using for pcb design?
                    I would like to design something for the waveshare core board to plug into similar to what you just designed for the nrf52832 modules to adapt to 2.54mm pitch headers.
                    0_1502221830970_upload-3b01b675-529e-4554-8142-f232a7d3e827

                    Similar to what you did here but with two sockets on top for the waveshare board.
                    https://www.openhardware.io/view/436/nRF52832-Breakout-Board

                    NeverDieN T 2 Replies Last reply
                    0
                    • rmtuckerR rmtucker

                      @NeverDie

                      What you using for pcb design?
                      I would like to design something for the waveshare core board to plug into similar to what you just designed for the nrf52832 modules to adapt to 2.54mm pitch headers.
                      0_1502221830970_upload-3b01b675-529e-4554-8142-f232a7d3e827

                      Similar to what you did here but with two sockets on top for the waveshare board.
                      https://www.openhardware.io/view/436/nRF52832-Breakout-Board

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

                      @rmtucker said in nRF5 Bluetooth action!:

                      What you using for pcb design?

                      Diptrace.

                      Very easy to learn. Watch this tutorial series, and in a little more than an hour you'll know enough to use it for doing real work: https://www.youtube.com/playlist?list=PLWy-YwxbAu8EkNv6iMsfLeH6Yahcwejwx

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

                        @rmtucker said in nRF5 Bluetooth action!:

                        What you using for pcb design?

                        However, if you have the time to invest, you might want to learn KiCAD instead (http://kicad-pcb.org/). It's open source and free.

                        My only real concern about Diptrace is that sharing source files is very, very difficult. Eagle is much better for that, it seems. I'm guessing KiCAD is also good with that, but I can't say that I know for sure.

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

                          If I was starting, it would be with Kicad.

                          NeverDieN 1 Reply Last reply
                          0
                          • Nca78N Nca78

                            If I was starting, it would be with Kicad.

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

                            @Nca78
                            Is it easy to share source files in KiCAD?

                            Nca78N 1 Reply Last reply
                            0
                            • NeverDieN NeverDie

                              @Nca78
                              Is it easy to share source files in KiCAD?

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

                              @NeverDie in KiCAD format, I suppose :D But even if it's not easy at least anyone can download Kicad and open them to at have a look without beeing block if you have more than two layers, or too big board.
                              I'm still using Eagle at the moment, it's the most common software but the changes made in what you can do with the free licence + limitation of PCB size are annoying. At some point I'll have to be strong and make the move to KiCAD...

                              1 Reply Last reply
                              0
                              • rmtuckerR rmtucker

                                @NeverDie

                                What you using for pcb design?
                                I would like to design something for the waveshare core board to plug into similar to what you just designed for the nrf52832 modules to adapt to 2.54mm pitch headers.
                                0_1502221830970_upload-3b01b675-529e-4554-8142-f232a7d3e827

                                Similar to what you did here but with two sockets on top for the waveshare board.
                                https://www.openhardware.io/view/436/nRF52832-Breakout-Board

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

                                @rmtucker

                                before you design your own board:

                                https://ru.aliexpress.com/item/Free-shipping-1pcs-NRF51822-development-board-ble4-0-Bluetooth-module-development-board-2-4G-low-power/32596438101.html?spm=a2g0v.search0204.3.73.ZtUmwF&ws_ab_test=searchweb0_0,searchweb201602_1_10152_10065_10151_10068_10209_10307_10301_10137_10060_439_10155_10154_10056_10055_10054_10059_100031_10099_10103_10102_10169_10052_10053_10142_10107_10050_10051_10084_10083_10080_10082_10081_10110_10111_10112_10113_10114_10311_10312_10313_10314_10315_10078_10079_10210_10073_10125,searchweb201603_19,ppcSwitch_7_ppcChannel&btsid=df5cc403-0dac-4fab-842a-646caeb0e554&algo_expid=230ba6b9-0318-4b2a-b991-a91aafb9b85f-9&algo_pvid=230ba6b9-0318-4b2a-b991-a91aafb9b85f

                                rmtuckerR 1 Reply Last reply
                                0
                                • T Toyman

                                  @rmtucker

                                  before you design your own board:

                                  https://ru.aliexpress.com/item/Free-shipping-1pcs-NRF51822-development-board-ble4-0-Bluetooth-module-development-board-2-4G-low-power/32596438101.html?spm=a2g0v.search0204.3.73.ZtUmwF&ws_ab_test=searchweb0_0,searchweb201602_1_10152_10065_10151_10068_10209_10307_10301_10137_10060_439_10155_10154_10056_10055_10054_10059_100031_10099_10103_10102_10169_10052_10053_10142_10107_10050_10051_10084_10083_10080_10082_10081_10110_10111_10112_10113_10114_10311_10312_10313_10314_10315_10078_10079_10210_10073_10125,searchweb201603_19,ppcSwitch_7_ppcChannel&btsid=df5cc403-0dac-4fab-842a-646caeb0e554&algo_expid=230ba6b9-0318-4b2a-b991-a91aafb9b85f-9&algo_pvid=230ba6b9-0318-4b2a-b991-a91aafb9b85f

                                  rmtuckerR Offline
                                  rmtuckerR Offline
                                  rmtucker
                                  wrote on last edited by
                                  #573

                                  @Toyman
                                  Yes i am already running that board at the moment.
                                  But that board consumes around 140uA when sleeping.
                                  It must be the extra electronics like the regulator and uart.
                                  even when feeding the core board with 3.3v directly.
                                  When the core board is on its own it only measures 5uA when sleeping.

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

                                    This nRF52832 module looks to be pretty small, and it has both oscillators on it.

                                    It appears that it forces you to use an external antenna though.
                                    https://www.aliexpress.com/item/NRF52832-Bluetooth-4-2-Module-BLE-Low-Power-Bluetooth-External-Antenna/32825850305.html?spm=2114.search0104.3.2.Ehd1fQ&ws_ab_test=searchweb0_0,searchweb201602_4_10152_10065_10151_10130_10068_5400011_10307_10137_10060_10155_10154_5370011_10056_10055_10054_10059_5380011_100031_10099_10103_10102_5410017_5430017_10052_10053_10142_10107_10050_10051_10084_10083_10119_10080_10082_10081_10178_10110_10111_10112_5390011_10113_10114_10312_10313_10314_10315_10078_10079_5420017_10073_10120,searchweb201603_2,ppcSwitch_4&btsid=2d85e0d1-50d7-434b-b096-286b0eb3b893&algo_expid=ef23bd47-74f5-4531-93b6-4883f068a6b4-0&algo_pvid=ef23bd47-74f5-4531-93b6-4883f068a6b4&transAbTest=ae803_3

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

                                      Help needed!! I am trying to program nrf51822 with Black Magic Probe , but BMP is not recognized by Arduino IDE.
                                      I can do everything in gdb, e.g. do mass erase, upload soft device etc, but BMP is simply not listed in programmers' list in Arduino IDE so I can't upload sketches.

                                      rmtuckerR 1 Reply Last reply
                                      0
                                      • T Toyman

                                        Help needed!! I am trying to program nrf51822 with Black Magic Probe , but BMP is not recognized by Arduino IDE.
                                        I can do everything in gdb, e.g. do mass erase, upload soft device etc, but BMP is simply not listed in programmers' list in Arduino IDE so I can't upload sketches.

                                        rmtuckerR Offline
                                        rmtuckerR Offline
                                        rmtucker
                                        wrote on last edited by rmtucker
                                        #576

                                        Could anyone tell me why the waveshare board is pulling 140uA when sleeping with everything unpugged including the usb and all the header jumpers so only 3.3v and ground fed to the header pins so not using the regulator etc.
                                        I have attached a link to the schematic hoping some circuit wiz might be able to explain.
                                        link text

                                        If i unplug the core board and just power that with 3.3v and gnd it only uses 5uA when sleeping.

                                        mtiutiuM 1 Reply Last reply
                                        0
                                        • rmtuckerR rmtucker

                                          Could anyone tell me why the waveshare board is pulling 140uA when sleeping with everything unpugged including the usb and all the header jumpers so only 3.3v and ground fed to the header pins so not using the regulator etc.
                                          I have attached a link to the schematic hoping some circuit wiz might be able to explain.
                                          link text

                                          If i unplug the core board and just power that with 3.3v and gnd it only uses 5uA when sleeping.

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

                                          @rmtucker

                                          Even if you're not using the regulator and the CP2102 usb-serial converter there are some leakage currents which are caused by the output stages of those IC's. For example the output stage of the voltage regulator can draw some even if it's not powered. The CP2102 can draw also through the TXD1/RXD1/SUSPEND1 LEDs and the associated GPIO pins P0.11, P0.09, etc.

                                          So to prove and test that the above it's true you need to:

                                          1. Desolder the RT9193-33 or at least its output pin(Vout pin 5)
                                          2. Desolder R6, R7, R10

                                          This is what I can conclude by looking at that schematic. Any other opinions?

                                          NeverDieN 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