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. Troubleshooting
  3. 1.4b Radio Transmission(?) Problem Not Present in 1.3b

1.4b Radio Transmission(?) Problem Not Present in 1.3b

Scheduled Pinned Locked Moved Troubleshooting
16 Posts 5 Posters 4.1k Views 2 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.
  • RJ_MakeR Offline
    RJ_MakeR Offline
    RJ_Make
    Hero Member
    wrote on last edited by
    #1

    Ok,
    So I 'upgraded' to 1.4b, and everything upgraded fine, except all my temp sensors would not display in F while on battery power, but worked fine while connected to my computer. The Temps would update just fine. I wound up hard coding the conversion with @hek help.

    So today I build up a relay node on my breadboard, coded everything up and it working great while connected to my computer, but again as soon as it's on battery power, Vera cannot control (send out commands?) the node (Vera buttons don't respond).

    Keep in mine this is not a problem in 1.3b.

    This is what I've discovered:

    • Regulator is sending 3.325vdc, Direct Battery feed is 3.016vdc, and USB wall wart is sending 3.308vdc.

    • When regulator is providing power, FAILS

    • When powered by either direct battery feed or USB wall wart everything works perfectly.

    • Tried different radio's, and regulators (3 radio's and 4 regulators; results are the same.

    • Installed 4.7 cap across vvc and gnd on the radio; results are the same

    Is this really a matter of having too much voltage being sent to the radio causing problems in version 1.4b1 ??

    Is this even fixable on my end?

    RJ_Make

    1 Reply Last reply
    0
    • hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by
      #2

      USB normally gives 5V. Which also is what an attached relay requires to operate. I really don't understand how your USB wall wart can give 3.3VDC?
      I would not recommend driving a relay on battery. It won't last for long.

      RJ_MakeR 1 Reply Last reply
      0
      • hekH hek

        USB normally gives 5V. Which also is what an attached relay requires to operate. I really don't understand how your USB wall wart can give 3.3VDC?
        I would not recommend driving a relay on battery. It won't last for long.

        RJ_MakeR Offline
        RJ_MakeR Offline
        RJ_Make
        Hero Member
        wrote on last edited by
        #3

        @hek
        I'm sorry, those voltage readings are @ the radio vcc pin (the USB source I'm using an FTDI set to 3.3v to connect to the Arduino).

        I don't believe this problem has anything to do with utilizing a battery vs hardwired power source. I don't plan on running this project on battery's, but in my testing I believe I've found a strange problem in 1.4b, as I had the same communication problem with all my temps sensors while on battery power, but not on the other 2 methods after moving to 1.4b

        I think one of 2 things are happening here. The step up regulator IS causing a problem in 1.4b that is not present in 1.3b in my environment. What I'm not sure is if it has to do with the 3.325vdc or some other noise problem the regulator is creating.

        I scrounge up some old batteries, which are @ 2.842vdc and everything is still working, as soon as I use the regulator and the voltage @ the radio is 3.326 (on same batteries) it fails..

        RJ_Make

        hekH 1 Reply Last reply
        0
        • RJ_MakeR RJ_Make

          @hek
          I'm sorry, those voltage readings are @ the radio vcc pin (the USB source I'm using an FTDI set to 3.3v to connect to the Arduino).

          I don't believe this problem has anything to do with utilizing a battery vs hardwired power source. I don't plan on running this project on battery's, but in my testing I believe I've found a strange problem in 1.4b, as I had the same communication problem with all my temps sensors while on battery power, but not on the other 2 methods after moving to 1.4b

          I think one of 2 things are happening here. The step up regulator IS causing a problem in 1.4b that is not present in 1.3b in my environment. What I'm not sure is if it has to do with the 3.325vdc or some other noise problem the regulator is creating.

          I scrounge up some old batteries, which are @ 2.842vdc and everything is still working, as soon as I use the regulator and the voltage @ the radio is 3.326 (on same batteries) it fails..

          hekH Offline
          hekH Offline
          hek
          Admin
          wrote on last edited by
          #4

          @ServiceXp

          The radio messages is sent in bursts in 1.4. This probably uses more power for a short split of a second and the voltage drop may very well be larger.

          RJ_MakeR 1 Reply Last reply
          0
          • hekH hek

            @ServiceXp

            The radio messages is sent in bursts in 1.4. This probably uses more power for a short split of a second and the voltage drop may very well be larger.

            RJ_MakeR Offline
            RJ_MakeR Offline
            RJ_Make
            Hero Member
            wrote on last edited by
            #5

            @hek
            Any way to resolve?. Is there anyway you can build up a 3.3 mini pro with regulated power test bed? I've got to believe that this problem is reproducible.

            In my testing it seems that when the voltage @ the radio's vcc pin is above 3.310vdc we stop communicating properly. When I'm below that level, even down to 2.82vdc proper communication is established.

            RJ_Make

            1 Reply Last reply
            0
            • RJ_MakeR Offline
              RJ_MakeR Offline
              RJ_Make
              Hero Member
              wrote on last edited by
              #6

              @hek
              Ok so it's definitely a voltage problem to the radio in 1.4b.

              Using a 1N5226B Zener Diode and a 22ohm resistor across the regulated supply, I was able to reduce the regulated voltage down to 2.901vdc. and with that we now have communication using the step up regulator.

              I don't know much about electronics and it's interaction between code, but this is the strangest thing I've seen. Not sure how one set of 'firmware' works perfectly fine with higher radio vcc, and another does not.

              If this is reproducible, I guess there will be some hardware changes required for 1.4b.

              RJ_Make

              1 Reply Last reply
              0
              • JohnJ Offline
                JohnJ Offline
                John
                Plugin Developer
                wrote on last edited by
                #7

                Because it is send in bursts it can require more current then when not send in bursts. Can not check because have only a cheap multimeter which does not show maximum currents and is not fast enough to show even the current used.

                Also i have a device with multiple sensors and display where the radio which is getting 3.4something volts from a L78L33AC regulator which is having an regulated input of 5 volts from a power source regulator and it works almost perfectly in the beginning but now perfectly.

                I forgot to put a capacitor between the L78 Vout and RF Vin / ground. But now it is sending happily even when there is current pulled by the display (120>ma when back light is on) at the same time.

                If you have the equipment check if the supplied current is the same in all the configurations. Maybe the regulator is requesting to much current to step up in combination with the radio when sending and the batteries can not supply it.

                My Domotica project: http://www.pidome.org

                RJ_MakeR 1 Reply Last reply
                0
                • JohnJ John

                  Because it is send in bursts it can require more current then when not send in bursts. Can not check because have only a cheap multimeter which does not show maximum currents and is not fast enough to show even the current used.

                  Also i have a device with multiple sensors and display where the radio which is getting 3.4something volts from a L78L33AC regulator which is having an regulated input of 5 volts from a power source regulator and it works almost perfectly in the beginning but now perfectly.

                  I forgot to put a capacitor between the L78 Vout and RF Vin / ground. But now it is sending happily even when there is current pulled by the display (120>ma when back light is on) at the same time.

                  If you have the equipment check if the supplied current is the same in all the configurations. Maybe the regulator is requesting to much current to step up in combination with the radio when sending and the batteries can not supply it.

                  RJ_MakeR Offline
                  RJ_MakeR Offline
                  RJ_Make
                  Hero Member
                  wrote on last edited by
                  #8

                  @John
                  Yeah I only have a Fluke 16, so I can't measure the current while the radio is transmitting either. Are there any alternative step up regulators to the one in the store? http://www.ebay.com/itm/231083181020

                  RJ_Make

                  1 Reply Last reply
                  0
                  • RJ_MakeR Offline
                    RJ_MakeR Offline
                    RJ_Make
                    Hero Member
                    wrote on last edited by
                    #9

                    Looking at the specs on the regulator I listed, I doubt the radio is exceeding 400-600MA?

                    RJ_Make

                    1 Reply Last reply
                    0
                    • RJ_MakeR Offline
                      RJ_MakeR Offline
                      RJ_Make
                      Hero Member
                      wrote on last edited by
                      #10

                      Looks like the NRF24L01 power consumption is WAY below the regulators limit.

                      11.3mA Radio TX at 0dBm
                      12.3mA Radio RX at 2Mbps on-air data-rate

                      RJ_Make

                      YveauxY 1 Reply Last reply
                      0
                      • bjornhallbergB Offline
                        bjornhallbergB Offline
                        bjornhallberg
                        Hero Member
                        wrote on last edited by bjornhallberg
                        #11

                        Yeah those regulators in the Ebay store are probably not great. Decoupling is probably a good idea, but 4.7nF wasn't enough if I recall an earlier discussion correctly. Try 22nF or something like that. Or ceramic? But you can probably run the sensors on just 2x1.5V batteries for the time being, until another regulator is available. That is what I plan to do anyway.

                        The boost modules that @axillent was prototyping can't arrive fast enough :-)

                        YveauxY RJ_MakeR 2 Replies Last reply
                        0
                        • bjornhallbergB bjornhallberg

                          Yeah those regulators in the Ebay store are probably not great. Decoupling is probably a good idea, but 4.7nF wasn't enough if I recall an earlier discussion correctly. Try 22nF or something like that. Or ceramic? But you can probably run the sensors on just 2x1.5V batteries for the time being, until another regulator is available. That is what I plan to do anyway.

                          The boost modules that @axillent was prototyping can't arrive fast enough :-)

                          YveauxY Offline
                          YveauxY Offline
                          Yveaux
                          Mod
                          wrote on last edited by
                          #12

                          @bjornhallberg said:

                          4.7nF wasn't enough if I recall an earlier discussion correctly. Try 22nF or something like that.

                          I guess you mean 4.7uF and 22uF (micro Farad instead of nano Farad)?!

                          http://yveaux.blogspot.nl

                          bjornhallbergB 1 Reply Last reply
                          0
                          • RJ_MakeR RJ_Make

                            Looks like the NRF24L01 power consumption is WAY below the regulators limit.

                            11.3mA Radio TX at 0dBm
                            12.3mA Radio RX at 2Mbps on-air data-rate

                            YveauxY Offline
                            YveauxY Offline
                            Yveaux
                            Mod
                            wrote on last edited by
                            #13

                            @ServiceXp Looks like actual power consumtion is much less. See http://forum.mysensors.org/topic/250/how-do-i-use-the-interrupt/13

                            http://yveaux.blogspot.nl

                            1 Reply Last reply
                            0
                            • JohnJ Offline
                              JohnJ Offline
                              John
                              Plugin Developer
                              wrote on last edited by
                              #14

                              It was just a wild guess, because i personally didn't have any noticeable problems haven't dived deep into to hardware (yet), only software part.

                              My Domotica project: http://www.pidome.org

                              1 Reply Last reply
                              0
                              • YveauxY Yveaux

                                @bjornhallberg said:

                                4.7nF wasn't enough if I recall an earlier discussion correctly. Try 22nF or something like that.

                                I guess you mean 4.7uF and 22uF (micro Farad instead of nano Farad)?!

                                bjornhallbergB Offline
                                bjornhallbergB Offline
                                bjornhallberg
                                Hero Member
                                wrote on last edited by
                                #15

                                @Yveaux Haha, yeah, uF. But I think I remember some thread where we tried larger capacitors with greater success. Basically, the 4.7uF was pretty much useless?

                                1 Reply Last reply
                                0
                                • bjornhallbergB bjornhallberg

                                  Yeah those regulators in the Ebay store are probably not great. Decoupling is probably a good idea, but 4.7nF wasn't enough if I recall an earlier discussion correctly. Try 22nF or something like that. Or ceramic? But you can probably run the sensors on just 2x1.5V batteries for the time being, until another regulator is available. That is what I plan to do anyway.

                                  The boost modules that @axillent was prototyping can't arrive fast enough :-)

                                  RJ_MakeR Offline
                                  RJ_MakeR Offline
                                  RJ_Make
                                  Hero Member
                                  wrote on last edited by
                                  #16

                                  @bjornhallberg

                                  That was it!!!!! I tried 22uF, was still doggie, so I thought why not move up to 47uF ;-) and what do you know, that seems to be the winning value. I have some more testing, but looking pretty good so far.

                                  Thanks everybody for all the suggestions.

                                  RJ_Make

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


                                  17

                                  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