MuTech RoboticsLearning Hub
Adults onlyESP32Level 2/3

mmWave Home Automation

Walk in and the light and fan switch on. Sit still and they stay on. Leave and they switch off.

mmWave Home Automation
Adults only

Involves 230V mains switching.

Not for children. Build at your own risk.

All mains wiring must be done by a licensed electrician inside a closed enclosure.

Strictly follow the description given with this video.

Video

The video link will be added here soon.

How it works

  1. The mmWave radar senses a person even when they sit still.
  2. Present: the ESP32 switches relay 1 (light) and relay 2 (fan) on.
  3. After a short empty-room delay, both switch off.
  4. HIGH-level-trigger relays work directly from the ESP32's 3.3V pins.

Parts you need

  • mmWave radar sensor (24 GHz presence)× 1Buy
  • ESP32 development board (30-pin)× 1Buy
  • 2× 1-channel 5V relay modules (HIGH-level trigger)× 2Buy
  • 5V USB supply× 1Buy
Kit for this projectPrice on request
Get the kit

Wiring

Wiring diagram
PowerGroundSignal
#FromConnect to
1 PowerRadar VESP32 3V3
2 GroundRadar GESP32 GND
3 SignalRadar IOESP32 D23
4 PowerESP32 VIN / GND5V / GND rails
5 SignalRelay 1 IN (light)ESP32 D32
6 SignalRelay 2 IN (fan)ESP32 D26
7 PowerRelay VCC5V rail
8 GroundRelay GNDGND rail
9 SignalRelay COM / NOLight and fan circuits (electrician)

3D print files

  • Radar wall caseSettings in the STL zip READMELink at launch
  • Relay boxSettings in the STL zip READMELink at launch

Code

The tested Arduino / ESP32 code for this project will be posted here, ready to copy.