Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] current in MCU and thte sleep mode at mega16 issue

2004-04-10 by jay marante

thanks...
 
anyway, i guess putting the mega16 into sleepmode helps a lot. how should i code this? here's what i did:
 
/**** power-save mode ****/
MCUCR |= (1<<SE);              //enable sleep mode
MCUCR |= (3<<SM0);            //power-save mode
 
but this code doesn't work. anybody knows why?
thanks...
 
-jay


Wagner Lipnharski <wagner@ustr.net> wrote:> Do you absolutely have to use a 9 volt battery?  (I am
> assuming it is the square kind with snaps on the end).  If
> not, consider running your project from "AA" or "C" cells.
>


4 x AAA NiMH (or even 3 x AAA alkaline) cells would supply enough power with
the voltage within the range of the electronics, longer than a simple 9V
alkaline battery.

AAA NiMH can supply around 800mAh, at least 4 times what a 9V can do.

Considering a Dc-Dc converter, with a 85% productivity, it means that if you
will consume around 10mA @ 5V, it means 50mW, divided by 85% results in
59mW, divided by 9V results in 6.5mA.  So, your 9V @ 200mAh battery will
supply power for 30 hours, until exaustion.  Of course that this is a simple
calculation, current consumption increases with the battery voltage going
down, what accelerates the rate of discharge.  I would say 20 hours to be a
more conservative number.

Considering the 4 x AAA NiMH, 800mAh, direct connection, 10mA current
consumption, will give you around 70h of operation...


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.600 / Virus Database: 381 - Release Date: 2/28/2004



---------------------------------
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/AVR-Chat/
  
   To unsubscribe from this group, send an email to:
AVR-Chat-unsubscribe@yahoogroups.com
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 




---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.