IOT Del Later
IOT Del Later
IOT Del Later
COMPONENTS REQUIRED:
You will need the following components −
1. Arduino Uno R3 board
2. Ultrasonic sensor (HC-SR04)
3. 16×2 LCD I2C Display
4. Jumper Wires
THEORY:
Ultrasonic Sensor:
An ultrasonic Sensor is a device used to measure the distance between the sensor and an object
without physical contact. This device works based on time-to-distance conversion.
PROCEDURE:
Connect the Echo pin of the sensor to the D2 pin of the Arduino.
•
• Connect the Trig pin of the sensor to the D3 pin of the Arduino.
• Navigate to Tools and select board and port.
• Verify and compile the code, then upload the code to the Arduino Uno R3 board.
KARAN KATYAL 21BCS5815
• Monitor the output in the Serial monitor (Set the baud rate as 9600). To open Serial
monitor Tools>Serial Monitor or (Ctrl+Shift+M).
LEARNING OUTCOMES: