Bike Eye
Objectives
- Detect cars behind cyclist and alert the cyclist audibly and visually
- Provide a cheaper alternative to cycling radars like Garmin Varia
Process
- Tested an ultrasonic rangefinder, but its range was too limited
- Decided to use an ESP32 camera board with a machine learning model to detect cars
- Programmed in C++ using ESP-IDF
- Code based off of TensorflowLite image classification and Espressif SD Card examples
- Initial version of firmware only collects photographs and saves to SD card
- Collected about 1100 images to train ML model
- Designed case in Onshape, 3D printed in PLA
- Used velcro to attach electronics
- Powered by Li-Ion Battery
Future Work
To complete this project, I will need to:
- Add TensorflowLite model to firmware
- Create alert system
- Buzzer, if loud enough, or display mounted to handlebars
- Expand case
- I think a larger battery will be necessary
- Road-test completed device and collect more photos for continued training
Initial ultrasonic rangefinder prototype
Complete Bike Eye unit
Additional Photos
Bike Eye attached to my bike
Sample image taken by Bike Eye
ESP32 camera board with Li-Ion Battery
← Home