Case study

Automatic ceiling light

RA24D18 radar and an LDR on one ESP32 run the ceiling relay only when the room is occupied and dark. The dashboard can override the light.

All gadgets

Why

We wanted the ceiling light to turn on automatically, so the board uses radar for occupancy and an LDR for darkness.

How

The ESP32 reads radar for movement and the LDR for brightness. The relay powers the ceiling light only when both are true.

The load can manually be controlled from the dashboard.

ESP32 + RA24D18 radar + LDR