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.
  • rmtuckerR Offline
    rmtuckerR Offline
    rmtucker
    wrote on last edited by
    #651

    Just in case anyone uses the waveshare ble400 board.
    The board was consuming 150uA when fed with 3.3v bypassing the regulator.
    I have cut through one of the tracks and now it is only consuming 4-5uA and it can still be used normally with the usb lead 5v as long as i place a dupont link across 2 pins.
    If anyone needs photo's let me know.

    1 Reply Last reply
    0
    • d00616D d00616

      @NeverDie said in nRF5 Bluetooth action!:

      FWIW, range on the tiny nRF51822 does seem compromised when compared against larger sized nRF52832 modules. Not really surprising, but I had hoped it might be a little better than it is.

      This is an idea, I don't know if this helps. The two pins near the antenna are GND. Try to solder an 3cm isolated wire to the pin near your PCB and route it parallel of your pcb away from the nRF51 board. The extends the GND pane size.

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

      @d00616 said in nRF5 Bluetooth action!:

      @NeverDie said in nRF5 Bluetooth action!:

      FWIW, range on the tiny nRF51822 does seem compromised when compared against larger sized nRF52832 modules. Not really surprising, but I had hoped it might be a little better than it is.

      This is an idea, I don't know if this helps. The two pins near the antenna are GND. Try to solder an 3cm isolated wire to the pin near your PCB and route it parallel of your pcb away from the nRF51 board. The extends the GND pane size.

      I'll give it a try. Is your idea to make it like a dipole antenna?

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

        @d00616
        Is this what you had in mind?
        0_1503148850641_bipolar.jpg

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

          Also, there are a couple of what look like large solder pads on the back of the PCB. I have no idea what they're for. Anyone know or care to guess?
          0_1503149224079_pads.jpg

          NeverDieN 1 Reply Last reply
          0
          • scalzS scalz

            I don't think sendSignalStrength function is implemented yet, but you should be able to get this info with:

            int16_t transportGetSendingRSSI(void)
            int16_t transportGetReceivingRSSI(void)
            
            rmtuckerR Offline
            rmtuckerR Offline
            rmtucker
            wrote on last edited by
            #655

            @scalz said in nRF5 Bluetooth action!:

            I don't think sendSignalStrength function is implemented yet, but you should be able to get this info with:

            int16_t transportGetSendingRSSI(void)
            int16_t transportGetReceivingRSSI(void)
            

            Just wondering what both of these mean?
            I assumed the transportGetReceivingRSSI(void) was the strength of signal from my Gateway ?
            But what is the transportGetSendingRSSI(void)?

            d00616D 1 Reply Last reply
            0
            • rmtuckerR rmtucker

              @scalz said in nRF5 Bluetooth action!:

              I don't think sendSignalStrength function is implemented yet, but you should be able to get this info with:

              int16_t transportGetSendingRSSI(void)
              int16_t transportGetReceivingRSSI(void)
              

              Just wondering what both of these mean?
              I assumed the transportGetReceivingRSSI(void) was the strength of signal from my Gateway ?
              But what is the transportGetSendingRSSI(void)?

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

              @rmtucker said in nRF5 Bluetooth action!:

              But what is the transportGetSendingRSSI(void)?

              This is the RSSI of the receiver. With nRF5 it's part of the ACK payload.

              1 Reply Last reply
              1
              • rmtuckerR Offline
                rmtuckerR Offline
                rmtucker
                wrote on last edited by rmtucker
                #657

                Out of curiosity i stuck a cake tin over the top of the node and it just carried on transmitting,so i put it behind 4 walls and 1 floor down then behind the fuse box and consumer unit and eventually got it to drop to -68dB for received rssi but send rssi stayed at -45dB so it seems to be booming out and in.😉

                1 Reply Last reply
                0
                • NeverDieN NeverDie

                  @d00616
                  Is this what you had in mind?
                  0_1503148850641_bipolar.jpg

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

                  0_1503148850641_bipolar.jpg

                  Results: I don't think it made the link worse, but it's not obvious that it made the link better either. Range seems about the same.

                  Even more surprising: prior to adding this piece of wire, I didn't notice much improvement when I went from 2Mbps at Tx 0db to 250kbps at Tx 4db either. I had really thought it would be a tangible improvement in range, but if there was any improvement (and I'm not sure that there was), it seemed like only a modest amount.

                  Conclusions/recommendations/suggestions/comments?

                  mfalkviddM 1 Reply Last reply
                  0
                  • NeverDieN NeverDie

                    0_1503148850641_bipolar.jpg

                    Results: I don't think it made the link worse, but it's not obvious that it made the link better either. Range seems about the same.

                    Even more surprising: prior to adding this piece of wire, I didn't notice much improvement when I went from 2Mbps at Tx 0db to 250kbps at Tx 4db either. I had really thought it would be a tangible improvement in range, but if there was any improvement (and I'm not sure that there was), it seemed like only a modest amount.

                    Conclusions/recommendations/suggestions/comments?

                    mfalkviddM Online
                    mfalkviddM Online
                    mfalkvidd
                    Mod
                    wrote on last edited by
                    #659

                    @NeverDie I don't know how much work is needed to make this work with nrf5, but @Yveaux has created a range tester that might be useful. https://github.com/Yveaux/MySensorsRangeTest

                    It does use MySensors though, so it might provide more overhead than the bare-bone functionality you are looking for.

                    1 Reply Last reply
                    1
                    • scalzS Offline
                      scalzS Offline
                      scalz
                      Hardware Contributor
                      wrote on last edited by scalz
                      #660

                      @NeverDie is your wire soldered to gnd?? if so, i would have soldered it to the antenna transmission line, as a monopole, with taking care of disabling the pcb antenna. i guess you're trying sort of dipole, but one branch is meandered/"coiled" so not sure if that would improve a lot like you noticed..

                      NeverDieN 1 Reply Last reply
                      1
                      • scalzS scalz

                        @NeverDie is your wire soldered to gnd?? if so, i would have soldered it to the antenna transmission line, as a monopole, with taking care of disabling the pcb antenna. i guess you're trying sort of dipole, but one branch is meandered/"coiled" so not sure if that would improve a lot like you noticed..

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

                        @scalz said in nRF5 Bluetooth action!:

                        @NeverDie is your wire soldered to gnd?? if so, i would have soldered it to the antenna transmission line, as a monopole, with taking care of disabling the pcb antenna. i guess you're trying sort of dipole, but one branch is meandered/"coiled" so not sure if that would improve a lot like you noticed..

                        In this instance, I don't see a way to attach to the actual antenna. On some boards I see a little hole where a wire can be attached. On this one, I guess maybe it could be done by carefully scraping off the solder mask and then soldering to the trace.... Its a gamble though: t would be all too easy to scrape off the trace in the process.

                        Anyhow, enlarging the footprint of the board kinda defeats the purpose of its small size. I think maybe it just is what it is, and the relatively poor performance explains its relatively low price.

                        Maybe what would rescue it is an adequate ground plane on whatever PCB it attaches to. For instance, I'm thinking it might be a nice match for a "Chirp" soil moisture sensor, which maybe (I'd have to look) has a long--though narrow--ground plane. Making the Chirp wireless would be a nice upgrade. :) It has an attiny MCU, which (unless someone knows differently) isn't enough to control, say, an SMD nRF24l01. I suppose it could be redesigned to use an atmega328p (which would be preferable), but you can already buy cheap pre-made attiny Chirps from China, so there's an argument for leveraging that instead by attaching maybe this cheap wireless module to it.

                        1 Reply Last reply
                        0
                        • NeverDieN NeverDie

                          Also, there are a couple of what look like large solder pads on the back of the PCB. I have no idea what they're for. Anyone know or care to guess?
                          0_1503149224079_pads.jpg

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

                          Interesting discovery! Despite what you would think from the look of them (especially the one on the left), the two large solder pads both have continuity to ground.

                          So, I'm hypothesizing that both are meant to be soldered to a larger ground plane on whatever PCB the module is soldered to.

                          0_1503149224079_pads.jpg

                          1 Reply Last reply
                          1
                          • scalzS Offline
                            scalzS Offline
                            scalz
                            Hardware Contributor
                            wrote on last edited by scalz
                            #663

                            @NeverDie
                            i would have unsoldered the last pad of the passive before the antenna feed point to disable it, and would have soldered the wire antenna to passive, so without scratching anything ;) but i have no idea about nrf51 range, i'm not using this mcu :simple_smile:
                            I have my own design for soil moisture..not really interested by "chirp" like sensors, but i agree nrf52 are nice mcu.

                            NeverDieN 1 Reply Last reply
                            1
                            • scalzS scalz

                              @NeverDie
                              i would have unsoldered the last pad of the passive before the antenna feed point to disable it, and would have soldered the wire antenna to passive, so without scratching anything ;) but i have no idea about nrf51 range, i'm not using this mcu :simple_smile:
                              I have my own design for soil moisture..not really interested by "chirp" like sensors, but i agree nrf52 are nice mcu.

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

                              @scalz said in nRF5 Bluetooth action!:

                              @NeverDie
                              i would have unsoldered the last pad of the passive before the antenna feed point to disable it, and would have soldered the wire antenna to passive, so without scratching anything ;) but i have no idea about nrf51 range, i'm not using this mcu :simple_smile:
                              I have my own design for soil moisture..not really interested by "chirp" like sensors, but i agree nrf52 are nice mcu.

                              If you feel like posting it, I'd certainly be interested in a good soil moisture sensor. :)

                              This is the only nRF51 I've tried, but @rmtucker seems to be getting good range (beyond his garden) with his nRF51. I previously drank the Kool-aid and thought the nRF52 generally performs better, but I'm not I'm not really sure anymore.

                              rmtuckerR 1 Reply Last reply
                              0
                              • NeverDieN NeverDie

                                @scalz said in nRF5 Bluetooth action!:

                                @NeverDie
                                i would have unsoldered the last pad of the passive before the antenna feed point to disable it, and would have soldered the wire antenna to passive, so without scratching anything ;) but i have no idea about nrf51 range, i'm not using this mcu :simple_smile:
                                I have my own design for soil moisture..not really interested by "chirp" like sensors, but i agree nrf52 are nice mcu.

                                If you feel like posting it, I'd certainly be interested in a good soil moisture sensor. :)

                                This is the only nRF51 I've tried, but @rmtucker seems to be getting good range (beyond his garden) with his nRF51. I previously drank the Kool-aid and thought the nRF52 generally performs better, but I'm not I'm not really sure anymore.

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

                                @NeverDie
                                What are you using at the other end,just a standard nrf24 or the amplified version.
                                I switched to rfm69 some time ago because of poor range/coverage.
                                But i am astounded with the nrf51 and wemos/nrf24 pa setup.
                                Maybe it is the tin foil wrapping Lol.😃

                                rmtuckerR NeverDieN 2 Replies Last reply
                                0
                                • rmtuckerR rmtucker

                                  @NeverDie
                                  What are you using at the other end,just a standard nrf24 or the amplified version.
                                  I switched to rfm69 some time ago because of poor range/coverage.
                                  But i am astounded with the nrf51 and wemos/nrf24 pa setup.
                                  Maybe it is the tin foil wrapping Lol.😃

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

                                  @rmtucker
                                  I did eventually manage to stop it by putting it in the fridge.
                                  My other half has never laughed so much.😃😃

                                  NeverDieN rmtuckerR 2 Replies Last reply
                                  0
                                  • rmtuckerR rmtucker

                                    @rmtucker
                                    I did eventually manage to stop it by putting it in the fridge.
                                    My other half has never laughed so much.😃😃

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

                                    @rmtucker said in nRF5 Bluetooth action!:

                                    @rmtucker
                                    I did eventually manage to stop it by putting it in the fridge.
                                    My other half has never laughed so much.😃😃

                                    If you switch to Lithium batteries (I'm partial to the Energizer AA's because they have good datasheets), your node should still work even in the freezer.

                                    1 Reply Last reply
                                    0
                                    • rmtuckerR rmtucker

                                      @NeverDie
                                      What are you using at the other end,just a standard nrf24 or the amplified version.
                                      I switched to rfm69 some time ago because of poor range/coverage.
                                      But i am astounded with the nrf51 and wemos/nrf24 pa setup.
                                      Maybe it is the tin foil wrapping Lol.😃

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

                                      @rmtucker said in nRF5 Bluetooth action!:

                                      @NeverDie
                                      What are you using at the other end,just a standard nrf24 or the amplified version.
                                      I switched to rfm69 some time ago because of poor range/coverage.
                                      But i am astounded with the nrf51 and wemos/nrf24 pa setup.
                                      Maybe it is the tin foil wrapping Lol.😃

                                      I did it both ways when with datarates of 250kbps and 1Mbps, but when I upgraded the nRF52832 to 2Mbps, the connection stopped working. For expediency, I switched to an nRF52 DK as the gateway, rather than debug the nRF24 just then. Eventually I'll circle back and try to figure out what the problem is/was with the 2Mbps on the nRF24's. So, the nRF52 DK is what I'm presently using.

                                      1 Reply Last reply
                                      0
                                      • rmtuckerR rmtucker

                                        @rmtucker
                                        I did eventually manage to stop it by putting it in the fridge.
                                        My other half has never laughed so much.😃😃

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

                                        @rmtucker
                                        On the supercapacitor subject.
                                        Nick Gammon used a 0.47uf 5.5v capacitor and you have been trying a 10uf 2.7v.
                                        So i was going to try a 4uf 5.5v super cap and an mcp1700-33 to power the nrf at 3.3v.
                                        I was going to charge the supercap initially with an adjustable dc-dc converter set to 5v while experimenting,anyone see a problem?

                                        NeverDieN 2 Replies Last reply
                                        0
                                        • rmtuckerR rmtucker

                                          @rmtucker
                                          On the supercapacitor subject.
                                          Nick Gammon used a 0.47uf 5.5v capacitor and you have been trying a 10uf 2.7v.
                                          So i was going to try a 4uf 5.5v super cap and an mcp1700-33 to power the nrf at 3.3v.
                                          I was going to charge the supercap initially with an adjustable dc-dc converter set to 5v while experimenting,anyone see a problem?

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

                                          @rmtucker said in nRF5 Bluetooth action!:

                                          @rmtucker
                                          On the supercapacitor subject.
                                          Nick Gammon used a 0.47uf 5.5v capacitor and you have been trying a 10uf 2.7v.
                                          So i was going to try a 4uf 5.5v super cap and an mcp1700-33 to power the nrf at 3.3v.
                                          I was going to charge the supercap initially with an adjustable dc-dc converter set to 5v while experimenting,anyone see a problem?

                                          I'm assuming Nick Gammon was using not an Nordic radio but just an atmega chip? I don't think you'll get much runtime on a 0.47uF supercap, nor a 4uF supercap, because of the radio.

                                          On the plus side, it should charge up almost instantly. :)

                                          On the other hand, 100uF should be enough to send at least one packet. I haven't tried that low an amount on the nrf52, but I have done it with a 100uF (charged to 2.7v) powering an atmega328p+RFM69 combo.

                                          rmtuckerR 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