Pages: 1 [2]   Go Down
Author Topic: Auto Power Off - not working :(  (Read 3302 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 41
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i asume you would like turn of the arduino to save battery power? otherwise i really see no point of shutting youre arduino down.

therefore this link is worth looking in to
http://arduino.cc/playground/Learning/ArduinoSleepCode

mabey worth a shot(although im not sure):
-remove youre diode and resistors and put a resistor between the emitter and the arduino
-use a darlington transistor
Logged

Germany
Offline Offline
Faraday Member
**
Karma: 59
Posts: 3056
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
You probably need an additional transistor to drive the base?
 

My LTSpice simulation shows that a pulse at the ON_Button switches Arduino on,
and a HIGH D2 would keep it on. D2 LOW switches it off.
 
 


* ArduinoON.png (10.84 KB, 645x305 - viewed 169 times.)
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 26
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thans pylon,
the idea to add an additional transistor has made me test the following schema:
(BTW, I've added an optocoupler rather than a transistor because I was afraid to fry pin2)



and it works!!!

Pressing the pushbutton, LED starts blinking: I then release the pushbutton and led flashes 10 times, than power goes down!

Thanks michael_x for your testing... I'm going to test the schema you have proposed.

Does anybody see any disadvantage in mine?

Thanks daatse for the reference to sleep code, but my goal is to switch completely the board off
« Last Edit: May 18, 2012, 06:25:15 am by ArJack » Logged

NY, USA
Offline Offline
Newbie
*
Karma: 1
Posts: 48
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm looking to implement a self-power down function in my project too. This looks like a cheaper alternative to buying a $6 Pololu switch and paying another $5 in S/H. And I might just have an optocoupler lying around. Although I don't understand the need for it?
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17294
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You must have double posted, the mods don't like that at all? Anyway, I responded with one method I've used in your other post.

Lefty
Logged

Pages: 1 [2]   Go Up
Jump to: