Projects using this component

ESP32 Smart Lamp with Rotary Encoder Menu (KY-040 + OLED + NeoPixel Ring)
One knob, five settings! Turn the KY-040 rotary encoder to scroll the menu on the 0.96 inch OLED, press it to edit the color, brightness, effect, sleep timer or warm-cool white. The 24-LED NeoPixel ring shows every change instantly. Settings live in the ESP32 flash, so after a power cut the lamp comes back exactly as you left it. Interrupt-based encoder reading and a menu UI in one project.

Raspberry Pi Pico Timelapse Camera Slider (NEMA 17 + A4988 + KY-040 + OLED)
Build your own slider for cinematic sliding shots! The Raspberry Pi Pico turns a NEMA 17 stepper very slowly and smoothly through an A4988 driver, and the carriage carries a phone or camera along a rail. With a KY-040 encoder you pick the mode, distance, time, direction and frame count from a menu. In VIDEO mode the carriage eases in and out; in TIMELAPSE mode it stops at every frame and waits for the shake to settle. The OLED shows progress and time left.

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.

ESP32 Hangman Game (OLED + KY-040 Rotary Encoder + Buzzer)
The classic notebook game hangman on an ESP32 and a 0.96 inch OLED! Turning the KY-040 rotary encoder slides the alphabet strip, pressing it guesses the selected letter. A correct letter flies into place and the green LED lights up; a wrong one adds a piece to the gallows while the red LED and the buzzer complain. Turkish and English words, three categories, a best streak and a two-player mode.

