The circuit diagram below represents how an Arduino ... Here Digital pin 2 is connected to the IR sensor 1 signal pin and Digital pin 3 is connected to the IR sensor 2 signal pin. int in_count = 0; // ...