Posts: 30
Joined: Wed Jun 27, 2012 2:31 pm

Re: Automatic power on/off

Mon Jul 02, 2012 2:53 pm

check out my wiring diagram, i think itll accomplish exactly what you're looking to do.

http://www.raspberrypi.org/phpBB3/viewt ... =35&t=9686

Posts: 73
Joined: Thu Jul 19, 2012 6:50 pm

Re: Automatic power on/off

Fri Jul 20, 2012 7:15 pm

Relevant to this topic:

http://www.raspberrypi.org/phpBB3/viewt ... 0&start=75

2 things of note:

RPi uses ~0.12A at sleep mode, around 0.47A at peak usage (depends on peripherals and such).

Secondly, Dom is considering a GPIO switch for auto sleep/wake!
In theory yes. Trouble is we are almost stateless at this point. I sleep before sdram has been enabled, and this is just after a reset.
It turns out there is a register (the one written to in the kernel power down function) that does maintain a few bits of state over the reset, so I can distiguish a power on/reboot from a halt.

There's not enough information to set a wakeup alarm duration, or GPIO interrupt pin.

Possibly we could say, a rising ede on GPIOn (for a fixed n) wakes us up again. (Maybe even the HDMI hotplug line, so you could possibly provoke it by powering on your TV).
Although whatever you choose, someone will grumble...

Return to “Other projects”

Who is online

Users browsing this forum: No registered users and 8 guests