Re: Arduino and sleep settings

HEY,

I am proud to announce the birth of yet another page in the playground on this topic. Look on

http://www.arduino.cc/playground/Learning/ArduinoSleepCode

and learn to let your arduino sleep.

as a start this is helpfull, but reading the apropiate pages in the Atmega8 pdf and the sleep.c and interrupts.c helps

good luck!

this topic is indeed a hot issue, when using the arduino stand-alone with battery-supply. i´ll try sleep_mode next days, but also throw up the question which battery supply do you prefer?

for my last project, i was dealing with atmega8L working on 3,3V and 8Mhz supplied by cell-phone battery (3,7V) from an old nokia-phone. good thing about these batteries that they are really cheap NimH or even Lithium Ionen solutions and thousand times rechargeable, plus as an extra also very "handy" :wink:

dear macsimski :
I am student in Germany . I am tring to put "IBM PowerPC 750FX RISC Microprocessor" machine into sleep mode .

I have seen your discussion with "libhart" .
so thought that you may help me on this matter .
hope to hear form you soon .

dear macsimski :
I am student in Germany . I am tring to put "IBM PowerPC 750FX RISC Microprocessor" machine into sleep mode .

I have seen your discussion with "libhart" .
so thought that you may help me on this matter .
hope to hear form you soon .

dear macsimski :
I am student in Germany . I am tring to put "IBM PowerPC 750FX RISC Microprocessor" machine into sleep mode .

I have seen your discussion with "libhart" .
so thought that you may help me on this matter .
hope to hear form you soon .

dear libhart :
I am student in Germany . I am tring to put "IBM PowerPC 750FX RISC Microprocessor" machine into sleep mode .

I have seen your discussion with "macsimski" .
so thought that you may help me on this matter .
hope to hear form you soon .

This topic has really been the sleeper of the season...

D

Well I'll revive it then...

Nice work on getting the sleep code up and running.

For my project I want the microcontroller to wake up every 5 minutes or so and update one variable. Seems like a waste to not put it to sleep during the in-between times, but I don't want to have to manually wake it up, I was hoping it would wake up itself automatically.

Is there any way to use an internal interupt to wake it up, or alternatively, is there another (better?) way to do it? I think some of the PIC range have built in real time clocks, but of course who wants to use one of them...