Yahoo Groups archive

AVR-Chat

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

Message

Fwd: RE: [AVR-Chat] sleep mode in mega16

2004-04-05 by jay marante

--- jaythesis@yahoo.com <jaythesis@yahoo.com> wrote:
> I think it only consumes a small amount current
since
> i only an LCD and a keypad. Whats a DC-DC convrtr?
Any
> particular device i can order?
> --- yahoo@barello.net <yahoo@barello.net> wrote:
> > The mega16 in max power mode consumes only 40ma. 
> Simply putting it into
> > IDLE mode between interrupts will drop the
> consumption to 5 or so ma.  If
> > you circuit is drawing 250ma then the vast bulk of
> the current draw is from
> > something OTHER than the CPU.
> > 
> > Read about the sleep modes in the data sheet.  You
> set two bits in the MCUCR
> > and then execute the "sleep" instruction. 
> Interrupts will bring you out of
> > the sleep.  Turning off peripherals (Analog
> comparator, ADC) will save you
> > about 1ma max, if even that.
> > 
> > 
> > -----Original Message-----
> > From: jay marante [mailto:jaythesis@yahoo.com]
> > Sent: Monday, April 05, 2004 7:38 AM
> > To: AVR-Chat@yahoogroups.com
> > Subject: Re: [AVR-Chat] sleep mode in mega16
> > 
> > 
> > im using max883 as a linear regulator. its output
is
> about 200-250mA of
> > current.
> > 
> > how will i code the power-save mode in ICCAVR?
> > 
> > thanks.
> > 
> > -jay
> > 
> > David VanHorn <dvanhorn@cedar.net> wrote:
> >   At 06:56 AM 4/5/2004 -0700, jay marante wrote:
> > 
> >   >Hi!
> >   >
> >   >I want to put the mega16 in a power-save mode
but
> i cant get it done. anu
> > sample C codes? i want it so badly coz my system
> comsumes so much power from
> > the 9V battery. i think it wont even last a day.
> > 
> > 
> >   First off, how are you doing your voltage
> regulation?
> >   When moderate currents are flowing, switchers
are
> more efficient.
> >   When the current is very small, linear regs win.
> > 
> > 
> >   On sleeping, you need to set your external I/O
up
> to the appropriate
> > states (only you can figure that) and then worry
> about the processor.
> > 
> >   Turning off timers that you don't need, shutting
> down analog ref and A/D.
> > In the M128, you can program the Xdiv register to
> slow the clock down quite
> > a lot.  In all the megas, you can program the
CKOPT
> fuse to use the Vittoz
> > oscillator, but you'd better do some careful
design
> there, to avoid
> > problems.
> > 
> >   Of course you need a mechanism to come out of
low
> power mode, like an
> > interrupt, or ... ?
> > 
> > 
> > 
> > 
> >
=== Message Truncated === 


__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

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.