pinMode(IR_Pin, INPUT); // make the IR pin an INPUT: pinMode(GLED_Pin, OUTPUT); // make the LED pin an OUTPUT: pinMode(RLED_Pin, OUTPUT); // make the LED pin an input: ...
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 ...