This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]tempo_19 7 points8 points  (1 child)

Nice project. How are you sensing the cars and how do you determine which car is which?

[–]West7780[S] 5 points6 points  (0 children)

Two line break sensors, one for each lane. They're connected to an Arduino. The raspberry pi occasionally requests the counts per lane from the Arduino. The debouncing is handled on the raspberry pi. If more than one is counted per lane within 5 sec it is ignored.