Hacking An AC Outlet Timer For Project Use

[Karl] needed a programmable real-time clock for one of his projects. He considered adding an RTC chip, LCD screen, and some buttons for use with a microcontroller. That’s not necessarily hard, but it takes time and can be considered a project in itself. Instead, he headed to the hardware store to look for a cheap solution. He was able to get this AC outlet timer for a song. It’s got everything he needs; twenty programmable on/off events, a calendar to track time and day of week, and a user interface made up of a low-power LCD and four buttons. He cracked open the case and patched into the electronics for use with any project.

You can see the solder-tab battery in the middle of the board (green coin-cell). That actually runs the timer circuitry and display. It’s topped off when the unit is plugged into mains, but [Karl] ended up replacing it with a much higher capacity AA rechargeable battery. The device works just like a thermostat, using very little power and driving a relay at the appropriate time. Batteries in thermostats seem to last forever and we can expect the same performance from this device. [Karl] rerouted the trigger signal from the relay to his own 2N2222 transistor. This way the device can switch loads running at voltages other than its own 1.2V operating level.

Stock timers are great. They’re mass-produced which makes them cheap, and you can do some interesting stuff with them. We really enjoyed see this other mechanical version hacked for hydroponic use.

3 thoughts on “Hacking An AC Outlet Timer For Project Use

  1. I did something similar to this a couple years ago. had scavenged the timer circuitry out of a old microwave oven which was being thrown out and hooked it up to control a heated bed sheet. (which only had a shut off after 8 hours feature).

    To turn it on I need only press power > high > time> 20.00 for 20 minutes of heat.

  2. Circuitry on the PCB will recharge the battery any time the device is plugged into an outlet.

    I think it need to be made very clear that any chance of mains connection must be removed/disabled in such a hack because there is no isolation between the mains and any connections brought out, just in case anyone has the bright idea of leaving it in place to charge the internal battery.

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.