Projects / Ideas / Road traffic counter

Road traffic counter

IntermediateVehiclesIdeaReviewed
In short

How do you build a road traffic counter?

A roadside unit counts vehicles and estimates speed with two beam sensors a known distance apart. You need ESP32 DevKit V1, MicroSD Card Module, SanDisk microSD card 32 GB (A1, Class 10), DS3231 RTC module, Laser distance sensor (TF-Luna LiDAR) × 2 and Li-Po battery 3.7 V 2000 mAh.

Level
Intermediate
Time
About 300 min
Parts
6
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal

Measure speed from two timed events.

How to build it

  1. Mount two sensors 1 m apart
  2. Time when each beam is blocked
  3. Work out speed
  4. Count vehicles per 15 minutes
  5. Log to SD with time

Related projects

Common questions

What parts do I need for the road traffic counter?

ESP32 DevKit V1, MicroSD Card Module, SanDisk microSD card 32 GB (A1, Class 10), DS3231 RTC module, Laser distance sensor (TF-Luna LiDAR) × 2 and Li-Po battery 3.7 V 2000 mAh.

How long does the road traffic counter take to build?

About 300 minutes for a intermediate maker.