Take the car model you build in Task 3. Now add IR Proximity and Color Detection Sensor.
This sensor comprises of two parts IR-LED and Photo Diode. IR-LED (Infrared Transmitter)
emits light of Infrared range 700 nanometers (nm) to 1 mm. This is not visible by human naked
eyes but visible by the camera. The other part is Photo Diode, which detects light that comes
back to this Photo Diode after getting reflected by an object. Depending on the distance between
IR-LED and object, this reflection and reception by Photo Diode varied which gives change in
input voltage. This voltage is used to get Proximity of the object. Now, let’s look at this ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.