DIY 24hr Timer

Looking for some guidance on how to make a 24hr timer.
Needs to switch on & off two 12v LED arrays.

Example,
10AM LED1 ON
8PM - LED 1 OFF, LED 2 ON
12AM LED 2 OFF

Was thinking Arduino?

1 Like

Hi Dominic,

If you have Wifi capability in that area it might be worth looking into using a Pi Zero W with a Relay HAT, this will allow you to keep the time updated(via the internet) as an Arduino doesn’t have the highest accuracy in keeping time.

Regards,
Liam

3 Likes

Here is a super neat one for your application, can be programmed through python, would be a quick implementation, also has sample code provided to get you started:

2 Likes

Great suggestion, thanks Liam

4 Likes

Thank you Mitchell

4 Likes

Your other option is to run a real time clock (RTC) module with a microcontroller. Good ones only lose a few seconds per month.

Or get a GPS module and leverage the network of atomic clocks orbiting overhead if you need really good accuracy without internet.

2 Likes

Looks like ill go with the PiZero.

This is what I would like to build:

Can then add Temperature and PH sensors.

1 Like

Have you looked at Sonoff switches, they are Wifi capable and you can turn off the power supply of your sources to keep them on or off. Also they are fairly cheap and you can control them from anywhere as long as you have internet connection

1 Like

You could use an ESP8266 or ESP32 that checks the time from NTP Server.

A simpler solution would be to use something like these:



I’ve linked to these as Core doesn’t seen to sell them, maybe they will consider stocking them?
3 Likes

Hey Peter,

Excellent suggestion, something similar would be a great idea, if anyone is curious or has suggestions, you can email us and then we can get it through to purchasing to see whether we’re able to order stock. If there’s anything else that you need Dominic please let us know!

Bryce
Core Electronics | Support

2 Likes

BTW, 24V versions are also available!

2 Likes