Pages

Wednesday, 13 April 2022

                                                              EXPERIMENT NO 6 

                                                             IR (Infrared) Sensor

Aim: 

To Interfacing IR sensor with ESP32-Microcontroller module

Description: 

To learn how to read values from an IR sensor using ESP32-Microcontroller

Hardware required: 

ESP32-Microcontroller Development board, IR sensor, F-F Patch Chords


Procedure: 

1. Connect P2 port pins (5, GND, 3V) to IR Sensor pins (OUT, GND, 5V) using patch chords as shown above. 

2. Connect the USB cable to the board. 

3. Open Arduino IDE .Select DOIT ESP32 DEVKIT V1 in boards and select COM port. 

4. Write the program, verify and Upload it.

5. Now you can see the output on the serial monitor.




No comments:

Post a Comment