For this project, I developed a wireless motion detection system using two ESP32 microcontrollers, a PIR motion sensor, and Bluetooth communication. The goal was to wirelessly transmit a motion detection signal to a second ESP32, which then displays a notification through an LED, a buzzer, and a TFT display.
When the motion sensor detects movement, the first ESP32 immediately sends a Bluetooth signal to the second ESP32. This ESP32 then activates:
- A LED that lights up
- A buzzer that emits a sound signal
- A message on the TFT display, for example: “Motion detected!”
This project was a great exercise in combining hardware and wireless communication. I worked with the Bluetooth functionality of the ESP32, reading sensor data, and controlling different components like a buzzer, LED, and display.
Main functionalities:
- Wirelessly sending motion detection signals via Bluetooth
- Activating an LED and buzzer when motion is detected
- Displaying a message on a TFT screen
- Optionally counting the number of motion detections
This project taught me a lot about Bluetooth communication between microcontrollers and integrating various hardware components into a single working system.