Arduino: motion-activated night security light
A real outdoor-style light: PIR triggers, an LDR confirms it is dark, a relay drives a 12V lamp. The AND logic that stops false triggers.
Tag
3 tutorials
A real outdoor-style light: PIR triggers, an LDR confirms it is dark, a relay drives a 12V lamp. The AND logic that stops false triggers.
Use a relay module with an ESP32 to switch mains-powered devices. The hardware safety boundaries and why opto-isolated modules matter.
Drive a relay module from an Arduino to switch mains-powered devices. The most common home automation building block, with all the safety stuff included.