Challenge

This challenge is going to be a little different than most. There isn't really a project to do; instead, it is a thinking challenge. The challenge is to think about how all three of these sensors work can work together to create an autonomous robot. To do this, think about how all three of the sensors work:

  1. Crash sensor: A digital sensor that is tripped when the sensor bumps into something
  2. Infrared sensor: A digital sensor that is tripped when something gets close
  3. Ultrasonic range finder: Analog sensor used to detect how far an object is from the sensor

Here are the answers:

The Ultrasonic range finders are the most expensive by far, so I usually use only two of these sensors facing out form the front of the robot. These are used ...

Get Mastering Arduino now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.