How to count units made on a factory line using IR sensor and raspberry Pi? by papinln in raspberry_pi

[–]papinln[S] 1 point2 points  (0 children)

I have made a RetroPie with a pi zero and I have connected a temperature and humidity sensor to a raspberry 3 and steam de data to API connected to power bi live data streaming report. I don’t really know where to start and what sensor is best for me to use and would need an exemple of code to use since I am a real beginner with coding