Maker.io main logo

Too Close! Vehicle distance measure device when driving side by side

2024-01-03 | By M5Stack

Share

License: Apache License, Version 2.0 Arduino

Thanks for the source code and project information provided by @Laurie.

1

2

3

 

Story

 

Development material

3

 

System configuration

  • Connect the ToF sensor and M5Core2 to measure the distance between the car and bicycle.

  • Save distance data to server.

  • Attach a camera to the handle and record a video.

  • Overlay the data onto the video using a Python program.

  • Connect ToF sensor and M5 Core2 to measure distance.

  • Save the distance measurements to a server

  • Take a video from the bicycle handlebars

  • Add an overlay of the data on the video

Background

 

I created this work because sometimes when I ride my bicycle, I feel unsafe because a car is too close.

I wanted to create a prototype in a short time using M5Stack.

I originally planned to save the data to an SD card, but for some reason that didn't work, so I decided to transfer the data to a server.

I think it will be useful in the future for people involved in urban planning and transportation.

If I were to make an improved product, I would like to attach it to the back of a bicycle and point the sensor diagonally to measure the distance and speed of a car coming from behind.

I made this project because sometimes drivers get way too close when I'm cycling.

I also wanted to try using the M5 Stack to make a prototype in short period of time.

I started off saving the data to an SD card but for some reason I couldn't get it to work well, so I ended up sending it to a server via a wifi hotspot.

I think this could be very useful for people working in transportation and town planning.

If I were to develop this idea further I would like to add a sensor to the back of the bicycle pointing diagonally to the rear to give the rider a warning about cars that are about to pass very close.

Número de parte del fabricante K010
M5STACK CORE2 IOT DEV KIT
M5Stack Technology Co., Ltd.
More Info
Ver más Details
Número de parte del fabricante 221001-08
CORD 18AWG 1-15P POLRZ TO CBL 6'
Qualtek
Número de parte del fabricante 0002066135
CONN PIN 24-30AWG CRIMP GOLD
Molex
Número de parte del fabricante 312007-01
CORD 18AWG 5-15P - 320-C13 6.56'
Qualtek
Add all DigiKey Parts to Cart
Have questions or comments? Continue the conversation on TechForum, DigiKey's online community and technical resource.