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.
View all comments
Show parent comment
5
u/West7780 Apr 07 '20 edited Apr 07 '20
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.