ESP32 / Arduino Builds
Personal ESP32 and Arduino projects I worked on before.
Highlights
- Wireless door alarm with reed-switch ESP32 nodes, hub, web log, and Discord alerts
- Wi‑Fi home control page for blinds and lamps
- Light-sensing blinds and an ultrasonic proximity lamp
Overview
Outside class and lab work I built a small home stack on ESP32 and Arduino boards: a wireless door alarm, Wi‑Fi control for blinds and lamps, light-sensing blinds, and a proximity lamp.
Source for all of these lives in one repo: View all ESP32 / Arduino code.
Door alarm
An ESP32 on the door uses a reed switch to sense whether the door is open or closed, then sends that to an ESP32 hub. The hub keeps track of each door and whether its sensor is still responding. A web page lists those open/close events over time, and the hub can also push alerts to Discord.
The door ESP32 stays asleep to save power, wakes when the reed switch trips, and sends a short message. It also pings the hub every so often so a dead battery doesn’t go unnoticed.
Wi‑Fi home control
ESP32 home control for blinds and lamps. A Wi‑Fi page where you can open and close the blinds and turn the lights on and off. Other ESP32 boards on the network run the blinds motors and the lamps.
Light-sensing blinds
Arduino blinds that open and close from room light. A photoresistor watches brightness and drives a DC motor; if it stays bright or dark long enough, the blinds move on their own. A button switches to manual control so you can open or close them yourself.
Proximity lamp
An Arduino lamp that toggles when you wave close to an ultrasonic distance sensor. If something stays about 1–3 inches away, the LED flips on or off (with a short cooldown so it doesn’t chatter). You can also type on or off over serial for manual control.