Project 2 - Measuring distance of an object using ultrasonic sensor (HC-SR04)
Aim:
To implement code for “Measuring distance of an object using ultrasonic distance sensor (HC-SR04).
Objective:
- Measuring the distance of an object using Ultrasonic Distance Sensor (HC-SR04)
- Usage of Input Capture Mode
Deliverables:
- The distance travelled by a wave to the object for which we want to measure the distance using Ultrasonic Distance Sensor (HC-SR04).
- Measuring Pulse width using Input Capture Mode of Timer 1