This document describes a bidirectional visitor counter circuit with an automatic on-off switch. The circuit uses two IR sensors to detect visitors entering and exiting a room. An Arduino counts the visitors and displays the number on an LCD screen. When no visitors are detected, the Arduino turns off a light via a relay. The circuit diagram and Arduino code are included to explain how the sensor signals are read by the Arduino, counted and used to control the light and display the count.