For this project we require an arduino Uno r3 board
A Breadboard
IR sensor module
Few jumper wires
I'm using here male-to-male
Few LEDs
Push-button
Now we will connect jumper wires to our board
Connect Grey jumper wire to pin number three and the red one to ground
Now this orange wire goes to pin number eight
Now this orange wire goes to ground
Now connect these red and gray jumper wire to LEDs
Now the orange jumper wires will go to push button
Now let's have a look at our code
So this is our code
Now first of all, we will compile the code by clicking this tick button
Now after compiling the code let's upload the code to our board
Now our project works as expected
Now to add IR Sensor instead of push-button we will add a new wire which will go
to VCC pin of IR sensor module and the
5 volt pin of arduino  UNO board
Now just hook up the IR sensor module and our project starts working as expected
There is no need to change the code
Code for both the project remains the same
Don't forget to like, share with your friends and subscribe to my channel to get such more video.
