LowPowerLab Forum

Hardware support => ATXRaspi => Topic started by: Helversteijn on September 17, 2013, 04:04:00 AM

Title: Timed shut down of raspberry
Post by: Helversteijn on September 17, 2013, 04:04:00 AM
Dear all,

For a time I have the raspberry pi ver2 to play a bit around with it. Your board looks quite good for what I would like to do. I have no experience in these kind of electronics. But I would like to use the 1339 chip  http://www.idt.com/products/clocks-timing/application-specific-clocks/real-time-clocks-rtc-ic (http://www.idt.com/products/clocks-timing/application-specific-clocks/real-time-clocks-rtc-ic) and use it's 2 alarms to put on the raspberry at a certain time and to put it off at a certain time. Is it possible to use these alarms to put on and off the rapsberry with your on / off switch (button) at your board? And is there a way to use a supercapacitator or battery to give power to these boards (chip and your board).

Thank you for your help and advice.

Kind regards,

Helversteijn
Title: Re: Timed shut down of raspberry
Post by: Felix on September 17, 2013, 08:40:27 AM
You would have to power the RTC separately. ATXRaspi is powered directly from uUSB so it has power all the time, waiting for a button press event. You can simulate a button press from firmware, but that will be a little complicated.  Your RTC would have to have the intelligence to send out a negative/GND pulse to ATXRaspi to wake it up. So I would not even try that if I were you. Maybe a custom ATXRaspi version that has an RTC could do it, but that would require a more complex controller (different chip, with extra firmware). I suspect you also want to be able to change the schedule so it gets complicated fast.
ATXRaspi is really designed to be manually operated where a SSH login is not available.

You can probably find a way to use wake-on-LAN on the Pi...