Voice-style multi kitchen timers
Build it step by step
0 of 7 doneTest the display
Print four lines.
Read the encoder
Change minutes.
Add the press logic
Short and long press.
Count down
Four timers in the loop.
Add the LEDs
Light while running.
Add the beeps
A different count for each timer.
Box it
Wipe-clean front panel.
How do you build a voice-style multi kitchen timers?
Four timers for different pots, each with its own LED and sound, set by an encoder. You need Arduino Nano, Rotary encoder module (KY-040), 20x4 LCD with I2C backpack, LED 5 mm red × 4, Resistor 220 Ω × 4 and Active buzzer 5 V. It takes 7 steps and about 90 minutes.
- Level
- Beginner
- Time
- About 90 min
- Parts
- 6
Parts list
- Development BoardsBuyArduino Nano × 1
- SensorsBuy
- DisplaysBuy
- SemiconductorsBuyLED 5 mm red × 4
- PassivesBuyResistor 220 Ω × 4
- Motors & ActuatorsBuy
Tick what you already own. It saves to My Garage, so “Build with what I have” knows.
Wiring
| From | To | Why |
|---|---|---|
| Encoder CLK and DT | Nano D2 and D3 | Turn input |
| Encoder SW | Nano D4 | Press input |
| LCD SDA and SCL | Nano A4 and A5 | Display |
| Timer LEDs | Nano D5 to D8 through 220 Ω | One per timer |
| Buzzer | Nano D9 and GND | Beeper |
| Supply | USB or a 5 V adapter | Power |
Code
Each timer is just a countdown number checked once a second, with the display and LEDs updated from the same loop, so all four run together without blocking each other. The number of beeps tells you which timer has finished: one for timer 1, two for timer 2, and so on. The sketch assumes a 20 by 4 I2C LCD at address 0x27; if yours is at 0x3F or has a different size, change that line. Arduino IDE, board "Arduino Nano" (try the Old Bootloader option if the upload fails). Keep the Nano and the display away from steam and splashes, and do not use it as the only safeguard for anything that could be a fire risk, such as hot oil.
Runs on a virtual Arduino Nano in your browser, with sliders for the sensors. Happy with it? Verify and upload to your real board from the same page (Chrome or Edge on a computer).
// Four kitchen timers. Turn = set minutes for the selected timer. Short press = start/stop. Long press = next timer.
// Libraries: LiquidCrystal_I2C, Encoder. Board: Arduino Nano.
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#include <Encoder.h>
LiquidCrystal_I2C lcd(0x27, 20, 4);
Encoder enc(2, 3);
const int SW = 4, BUZ = 9;
const int LED[4] = {5, 6, 7, 8};
long setSec[4] = {600, 600, 600, 600};
long leftSec[4] = {600, 600, 600, 600};
bool running[4] = {false, false, false, false};
unsigned long last = 0, pressAt = 0;
int sel = 0;
long lastPos = 0;
void beep(int n) { for (int i = 0; i < n; i++) { tone(BUZ, 1500, 150); delay(250); } }
void draw() {
for (int i = 0; i < 4; i++) {
lcd.setCursor(0, i);
lcd.print(i == sel ? ">" : " ");
lcd.print("T"); lcd.print(i + 1); lcd.print(" ");
long s = running[i] ? leftSec[i] : setSec[i];
if (s / 60 < 10) lcd.print("0");
lcd.print(s / 60); lcd.print(":");
if (s % 60 < 10) lcd.print("0");
lcd.print(s % 60); lcd.print(running[i] ? " run " : " set ");
}
}
void setup() {
pinMode(SW, INPUT_PULLUP); pinMode(BUZ, OUTPUT);
for (int i = 0; i < 4; i++) pinMode(LED[i], OUTPUT);
lcd.init(); lcd.backlight(); draw();
}
void loop() {
long pos = enc.read() / 4;
if (pos != lastPos) {
if (!running[sel]) { setSec[sel] = constrain(setSec[sel] + (pos - lastPos) * 60, 60, 5940); leftSec[sel] = setSec[sel]; }
lastPos = pos; draw();
}
if (digitalRead(SW) == LOW && pressAt == 0) pressAt = millis();
if (digitalRead(SW) == HIGH && pressAt) {
unsigned long held = millis() - pressAt; pressAt = 0;
if (held > 40) {
if (held > 700) sel = (sel + 1) % 4; // long press: next timer
else { running[sel] = !running[sel]; if (running[sel]) leftSec[sel] = setSec[sel]; }
draw();
}
}
if (millis() - last >= 1000) {
last = millis();
for (int i = 0; i < 4; i++) {
digitalWrite(LED[i], running[i]);
if (running[i] && --leftSec[i] <= 0) {
running[i] = false; leftSec[i] = setSec[i];
int keep = sel; sel = i; beep(i + 1); sel = keep; // timer 1 beeps once, timer 2 twice, and so on
draw();
}
}
if (millis() > 0) draw();
}
}Test checklist
What you should see at each check. If a reading is far off, stop and use the troubleshooting list.
| Check | Expected |
|---|---|
| Turn the encoder | Minutes change for the selected timer |
| Short press | Starts or stops |
| Long press | Moves to the next timer |
| Finish | The right number of beeps |
If it does not work
Blank LCD
Try address 0x3F and adjust the contrast.
Encoder skips
Change the divisor of 4 to match your encoder.
Wrong beeps
Check the timer number mapping.
Time runs off
Use an RTC for long timers.
Still stuck? Find the fault step by step with your multimeter →
Common questions
What parts do I need for the voice-style multi kitchen timers?
Arduino Nano, Rotary encoder module (KY-040), 20x4 LCD with I2C backpack, LED 5 mm red × 4, Resistor 220 Ω × 4 and Active buzzer 5 V.
How long does the voice-style multi kitchen timers take to build?
About 90 minutes for a beginner maker, in 7 steps.
How do I know the voice-style multi kitchen timers works?
Turn the encoder: Minutes change for the selected timer. Short press: Starts or stops. Long press: Moves to the next timer.
Blank LCD: what should I check?
Try address 0x3F and adjust the contrast.
Encoder skips: what should I check?
Change the divisor of 4 to match your encoder.
Wrong beeps: what should I check?
Check the timer number mapping.
Time runs off: what should I check?
Use an RTC for long timers.
