Would a 7805 5v regulator drain a 9v battery?Cost effective way to convert 12v DC to 7.6v DC @2AHow do you run a 5v MCU circuit on a 12v car battery?Can a linear regulator in shutdown mode have the output in parallel with a switching regulatorCurrent limiting voltage regulator to power 12VDC fansRough Battery (9V Alkaline) Level Estimation with Analogue ReadingWhich kind of regulator/battery setup should I use for 5 volt microcontroller and transmitter circuitry for optimum performance?Battery bank designHow can software give an accurate estimation of remaining usage time for a worn battery?Is a regulator necessary?Boost converter with battery issues

How useful is the GRE Exam?

Testing thermite for chemical properties

Fill the maze with a wall-following Snake until it gets stuck

High-end PC graphics circa 1990?

Why can't I craft scaffolding in Minecraft 1.14?

How to comprehend this notation?

Leaving job close to major deadlines

Time at 1G acceleration to travel 100000 light years

How Linux command "mount -a" works

Why is Skinner so awkward in Hot Fuzz?

1960s sci-fi anthology with a Viking fighting a U.S. army MP on the cover

What is the precise meaning of "подсел на мак"?

How to avoid offending original culture when making conculture inspired from original

Is it a bad idea to have a pen name with only an initial for a surname?

How to ask if I can mow my neighbor's lawn

Explicit direct #include vs. Non-contractual transitive #include

Is there a risk to write an invitation letter for a stranger to obtain a Czech (Schengen) visa?

Would a 7805 5v regulator drain a 9v battery?

Catching a robber on one line

What does a/.b[c][[1]] mean?

Background for black and white chart

What could be the physiological mechanism for a biological Geiger counter?

How can this shape perfectly cover a cube?

Using roof rails to set up hammock



Would a 7805 5v regulator drain a 9v battery?


Cost effective way to convert 12v DC to 7.6v DC @2AHow do you run a 5v MCU circuit on a 12v car battery?Can a linear regulator in shutdown mode have the output in parallel with a switching regulatorCurrent limiting voltage regulator to power 12VDC fansRough Battery (9V Alkaline) Level Estimation with Analogue ReadingWhich kind of regulator/battery setup should I use for 5 volt microcontroller and transmitter circuitry for optimum performance?Battery bank designHow can software give an accurate estimation of remaining usage time for a worn battery?Is a regulator necessary?Boost converter with battery issues






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2












$begingroup$


Doing some DIY as a hobby, I'm making a small humidity-temperature radio sensor.



An ATmega328 is reading from a DHT11 sensor and then transmitting data to a raspberry-pi by a STX882 radio transmitter. It is powered by a 9v battery using a 7805 5v regulator with 10µF and 100µF capacitances.



The C code on the ATmega is reading humidity and temperature and then sending it every 30 minutes:



const unsigned long DELAY = 30*60*1000UL; //30 minutes
void loop()
delay(DELAY);
send_data(); //maybe a little overcomplicated but I think it is not the point



This was working like a charm, but the battery life has been unexpectedly short. It was brand new, I made some sporadic tests with a short delay, with no abnormal heat coming from anywhere.



When I was satisfied, I put the 30 minutes delay and leave it alone (which was maybe a bit hazardous?), but after less than 24 hours the battery was 5.4v dead. The 30 minutes delay was approximately respected for its lifespan though.



What could explain such a short battery life? Could it be the 5v regulator? How could I build a long-lasting circuit?



PS: I'm still trying to Fritzing some diagram but this takes age for noobs like me...



EDIT:
I used a 6lp3146 generic brand 9v battery which apparently provided 300-500mAh at 100mA current, which is far more than what my circuit use.



Here is all information I could gather from the datasheet:



+-----------------+------------+---------+-----------+---------+
| | DHT11 | STX882 | ATmega328 | 7805reg |
+-----------------+------------+---------+-----------+---------+
| voltage | 3-5.5V | 1.2-6V | 2.7-5.5V | |
+-----------------+------------+---------+-----------+---------+
| active current | 0.5-2.5mA | 34mA | 1.5mA | |
+-----------------+------------+---------+-----------+---------+
| standby current | 0.1-0.15mA | <0.01µA | 1µA | 4-8mA* |
+-----------------+------------+---------+-----------+---------+
*"bias current"


If I understand correctly, my system is active for a few seconds every 30 minutes so the standby current is all that should matter, and it is indeed driven by the 7805 regulator.



So yes, in the worst case, with 300mAh I should be able to keep the system alive for only 40 hours.



Is there any way I could feed my system 5V for a much longer time without a much bigger size?










share|improve this question











$endgroup$











  • $begingroup$
    I suggest using the LowPower library or similar to put the ATmega to sleep between measurements.
    $endgroup$
    – calcium3000
    8 hours ago










  • $begingroup$
    How short is short?
    $endgroup$
    – Scott Seidman
    7 hours ago










  • $begingroup$
    note: a standard 9V battery contains 6 AAAA cells .... those have way less capacity than AA cells
    $endgroup$
    – jsotola
    7 hours ago










  • $begingroup$
    This Tx and uC is best paired with an 18650 Li Ion cell or 3 good quality AA Alkalines.
    $endgroup$
    – Sunnyskyguy EE75
    7 hours ago










  • $begingroup$
    I'm not familiar if the ATmega328 has a sleep mode and what current it draws. But for this sleep mode (drawing uA or less of current) you'd better feed this (or a better uP) directly from the 9V battery using a resistor and use a kind of wake up signal to turn on (the regulator or better:) the converter when measurements need to be done
    $endgroup$
    – Huisman
    6 hours ago


















2












$begingroup$


Doing some DIY as a hobby, I'm making a small humidity-temperature radio sensor.



An ATmega328 is reading from a DHT11 sensor and then transmitting data to a raspberry-pi by a STX882 radio transmitter. It is powered by a 9v battery using a 7805 5v regulator with 10µF and 100µF capacitances.



The C code on the ATmega is reading humidity and temperature and then sending it every 30 minutes:



const unsigned long DELAY = 30*60*1000UL; //30 minutes
void loop()
delay(DELAY);
send_data(); //maybe a little overcomplicated but I think it is not the point



This was working like a charm, but the battery life has been unexpectedly short. It was brand new, I made some sporadic tests with a short delay, with no abnormal heat coming from anywhere.



When I was satisfied, I put the 30 minutes delay and leave it alone (which was maybe a bit hazardous?), but after less than 24 hours the battery was 5.4v dead. The 30 minutes delay was approximately respected for its lifespan though.



What could explain such a short battery life? Could it be the 5v regulator? How could I build a long-lasting circuit?



PS: I'm still trying to Fritzing some diagram but this takes age for noobs like me...



EDIT:
I used a 6lp3146 generic brand 9v battery which apparently provided 300-500mAh at 100mA current, which is far more than what my circuit use.



Here is all information I could gather from the datasheet:



+-----------------+------------+---------+-----------+---------+
| | DHT11 | STX882 | ATmega328 | 7805reg |
+-----------------+------------+---------+-----------+---------+
| voltage | 3-5.5V | 1.2-6V | 2.7-5.5V | |
+-----------------+------------+---------+-----------+---------+
| active current | 0.5-2.5mA | 34mA | 1.5mA | |
+-----------------+------------+---------+-----------+---------+
| standby current | 0.1-0.15mA | <0.01µA | 1µA | 4-8mA* |
+-----------------+------------+---------+-----------+---------+
*"bias current"


If I understand correctly, my system is active for a few seconds every 30 minutes so the standby current is all that should matter, and it is indeed driven by the 7805 regulator.



So yes, in the worst case, with 300mAh I should be able to keep the system alive for only 40 hours.



Is there any way I could feed my system 5V for a much longer time without a much bigger size?










share|improve this question











$endgroup$











  • $begingroup$
    I suggest using the LowPower library or similar to put the ATmega to sleep between measurements.
    $endgroup$
    – calcium3000
    8 hours ago










  • $begingroup$
    How short is short?
    $endgroup$
    – Scott Seidman
    7 hours ago










  • $begingroup$
    note: a standard 9V battery contains 6 AAAA cells .... those have way less capacity than AA cells
    $endgroup$
    – jsotola
    7 hours ago










  • $begingroup$
    This Tx and uC is best paired with an 18650 Li Ion cell or 3 good quality AA Alkalines.
    $endgroup$
    – Sunnyskyguy EE75
    7 hours ago










  • $begingroup$
    I'm not familiar if the ATmega328 has a sleep mode and what current it draws. But for this sleep mode (drawing uA or less of current) you'd better feed this (or a better uP) directly from the 9V battery using a resistor and use a kind of wake up signal to turn on (the regulator or better:) the converter when measurements need to be done
    $endgroup$
    – Huisman
    6 hours ago














2












2








2





$begingroup$


Doing some DIY as a hobby, I'm making a small humidity-temperature radio sensor.



An ATmega328 is reading from a DHT11 sensor and then transmitting data to a raspberry-pi by a STX882 radio transmitter. It is powered by a 9v battery using a 7805 5v regulator with 10µF and 100µF capacitances.



The C code on the ATmega is reading humidity and temperature and then sending it every 30 minutes:



const unsigned long DELAY = 30*60*1000UL; //30 minutes
void loop()
delay(DELAY);
send_data(); //maybe a little overcomplicated but I think it is not the point



This was working like a charm, but the battery life has been unexpectedly short. It was brand new, I made some sporadic tests with a short delay, with no abnormal heat coming from anywhere.



When I was satisfied, I put the 30 minutes delay and leave it alone (which was maybe a bit hazardous?), but after less than 24 hours the battery was 5.4v dead. The 30 minutes delay was approximately respected for its lifespan though.



What could explain such a short battery life? Could it be the 5v regulator? How could I build a long-lasting circuit?



PS: I'm still trying to Fritzing some diagram but this takes age for noobs like me...



EDIT:
I used a 6lp3146 generic brand 9v battery which apparently provided 300-500mAh at 100mA current, which is far more than what my circuit use.



Here is all information I could gather from the datasheet:



+-----------------+------------+---------+-----------+---------+
| | DHT11 | STX882 | ATmega328 | 7805reg |
+-----------------+------------+---------+-----------+---------+
| voltage | 3-5.5V | 1.2-6V | 2.7-5.5V | |
+-----------------+------------+---------+-----------+---------+
| active current | 0.5-2.5mA | 34mA | 1.5mA | |
+-----------------+------------+---------+-----------+---------+
| standby current | 0.1-0.15mA | <0.01µA | 1µA | 4-8mA* |
+-----------------+------------+---------+-----------+---------+
*"bias current"


If I understand correctly, my system is active for a few seconds every 30 minutes so the standby current is all that should matter, and it is indeed driven by the 7805 regulator.



So yes, in the worst case, with 300mAh I should be able to keep the system alive for only 40 hours.



Is there any way I could feed my system 5V for a much longer time without a much bigger size?










share|improve this question











$endgroup$




Doing some DIY as a hobby, I'm making a small humidity-temperature radio sensor.



An ATmega328 is reading from a DHT11 sensor and then transmitting data to a raspberry-pi by a STX882 radio transmitter. It is powered by a 9v battery using a 7805 5v regulator with 10µF and 100µF capacitances.



The C code on the ATmega is reading humidity and temperature and then sending it every 30 minutes:



const unsigned long DELAY = 30*60*1000UL; //30 minutes
void loop()
delay(DELAY);
send_data(); //maybe a little overcomplicated but I think it is not the point



This was working like a charm, but the battery life has been unexpectedly short. It was brand new, I made some sporadic tests with a short delay, with no abnormal heat coming from anywhere.



When I was satisfied, I put the 30 minutes delay and leave it alone (which was maybe a bit hazardous?), but after less than 24 hours the battery was 5.4v dead. The 30 minutes delay was approximately respected for its lifespan though.



What could explain such a short battery life? Could it be the 5v regulator? How could I build a long-lasting circuit?



PS: I'm still trying to Fritzing some diagram but this takes age for noobs like me...



EDIT:
I used a 6lp3146 generic brand 9v battery which apparently provided 300-500mAh at 100mA current, which is far more than what my circuit use.



Here is all information I could gather from the datasheet:



+-----------------+------------+---------+-----------+---------+
| | DHT11 | STX882 | ATmega328 | 7805reg |
+-----------------+------------+---------+-----------+---------+
| voltage | 3-5.5V | 1.2-6V | 2.7-5.5V | |
+-----------------+------------+---------+-----------+---------+
| active current | 0.5-2.5mA | 34mA | 1.5mA | |
+-----------------+------------+---------+-----------+---------+
| standby current | 0.1-0.15mA | <0.01µA | 1µA | 4-8mA* |
+-----------------+------------+---------+-----------+---------+
*"bias current"


If I understand correctly, my system is active for a few seconds every 30 minutes so the standby current is all that should matter, and it is indeed driven by the 7805 regulator.



So yes, in the worst case, with 300mAh I should be able to keep the system alive for only 40 hours.



Is there any way I could feed my system 5V for a much longer time without a much bigger size?







voltage-regulator battery-operated low-battery






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 6 hours ago







Dan Chaltiel

















asked 8 hours ago









Dan ChaltielDan Chaltiel

1186




1186











  • $begingroup$
    I suggest using the LowPower library or similar to put the ATmega to sleep between measurements.
    $endgroup$
    – calcium3000
    8 hours ago










  • $begingroup$
    How short is short?
    $endgroup$
    – Scott Seidman
    7 hours ago










  • $begingroup$
    note: a standard 9V battery contains 6 AAAA cells .... those have way less capacity than AA cells
    $endgroup$
    – jsotola
    7 hours ago










  • $begingroup$
    This Tx and uC is best paired with an 18650 Li Ion cell or 3 good quality AA Alkalines.
    $endgroup$
    – Sunnyskyguy EE75
    7 hours ago










  • $begingroup$
    I'm not familiar if the ATmega328 has a sleep mode and what current it draws. But for this sleep mode (drawing uA or less of current) you'd better feed this (or a better uP) directly from the 9V battery using a resistor and use a kind of wake up signal to turn on (the regulator or better:) the converter when measurements need to be done
    $endgroup$
    – Huisman
    6 hours ago

















  • $begingroup$
    I suggest using the LowPower library or similar to put the ATmega to sleep between measurements.
    $endgroup$
    – calcium3000
    8 hours ago










  • $begingroup$
    How short is short?
    $endgroup$
    – Scott Seidman
    7 hours ago










  • $begingroup$
    note: a standard 9V battery contains 6 AAAA cells .... those have way less capacity than AA cells
    $endgroup$
    – jsotola
    7 hours ago










  • $begingroup$
    This Tx and uC is best paired with an 18650 Li Ion cell or 3 good quality AA Alkalines.
    $endgroup$
    – Sunnyskyguy EE75
    7 hours ago










  • $begingroup$
    I'm not familiar if the ATmega328 has a sleep mode and what current it draws. But for this sleep mode (drawing uA or less of current) you'd better feed this (or a better uP) directly from the 9V battery using a resistor and use a kind of wake up signal to turn on (the regulator or better:) the converter when measurements need to be done
    $endgroup$
    – Huisman
    6 hours ago
















$begingroup$
I suggest using the LowPower library or similar to put the ATmega to sleep between measurements.
$endgroup$
– calcium3000
8 hours ago




$begingroup$
I suggest using the LowPower library or similar to put the ATmega to sleep between measurements.
$endgroup$
– calcium3000
8 hours ago












$begingroup$
How short is short?
$endgroup$
– Scott Seidman
7 hours ago




$begingroup$
How short is short?
$endgroup$
– Scott Seidman
7 hours ago












$begingroup$
note: a standard 9V battery contains 6 AAAA cells .... those have way less capacity than AA cells
$endgroup$
– jsotola
7 hours ago




$begingroup$
note: a standard 9V battery contains 6 AAAA cells .... those have way less capacity than AA cells
$endgroup$
– jsotola
7 hours ago












$begingroup$
This Tx and uC is best paired with an 18650 Li Ion cell or 3 good quality AA Alkalines.
$endgroup$
– Sunnyskyguy EE75
7 hours ago




$begingroup$
This Tx and uC is best paired with an 18650 Li Ion cell or 3 good quality AA Alkalines.
$endgroup$
– Sunnyskyguy EE75
7 hours ago












$begingroup$
I'm not familiar if the ATmega328 has a sleep mode and what current it draws. But for this sleep mode (drawing uA or less of current) you'd better feed this (or a better uP) directly from the 9V battery using a resistor and use a kind of wake up signal to turn on (the regulator or better:) the converter when measurements need to be done
$endgroup$
– Huisman
6 hours ago





$begingroup$
I'm not familiar if the ATmega328 has a sleep mode and what current it draws. But for this sleep mode (drawing uA or less of current) you'd better feed this (or a better uP) directly from the 9V battery using a resistor and use a kind of wake up signal to turn on (the regulator or better:) the converter when measurements need to be done
$endgroup$
– Huisman
6 hours ago











2 Answers
2






active

oldest

votes


















4












$begingroup$


What could explain such a short battery life? Could it be the 5v regulator?




As mentioned, the 7805 has about 4mA of quiescent current. You need to find a data sheet for the battery (Eveready has nice battery datasheets, if you're using an alkaline cell). It's probably no more than 100mAh -- 100mAh / 4mA = 25 hours, so that should say something to you.




How could I build a long-lasting circuit?




The 7805 is old technology. There are better newer linear regulators out there. You should be able to easily find something that uses 10 times less quiescent current, and with digging even less than that.



To use even less power you'd use a buck converter that's specifically designed for low quiescent current -- but I gather that you're not ready to design one into a board at the component level. There may be a module out there that'll do the job, but you'll need to shop around for it. TI does have some buck converter modules, but you'll want to pay a lot of attention to their capabilities, both for maximum current delivery and quiescent current.



To use less power yet, do everything that you can to minimize the current consumption of your circuit when it is quiescent. This will require careful use of the microprocessor's sleep function, as well as managing how the board is powered (for example, if it only comes on once every 30 minutes, you may well want to turn off power to the radio and the humidity-reading portions of the circuit).



Measure the current consumption in all modes of operation, and use this to determine which modes are the worst offenders overall, then concentrate on minimizing the currents in those modes if you can.






share|improve this answer











$endgroup$












  • $begingroup$
    My first thought too: skip to regulator, use a converter as you probably draw more than only the quiescent current.
    $endgroup$
    – Huisman
    7 hours ago






  • 1




    $begingroup$
    The thing sitting quiet for 30 minutes then taking a measurement and sending it, then going back to sleep. So the quiescent current can't be ignored.
    $endgroup$
    – TimWescott
    7 hours ago










  • $begingroup$
    The 173010578 or the 173950536 from Wuerth or TSR 1-2450 from Traco power are pin-compatible replacements and have lower quiescent current, but it's not that huge difference.
    $endgroup$
    – Huisman
    7 hours ago











  • $begingroup$
    I meant: in idle mode, the 7805 will still be loaded, so it is not only drawing its own quiescent current but also some load current in a inefficient way.
    $endgroup$
    – Huisman
    6 hours ago










  • $begingroup$
    @Huisman OK -- I see what you mean. Yes, the larger question of how to reduce overall current consumption should include reducing the sleep current of the balance of the circuit. In fact, I'm going to add that...
    $endgroup$
    – TimWescott
    6 hours ago


















2












$begingroup$

The idle current of a 7805 regulator is around 4 mA so, armed with the ampere hour capacity of your battery, work how long it will last with a continuous drain of 4 mA.



If you establish that is the problem, you will find that there are plenty of regulators having a significantly lower quiescent current.






share|improve this answer









$endgroup$













    Your Answer






    StackExchange.ifUsing("editor", function ()
    return StackExchange.using("schematics", function ()
    StackExchange.schematics.init();
    );
    , "cicuitlab");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "135"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f443657%2fwould-a-7805-5v-regulator-drain-a-9v-battery%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    4












    $begingroup$


    What could explain such a short battery life? Could it be the 5v regulator?




    As mentioned, the 7805 has about 4mA of quiescent current. You need to find a data sheet for the battery (Eveready has nice battery datasheets, if you're using an alkaline cell). It's probably no more than 100mAh -- 100mAh / 4mA = 25 hours, so that should say something to you.




    How could I build a long-lasting circuit?




    The 7805 is old technology. There are better newer linear regulators out there. You should be able to easily find something that uses 10 times less quiescent current, and with digging even less than that.



    To use even less power you'd use a buck converter that's specifically designed for low quiescent current -- but I gather that you're not ready to design one into a board at the component level. There may be a module out there that'll do the job, but you'll need to shop around for it. TI does have some buck converter modules, but you'll want to pay a lot of attention to their capabilities, both for maximum current delivery and quiescent current.



    To use less power yet, do everything that you can to minimize the current consumption of your circuit when it is quiescent. This will require careful use of the microprocessor's sleep function, as well as managing how the board is powered (for example, if it only comes on once every 30 minutes, you may well want to turn off power to the radio and the humidity-reading portions of the circuit).



    Measure the current consumption in all modes of operation, and use this to determine which modes are the worst offenders overall, then concentrate on minimizing the currents in those modes if you can.






    share|improve this answer











    $endgroup$












    • $begingroup$
      My first thought too: skip to regulator, use a converter as you probably draw more than only the quiescent current.
      $endgroup$
      – Huisman
      7 hours ago






    • 1




      $begingroup$
      The thing sitting quiet for 30 minutes then taking a measurement and sending it, then going back to sleep. So the quiescent current can't be ignored.
      $endgroup$
      – TimWescott
      7 hours ago










    • $begingroup$
      The 173010578 or the 173950536 from Wuerth or TSR 1-2450 from Traco power are pin-compatible replacements and have lower quiescent current, but it's not that huge difference.
      $endgroup$
      – Huisman
      7 hours ago











    • $begingroup$
      I meant: in idle mode, the 7805 will still be loaded, so it is not only drawing its own quiescent current but also some load current in a inefficient way.
      $endgroup$
      – Huisman
      6 hours ago










    • $begingroup$
      @Huisman OK -- I see what you mean. Yes, the larger question of how to reduce overall current consumption should include reducing the sleep current of the balance of the circuit. In fact, I'm going to add that...
      $endgroup$
      – TimWescott
      6 hours ago















    4












    $begingroup$


    What could explain such a short battery life? Could it be the 5v regulator?




    As mentioned, the 7805 has about 4mA of quiescent current. You need to find a data sheet for the battery (Eveready has nice battery datasheets, if you're using an alkaline cell). It's probably no more than 100mAh -- 100mAh / 4mA = 25 hours, so that should say something to you.




    How could I build a long-lasting circuit?




    The 7805 is old technology. There are better newer linear regulators out there. You should be able to easily find something that uses 10 times less quiescent current, and with digging even less than that.



    To use even less power you'd use a buck converter that's specifically designed for low quiescent current -- but I gather that you're not ready to design one into a board at the component level. There may be a module out there that'll do the job, but you'll need to shop around for it. TI does have some buck converter modules, but you'll want to pay a lot of attention to their capabilities, both for maximum current delivery and quiescent current.



    To use less power yet, do everything that you can to minimize the current consumption of your circuit when it is quiescent. This will require careful use of the microprocessor's sleep function, as well as managing how the board is powered (for example, if it only comes on once every 30 minutes, you may well want to turn off power to the radio and the humidity-reading portions of the circuit).



    Measure the current consumption in all modes of operation, and use this to determine which modes are the worst offenders overall, then concentrate on minimizing the currents in those modes if you can.






    share|improve this answer











    $endgroup$












    • $begingroup$
      My first thought too: skip to regulator, use a converter as you probably draw more than only the quiescent current.
      $endgroup$
      – Huisman
      7 hours ago






    • 1




      $begingroup$
      The thing sitting quiet for 30 minutes then taking a measurement and sending it, then going back to sleep. So the quiescent current can't be ignored.
      $endgroup$
      – TimWescott
      7 hours ago










    • $begingroup$
      The 173010578 or the 173950536 from Wuerth or TSR 1-2450 from Traco power are pin-compatible replacements and have lower quiescent current, but it's not that huge difference.
      $endgroup$
      – Huisman
      7 hours ago











    • $begingroup$
      I meant: in idle mode, the 7805 will still be loaded, so it is not only drawing its own quiescent current but also some load current in a inefficient way.
      $endgroup$
      – Huisman
      6 hours ago










    • $begingroup$
      @Huisman OK -- I see what you mean. Yes, the larger question of how to reduce overall current consumption should include reducing the sleep current of the balance of the circuit. In fact, I'm going to add that...
      $endgroup$
      – TimWescott
      6 hours ago













    4












    4








    4





    $begingroup$


    What could explain such a short battery life? Could it be the 5v regulator?




    As mentioned, the 7805 has about 4mA of quiescent current. You need to find a data sheet for the battery (Eveready has nice battery datasheets, if you're using an alkaline cell). It's probably no more than 100mAh -- 100mAh / 4mA = 25 hours, so that should say something to you.




    How could I build a long-lasting circuit?




    The 7805 is old technology. There are better newer linear regulators out there. You should be able to easily find something that uses 10 times less quiescent current, and with digging even less than that.



    To use even less power you'd use a buck converter that's specifically designed for low quiescent current -- but I gather that you're not ready to design one into a board at the component level. There may be a module out there that'll do the job, but you'll need to shop around for it. TI does have some buck converter modules, but you'll want to pay a lot of attention to their capabilities, both for maximum current delivery and quiescent current.



    To use less power yet, do everything that you can to minimize the current consumption of your circuit when it is quiescent. This will require careful use of the microprocessor's sleep function, as well as managing how the board is powered (for example, if it only comes on once every 30 minutes, you may well want to turn off power to the radio and the humidity-reading portions of the circuit).



    Measure the current consumption in all modes of operation, and use this to determine which modes are the worst offenders overall, then concentrate on minimizing the currents in those modes if you can.






    share|improve this answer











    $endgroup$




    What could explain such a short battery life? Could it be the 5v regulator?




    As mentioned, the 7805 has about 4mA of quiescent current. You need to find a data sheet for the battery (Eveready has nice battery datasheets, if you're using an alkaline cell). It's probably no more than 100mAh -- 100mAh / 4mA = 25 hours, so that should say something to you.




    How could I build a long-lasting circuit?




    The 7805 is old technology. There are better newer linear regulators out there. You should be able to easily find something that uses 10 times less quiescent current, and with digging even less than that.



    To use even less power you'd use a buck converter that's specifically designed for low quiescent current -- but I gather that you're not ready to design one into a board at the component level. There may be a module out there that'll do the job, but you'll need to shop around for it. TI does have some buck converter modules, but you'll want to pay a lot of attention to their capabilities, both for maximum current delivery and quiescent current.



    To use less power yet, do everything that you can to minimize the current consumption of your circuit when it is quiescent. This will require careful use of the microprocessor's sleep function, as well as managing how the board is powered (for example, if it only comes on once every 30 minutes, you may well want to turn off power to the radio and the humidity-reading portions of the circuit).



    Measure the current consumption in all modes of operation, and use this to determine which modes are the worst offenders overall, then concentrate on minimizing the currents in those modes if you can.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited 5 hours ago

























    answered 7 hours ago









    TimWescottTimWescott

    9,2941720




    9,2941720











    • $begingroup$
      My first thought too: skip to regulator, use a converter as you probably draw more than only the quiescent current.
      $endgroup$
      – Huisman
      7 hours ago






    • 1




      $begingroup$
      The thing sitting quiet for 30 minutes then taking a measurement and sending it, then going back to sleep. So the quiescent current can't be ignored.
      $endgroup$
      – TimWescott
      7 hours ago










    • $begingroup$
      The 173010578 or the 173950536 from Wuerth or TSR 1-2450 from Traco power are pin-compatible replacements and have lower quiescent current, but it's not that huge difference.
      $endgroup$
      – Huisman
      7 hours ago











    • $begingroup$
      I meant: in idle mode, the 7805 will still be loaded, so it is not only drawing its own quiescent current but also some load current in a inefficient way.
      $endgroup$
      – Huisman
      6 hours ago










    • $begingroup$
      @Huisman OK -- I see what you mean. Yes, the larger question of how to reduce overall current consumption should include reducing the sleep current of the balance of the circuit. In fact, I'm going to add that...
      $endgroup$
      – TimWescott
      6 hours ago
















    • $begingroup$
      My first thought too: skip to regulator, use a converter as you probably draw more than only the quiescent current.
      $endgroup$
      – Huisman
      7 hours ago






    • 1




      $begingroup$
      The thing sitting quiet for 30 minutes then taking a measurement and sending it, then going back to sleep. So the quiescent current can't be ignored.
      $endgroup$
      – TimWescott
      7 hours ago










    • $begingroup$
      The 173010578 or the 173950536 from Wuerth or TSR 1-2450 from Traco power are pin-compatible replacements and have lower quiescent current, but it's not that huge difference.
      $endgroup$
      – Huisman
      7 hours ago











    • $begingroup$
      I meant: in idle mode, the 7805 will still be loaded, so it is not only drawing its own quiescent current but also some load current in a inefficient way.
      $endgroup$
      – Huisman
      6 hours ago










    • $begingroup$
      @Huisman OK -- I see what you mean. Yes, the larger question of how to reduce overall current consumption should include reducing the sleep current of the balance of the circuit. In fact, I'm going to add that...
      $endgroup$
      – TimWescott
      6 hours ago















    $begingroup$
    My first thought too: skip to regulator, use a converter as you probably draw more than only the quiescent current.
    $endgroup$
    – Huisman
    7 hours ago




    $begingroup$
    My first thought too: skip to regulator, use a converter as you probably draw more than only the quiescent current.
    $endgroup$
    – Huisman
    7 hours ago




    1




    1




    $begingroup$
    The thing sitting quiet for 30 minutes then taking a measurement and sending it, then going back to sleep. So the quiescent current can't be ignored.
    $endgroup$
    – TimWescott
    7 hours ago




    $begingroup$
    The thing sitting quiet for 30 minutes then taking a measurement and sending it, then going back to sleep. So the quiescent current can't be ignored.
    $endgroup$
    – TimWescott
    7 hours ago












    $begingroup$
    The 173010578 or the 173950536 from Wuerth or TSR 1-2450 from Traco power are pin-compatible replacements and have lower quiescent current, but it's not that huge difference.
    $endgroup$
    – Huisman
    7 hours ago





    $begingroup$
    The 173010578 or the 173950536 from Wuerth or TSR 1-2450 from Traco power are pin-compatible replacements and have lower quiescent current, but it's not that huge difference.
    $endgroup$
    – Huisman
    7 hours ago













    $begingroup$
    I meant: in idle mode, the 7805 will still be loaded, so it is not only drawing its own quiescent current but also some load current in a inefficient way.
    $endgroup$
    – Huisman
    6 hours ago




    $begingroup$
    I meant: in idle mode, the 7805 will still be loaded, so it is not only drawing its own quiescent current but also some load current in a inefficient way.
    $endgroup$
    – Huisman
    6 hours ago












    $begingroup$
    @Huisman OK -- I see what you mean. Yes, the larger question of how to reduce overall current consumption should include reducing the sleep current of the balance of the circuit. In fact, I'm going to add that...
    $endgroup$
    – TimWescott
    6 hours ago




    $begingroup$
    @Huisman OK -- I see what you mean. Yes, the larger question of how to reduce overall current consumption should include reducing the sleep current of the balance of the circuit. In fact, I'm going to add that...
    $endgroup$
    – TimWescott
    6 hours ago













    2












    $begingroup$

    The idle current of a 7805 regulator is around 4 mA so, armed with the ampere hour capacity of your battery, work how long it will last with a continuous drain of 4 mA.



    If you establish that is the problem, you will find that there are plenty of regulators having a significantly lower quiescent current.






    share|improve this answer









    $endgroup$

















      2












      $begingroup$

      The idle current of a 7805 regulator is around 4 mA so, armed with the ampere hour capacity of your battery, work how long it will last with a continuous drain of 4 mA.



      If you establish that is the problem, you will find that there are plenty of regulators having a significantly lower quiescent current.






      share|improve this answer









      $endgroup$















        2












        2








        2





        $begingroup$

        The idle current of a 7805 regulator is around 4 mA so, armed with the ampere hour capacity of your battery, work how long it will last with a continuous drain of 4 mA.



        If you establish that is the problem, you will find that there are plenty of regulators having a significantly lower quiescent current.






        share|improve this answer









        $endgroup$



        The idle current of a 7805 regulator is around 4 mA so, armed with the ampere hour capacity of your battery, work how long it will last with a continuous drain of 4 mA.



        If you establish that is the problem, you will find that there are plenty of regulators having a significantly lower quiescent current.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 8 hours ago









        Andy akaAndy aka

        248k11190437




        248k11190437



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Electrical Engineering Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            Use MathJax to format equations. MathJax reference.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f443657%2fwould-a-7805-5v-regulator-drain-a-9v-battery%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

            Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

            Tom Holland Mục lục Đầu đời và giáo dục | Sự nghiệp | Cuộc sống cá nhân | Phim tham gia | Giải thưởng và đề cử | Chú thích | Liên kết ngoài | Trình đơn chuyển hướngProfile“Person Details for Thomas Stanley Holland, "England and Wales Birth Registration Index, 1837-2008" — FamilySearch.org”"Meet Tom Holland... the 16-year-old star of The Impossible""Schoolboy actor Tom Holland finds himself in Oscar contention for role in tsunami drama"“Naomi Watts on the Prince William and Harry's reaction to her film about the late Princess Diana”lưu trữ"Holland and Pflueger Are West End's Two New 'Billy Elliots'""I'm so envious of my son, the movie star! British writer Dominic Holland's spent 20 years trying to crack Hollywood - but he's been beaten to it by a very unlikely rival"“Richard and Margaret Povey of Jersey, Channel Islands, UK: Information about Thomas Stanley Holland”"Tom Holland to play Billy Elliot""New Billy Elliot leaving the garage"Billy Elliot the Musical - Tom Holland - Billy"A Tale of four Billys: Tom Holland""The Feel Good Factor""Thames Christian College schoolboys join Myleene Klass for The Feelgood Factor""Government launches £600,000 arts bursaries pilot""BILLY's Chapman, Holland, Gardner & Jackson-Keen Visit Prime Minister""Elton John 'blown away' by Billy Elliot fifth birthday" (video with John's interview and fragments of Holland's performance)"First News interviews Arrietty's Tom Holland"“33rd Critics' Circle Film Awards winners”“National Board of Review Current Awards”Bản gốc"Ron Howard Whaling Tale 'In The Heart Of The Sea' Casts Tom Holland"“'Spider-Man' Finds Tom Holland to Star as New Web-Slinger”lưu trữ“Captain America: Civil War (2016)”“Film Review: ‘Captain America: Civil War’”lưu trữ“‘Captain America: Civil War’ review: Choose your own avenger”lưu trữ“The Lost City of Z reviews”“Sony Pictures and Marvel Studios Find Their 'Spider-Man' Star and Director”“‘Mary Magdalene’, ‘Current War’ & ‘Wind River’ Get 2017 Release Dates From Weinstein”“Lionsgate Unleashing Daisy Ridley & Tom Holland Starrer ‘Chaos Walking’ In Cannes”“PTA's 'Master' Leads Chicago Film Critics Nominations, UPDATED: Houston and Indiana Critics Nominations”“Nominaciones Goya 2013 Telecinco Cinema – ENG”“Jameson Empire Film Awards: Martin Freeman wins best actor for performance in The Hobbit”“34th Annual Young Artist Awards”Bản gốc“Teen Choice Awards 2016—Captain America: Civil War Leads Second Wave of Nominations”“BAFTA Film Award Nominations: ‘La La Land’ Leads Race”“Saturn Awards Nominations 2017: 'Rogue One,' 'Walking Dead' Lead”Tom HollandTom HollandTom HollandTom Hollandmedia.gettyimages.comWorldCat Identities300279794no20130442900000 0004 0355 42791085670554170004732cb16706349t(data)XX5557367