4/11/2023 0 Comments Proteus ir sensor![]() ![]() ![]() As we are writing the test code, we won’t be uploading it to Uno. We will make our sprite Tobi, say out loud the sensor reading. ![]() Repeat the above two steps until your IR works perfectly fine.Otherwise, turn the potentiometer in the clockwise till the LED turns ON. If the LED is ON, the sensor is perfectly calibrated. Similarly, keep your hand close to the IR Sensor approximately 5cm.Otherwise, turn the potentiometer using a screwdriver in the anti-clockwise direction until the LED turns OFF. If the LED is OFF, then you need not do anything. Keep your hand at some distance from the Sensor approximately 15cm. ![]() Then, its the time when you need to calibrate your IR Sensor. What if the LED does not turn ON or OFF when necessary. If the LED turns ON when you bring your hand near to the IR Sensor and turns OFF when you take your hand away, indicates that the IR Sensor is working properly. Then, click on the Connect button and select the appropriate port.Click on the Board button in the toolbar and select Arduino Uno from the drop-down menu.Then, connect the sensor’s out pin to Uno’s digital pin 2 using a green male-to-female jumper cable.Ĭonnect Uno to your computer with the help of a USB cable.Next, connect the sensor’s ground pin to Uno’s ground pin using a black male-to-female jumper cable.Connect the sensor’s VCC pin to Uno’s 5V pin using a red male-to-female jumper cable. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |