MuTech RoboticsLearning Hub
Adults onlyESP32Level 2/3

Child-in-Car Alarm

If the car is locked and a motion sensor sees movement inside, the horn sounds and your phone gets an alert.

Child-in-Car Alarm
Adults only

Involves car electrical wiring.

Not for children. Build at your own risk.

Strictly follow the description given with this video.

Video

The video link will be added here soon.

How it works

  1. The PIR sensor watches the cabin for movement.
  2. When the car is locked, any movement means someone is inside.
  3. The ESP32 switches the relay, which sounds the car horn.
  4. It also sends a phone alert, because a locked car heats up in minutes.

Parts you need

  • ESP32 dev board× 1Buy
  • PIR motion sensor× 1Buy
  • 5V relay module× 1Buy
Kit for this projectPrice on request
Get the kit

Wiring

Wiring diagram
PowerGroundSignal
#FromConnect to
1 SignalPIR OUTESP32 D4
2 PowerPIR VCCESP32 5V
3 GroundPIR GNDESP32 GND
4 SignalRelay INESP32 D22
5 PowerRelay VCCESP32 5V
6 GroundRelay GNDESP32 GND
7 SignalRelay COMCar 12V +
8 SignalRelay NOHorn

3D print files

This project has no 3D-printed parts.

Code

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