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.

Sign in to save
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)₹518× 1Buy
  • 2× 1-channel 5V relay modules (HIGH-level trigger)₹57× 2Buy
  • 5V USB supply× 1Buy
Kit for this projectPrice on request
Get the kit

Wiring

RadarVGIOESP323V3GNDD23VIN / GNDD32D265V / GND railsRelay1 IN2 INVCCGND5V railGND rail
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)
A wiring step from the video
A wiring step from the video

3D print files

  • Radar wall casePLA or PETG · 0.2 mm · 20% · no supportsDownload
  • Relay boxPLA or PETG · 0.2 mm · 20% · no supportsDownload

Code

Get the code