Pages: [1]   Go Down
Author Topic: Vin and arduino sleeping?  (Read 371 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Sr. Member
****
Karma: 0
Posts: 423
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am involve in a project that will measure different environmental parameters through different sensors once per hour. The other time it will be sleeping.

However, i would like to have a led blinking in order to know that it still have enough power and it is alive. I plan to use something like this:
http://www.kpsec.freeuk.com/projects/dummy.htm

This explanation is to ask you if i could go over the input voltage from by batteries by connected the circuit of the example to the Vin pin or arduino when it is sleeping? and ground pin?

Thanks!
« Last Edit: September 07, 2010, 02:03:55 pm by madepablo » Logged

0
Offline Offline
Edison Member
*
Karma: 0
Posts: 1103
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

To really profit from sleep modes you have to use a different board. The voltage regulator, the power LED and the FTDI chip will use too much current.

The Vin will go through the voltage regulator, so you need something above 6 volts (which will also contribute to dissipation)..
But you can inject 5 volts directly into the 5 volts pin.

3x1,5 volts batteries will do fine for that purpose..
Logged

France
Offline Offline
Faraday Member
**
Karma: 23
Posts: 3031
There is an Arduino for that
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you use the led blinking circuit it will show you that there is power but not that the arduino is still alive.
To know if the arduino is alive you should blink the led with the arduino itself.
To do that you can put the atMega in sleep mode and program a timer to wake it up blink the led and return to sleep. If the ratio of the time it is alive versus the time it is sleeping is really short the consumption will be negligible.
« Last Edit: September 07, 2010, 03:06:53 pm by fdufnews » Logged

0
Offline Offline
Faraday Member
**
Karma: 19
Posts: 3420
20 LEDs are enough
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

And the canonical example of how to sleep and wake up for short periods seems to be this:
http://interface.khm.de/index.php/lab/experiments/sleep_watchdog_battery/

Udo
Logged

Check out my experiments http://blog.blinkenlight.net

Pages: [1]   Go Up
Jump to: