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.8k 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
    #647

    I was able to program the tiny nRF51822 (earlier photograph above) by programming it as an xxaa Generic nRF51 with an RC oscillator.

    Nice!

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

      Here's a close-up photo:
      0_1503098146155_tinynRF51.jpg

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

        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.

        d00616D 1 Reply Last reply
        0
        • NeverDieN NeverDie

          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.

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

          @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 1 Reply Last reply
          1
          • 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 Offline
                            mfalkviddM Offline
                            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
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          5

                                          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