Connect IR sensor on pin 9 and two push buttons on pin 10 and 11, respectively. Also keep an IR remote handy.
The aim of this project is to develop a circuit that can count the number of people entering and exiting a room using two Infrared (IR) sensors connected to an Arduino UNO. This bidirectional counter ...