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. Hardware
  3. Battery Sensor with stepup and on/off transistor

Battery Sensor with stepup and on/off transistor

Scheduled Pinned Locked Moved Hardware
33 Posts 14 Posters 20.7k Views 8 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.
  • GertSandersG Offline
    GertSandersG Offline
    GertSanders
    Hardware Contributor
    wrote on last edited by
    #20

    If one uses a LiPo battery giving (officially) 3.7V, it could be higher when it is new. I would suggest putting a Schottky diode (like 1N4001 of 1N4007) between positive of battery and VCC of NRF24. This way you force a voltage drop of minimal 0,5V and under load this goes up to 1V. The NRF24 works perfectly fine like this.
    I have a setup where I feed the atmega328p and a SIM800L with 4V, the NRF24 gets around 3.4V at startup, and under load around 3.1V

    AWIA 1 Reply Last reply
    0
    • GertSandersG GertSanders

      If one uses a LiPo battery giving (officially) 3.7V, it could be higher when it is new. I would suggest putting a Schottky diode (like 1N4001 of 1N4007) between positive of battery and VCC of NRF24. This way you force a voltage drop of minimal 0,5V and under load this goes up to 1V. The NRF24 works perfectly fine like this.
      I have a setup where I feed the atmega328p and a SIM800L with 4V, the NRF24 gets around 3.4V at startup, and under load around 3.1V

      AWIA Offline
      AWIA Offline
      AWI
      Hero Member
      wrote on last edited by
      #21

      @GertSanders Sounds like a good (and cheap) way to get in the safe range for the radio when using a Lipo (rechargeable) cell. btw. 1N4001/7 is 'normal' (not Schottky)rectifier diode with ~0.7V drop. This would get the 4.1V (max lipi) to 3.4V. Did you try this with a stable radio performance?

      upload-186040dc-7d4c-487a-8d46-b394d80050ca

      1 Reply Last reply
      0
      • GertSandersG Offline
        GertSandersG Offline
        GertSanders
        Hardware Contributor
        wrote on last edited by GertSanders
        #22

        @AWI: thanks for the rectification ;-). I built a SMS sensor, to see if I could control a relay both via SMS and via the MySensors network. It all needed to fit on a 50x50mm board, so using the diode was a space saving choice. Works very wel indeed.
        I'm using the NRF24 with PA and LNA, so currents go up to 120-140mA. An 1N4001/7 is a bit overkill here, but it does not hurt to over-dimension in this case, and these diodes are cheap and available everywhere.

        Since I'm using a GSM module, I did not need to think about battery use, my setup needs mains power (I'm feeding a DC converter 12VDC, getting 4.1V). For battery based sensors, I'm thinking it could be applicable as well.

        1 Reply Last reply
        0
        • m26872M Offline
          m26872M Offline
          m26872
          Hardware Contributor
          wrote on last edited by
          #23

          Anyone else but me that have heard an annoying audible noise from the 5V step-up? Somehow the quality of the 5V step-up seems a little worse from my experience (don't power the nRF via step-down from this). But, it still can't explain the incredibly high (and continuously increasing) price tag on the 3.3 V step-up, which is a mystery.

          btw I think powering the sensors only as in this thread is really interesting. Even if it's not always economical due to start up time, it could be used for sensors active part time of day. E.g. I'm planning a battery powered PIR only active during night time and expect it to survive longer with a step-up compared to without.

          1 Reply Last reply
          0
          • n3roN n3ro

            @ht81 Hey, the NRF is directly connected to the battery. only the DHT use the stepup.

            i use this stepup: http://www.banggood.com/2Pcs-500mA-DC-DC-1V-5V-Converter-Step-Up-Module-Power-Module-p-945167.html

            Just put a transistor in front of the stepup. this is all :)

            Suresh MaliS Offline
            Suresh MaliS Offline
            Suresh Mali
            wrote on last edited by
            #24

            @n3ro Why would you need a step up for DHT, I am running DHT11 on 3.3v and it work fine.

            n3roN 1 Reply Last reply
            0
            • Suresh MaliS Suresh Mali

              @n3ro Why would you need a step up for DHT, I am running DHT11 on 3.3v and it work fine.

              n3roN Offline
              n3roN Offline
              n3ro
              wrote on last edited by n3ro
              #25

              @Suresh-Mali My sensor node is powered with two AAA Batts. Over the time the voltage drops down to 1,9v.

              The DHT only works with ~3v. so i need the stepup only to power the dht

              i use this setup with my multisensor nodes.
              http://forum.mysensors.org/topic/1514/multisensor_pir_dht_ldr_battery/3

              Without transistor the battery is drained in ~2 month (black line)
              with transistors in ~10 month

              drain.PNG

              pimatic + MySensors + Homeduino + z-way
              https://github.com/n3roGit/MySensors_n3ro

              Suresh MaliS 1 Reply Last reply
              1
              • n3roN n3ro

                @Suresh-Mali My sensor node is powered with two AAA Batts. Over the time the voltage drops down to 1,9v.

                The DHT only works with ~3v. so i need the stepup only to power the dht

                i use this setup with my multisensor nodes.
                http://forum.mysensors.org/topic/1514/multisensor_pir_dht_ldr_battery/3

                Without transistor the battery is drained in ~2 month (black line)
                with transistors in ~10 month

                drain.PNG

                Suresh MaliS Offline
                Suresh MaliS Offline
                Suresh Mali
                wrote on last edited by
                #26

                @n3ro Gr8, makes sense.:+1:

                1 Reply Last reply
                0
                • n3roN Offline
                  n3roN Offline
                  n3ro
                  wrote on last edited by
                  #27

                  Hey togehter,

                  is a battery drain graph like this normal with alkaline batteries?

                  mysensors_batt.PNG

                  regards,
                  n3ro

                  pimatic + MySensors + Homeduino + z-way
                  https://github.com/n3roGit/MySensors_n3ro

                  mfalkviddM 1 Reply Last reply
                  0
                  • n3roN n3ro

                    Hey togehter,

                    is a battery drain graph like this normal with alkaline batteries?

                    mysensors_batt.PNG

                    regards,
                    n3ro

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

                    @n3ro said:

                    is a battery drain graph like this normal with alkaline batteries?

                    If you mean the sudden drop at the end, the answer is yes. This is called a S curve because it looks like a (very stretched) S. That's the typical behavior of most batteries.

                    1 Reply Last reply
                    0
                    • GertSandersG Offline
                      GertSandersG Offline
                      GertSanders
                      Hardware Contributor
                      wrote on last edited by GertSanders
                      #29

                      The fact that you drain the battery in less then 2 months is probably due to the presence detection. I'm assumung this is using passive IR and is always on ? As mentioned by @mfalkvidd the shape is normal.
                      I use the breakout for SI7021 from Aliexpress and these use very little current. Also, there is no need for a step up, as this sensor works down to 1.8V. For light detection I use a LDR and 1MOhm resistor combination connected to a digital pin for power and analog pin for measuring. Works nicely because I let it settle (I first call the SI7021 to get the temperature and check the battery voltage, then I measure the analog value of the LDR. I only need relative values for light, so LDR is more then accurate enough for me.

                      n3roN 1 Reply Last reply
                      0
                      • GertSandersG GertSanders

                        The fact that you drain the battery in less then 2 months is probably due to the presence detection. I'm assumung this is using passive IR and is always on ? As mentioned by @mfalkvidd the shape is normal.
                        I use the breakout for SI7021 from Aliexpress and these use very little current. Also, there is no need for a step up, as this sensor works down to 1.8V. For light detection I use a LDR and 1MOhm resistor combination connected to a digital pin for power and analog pin for measuring. Works nicely because I let it settle (I first call the SI7021 to get the temperature and check the battery voltage, then I measure the analog value of the LDR. I only need relative values for light, so LDR is more then accurate enough for me.

                        n3roN Offline
                        n3roN Offline
                        n3ro
                        wrote on last edited by
                        #30

                        @GertSanders
                        thx :)

                        I have just ordered some SI7021 for testing.

                        My Pir sensors are these ones:
                        http://www.amazon.de/gp/product/B008EGH3FM

                        50 Mikroampere

                        i dont know if this is aktive or passiv :-/

                        regards,
                        n3ro

                        pimatic + MySensors + Homeduino + z-way
                        https://github.com/n3roGit/MySensors_n3ro

                        1 Reply Last reply
                        0
                        • GertSandersG Offline
                          GertSandersG Offline
                          GertSanders
                          Hardware Contributor
                          wrote on last edited by
                          #31

                          It's a passive IR module, and using 50uA, which is about 5 times the average consumption of my temperature/humidity sensors (between 8 and 11 uA depending on the amount of message resends needed).

                          The nice thing about the module you use is the low voltage it needs to work (0.8V <-> 9V).

                          n3roN 1 Reply Last reply
                          0
                          • GertSandersG GertSanders

                            It's a passive IR module, and using 50uA, which is about 5 times the average consumption of my temperature/humidity sensors (between 8 and 11 uA depending on the amount of message resends needed).

                            The nice thing about the module you use is the low voltage it needs to work (0.8V <-> 9V).

                            n3roN Offline
                            n3roN Offline
                            n3ro
                            wrote on last edited by
                            #32

                            @GertSanders said:

                            (0.8V <-> 9V)

                            Yes. I had a few problems with the 5v PIRs. That's why I ordered this.

                            pimatic + MySensors + Homeduino + z-way
                            https://github.com/n3roGit/MySensors_n3ro

                            abmantisA 1 Reply Last reply
                            0
                            • n3roN n3ro

                              @GertSanders said:

                              (0.8V <-> 9V)

                              Yes. I had a few problems with the 5v PIRs. That's why I ordered this.

                              abmantisA Offline
                              abmantisA Offline
                              abmantis
                              wrote on last edited by
                              #33

                              @n3ro Couldn't you power the step-up from one of the arduino's digital pins? Then set the pin to HIGH/LOW to power the sensor on/off?
                              Maybe it draws too much power?

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


                              22

                              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