AR-126IntermediatePremium

Arduino Countdown Socket Timer (KY-040 Rotary Encoder + I2C LCD + Relay)

Pick a time, press, and let the timer do the rest! The KY-040 rotary encoder sets anything from 5 seconds to 12 hours, and turning fast jumps in 10-minute steps. The relay has three modes: off when time is up, on when time is up, or an on/off cycle. The I2C LCD shows the time left, beeps warn you in the last seconds, the last setting is kept in EEPROM and the relay always starts safely off after a power cut.

0.0(0)
Arduino Countdown Socket Timer (KY-040 Rotary Encoder + I2C LCD + Relay)
Never leave the little fan on your desk or an LED strip running all night again: turn the knob to pick a time, press it, and the relay switches the load off by itself when time is up. You can also have it switch on when the time runs out, or turn on and off at set intervals; the screen counts down second by second and short beeps warn you at the end.

Source Code

Premium Content

The source code, block version and FAQ of this project are open to Premium members.

  • All Project Code
  • Block version
  • Frequently Asked Questions