Project involved designing and manufacturing prototype of on-bike car detection system. Two devices were used: ESP32 board with distance sensor, and a Android phone.
Main goals
- detect distance to passing cars using ultrasonic sensor
- raise alarm when measured distance was lower than threshold
- make a car photo using Android device, using BT connection to trigger camera
Hardware
I've used ESP32 board with HC-SR04 ultrasonic sensor.
Software
I've made an Android app that connects to the ESP32. When ESP32 sends proper signal, app makes photo using phone camera.