tab
Posts: 49
Joined: Sun Dec 08, 2013 6:26 pm

how turn-on a rpi with a clock module?

Tue Mar 17, 2015 11:04 am

Hello,
I am looking for a way to automatically turn on a raspberry at a specific time.
Now, the solution I adopted is a simple timer...not properly a professional solution!
So, recently I found this clock module
Image
but the seller told me that it only works to save time in the rpi.
Do you know some other way to do that?
Some other clock modules that works for this scope?
Thanks

User avatar
RaTTuS
Posts: 10539
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: how turn-on a rpi with a clock module?

Tue Mar 17, 2015 11:09 am

How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

User avatar
DougieLawson
Posts: 37720
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: how turn-on a rpi with a clock module?

Tue Mar 17, 2015 1:43 pm

tab wrote:Hello,
I am looking for a way to automatically turn on a raspberry at a specific time.
To turn it on this is easiest
http://www.amazon.co.uk/Electronic-digi ... rs+digital

Because to do it yourself you'd need something like an Arduino to short the P6 RUN header on a powered but halted RPi and that's more complex than a plug in time switch.

Alternatively, run it 24/365 and even if it was running flat out it cost less than £5 per year to run.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

User avatar
SteveDee
Posts: 343
Joined: Thu Dec 29, 2011 2:18 pm
Location: Sunny Southern England
Contact: Website

Re: how turn-on a rpi with a clock module?

Tue Mar 17, 2015 9:28 pm

tab wrote:...I am looking for a way to automatically turn on a raspberry at a specific time....
This would make an interesting electronics project.

If you included a cheap programmable device like a Picaxe, you could program the device to read the time from an RTC and turn the power on to the Pi via a control element (say a MOSFET).

You could use the Pi to set the turn-on time (for the Picaxe) either using the system user interface or remotely, via (say) VNC.

The Pi can also signal to the Picaxe when its ready to be gently shut down.

hampi
Posts: 223
Joined: Fri May 31, 2013 11:29 am
Contact: Website

Re: how turn-on a rpi with a clock module?

Tue Mar 17, 2015 9:36 pm

I have a pretty good solution for that

https://github.com/oh7bf/RaspiPwr12V

tab
Posts: 49
Joined: Sun Dec 08, 2013 6:26 pm

Re: how turn-on a rpi with a clock module?

Sun Mar 22, 2015 9:29 am

@DougieLawson, @RaTTuS: your solution is exactly what I am using and that I would not use in future!
@hampi: I am not a guru of electronic and I don't know how your solution can be simply and fast to apply for me.
@SteveDee: your solution seems to be very simple!
Can you give me other informations about picaxe and how to configure all?

Thanks to everybody

User avatar
SteveDee
Posts: 343
Joined: Thu Dec 29, 2011 2:18 pm
Location: Sunny Southern England
Contact: Website

Re: how turn-on a rpi with a clock module?

Sun Mar 22, 2015 6:54 pm

tab wrote:...your solution seems to be very simple!...
I guess whether something is simple or complicated depends upon the capabilities of the individual. You don't need to be a Guru, but probably need to be a bit of a Fundi, and know your way around a soldering iron.

A Picaxe is a special PIC produced mainly for education and hobbyists. If you normally work with Linux, take a look at my notes: http://captainbodgit.blogspot.co.uk/201 ... linux.html. Either way, also take a look at their website: http://www.picaxe.com/

The main documentation is centred on 4 manuals: http://www.picaxe.com/Getting-Started/PICAXE-Manuals/
Manual 3 covers interfacing.There may be an RTC interface in there. If not, then "Google" as I'm sure someone would have done it already.

And take a look at my post (http://captainbodgit.blogspot.co.uk/201 ... tails.html) which includes a circuit showing a mosfet controlling a 5Volt regulator which powers the Pi.

I'm convinced that the Pi GPIO inputs are 5Volt safe, so connecting a 5V Picaxe to a Pi is not a problem...you may have to make up your own mind!

Return to “Advanced users”