How many cars are driving on a given street each day? How do temporary or permanent measures affect the traffic flow? Which street in a city is the most used? Which one is the bottleneck?
What it does
The device detects vehicles using an ultrasonic sensor. It measures the length of the passing vehicle and classifies it into a vehicle category. The detected counts are routinly sent via LoRaWAN. Our backend retrieves that data, saves it in a database and allows to view traffic information in real time on a web map. The colours are basically as one would expect it on Google Maps. Google Maps displays the road utilization by the number of devices and their speed in the choosen road section.
How We built it
- ESP32 LoRaWAN Devboard
- MaxSonar Ultrasonic Sensor
- 3D Printed Enclosure
- C++ + Arduino (Embedded)
- Python + Django (Backend)
Challenges we ran into
- Measuring a cars length requires its speed
- Measuring a cars speed requires its length
- Production of a custom PCB
- Installation in a first city
- Compatibility to existing Smart City Solutions