Okay, so you have a rangefinder – ultrasonic, IR, whatever – what do you do with it? Let’s say you already have your rangefinder hooked up and you’re getting readings from it. You can tell something is in front of you and how far away it is to the inch. Now what? Who is your robot going to tell? What can your code do with that? Here’s a brief practical application or two for rangefinders.


hc-sr04-ultrasonic-range-finder solarbotics-i2c-it-ir-rangefinder sensors_IRtriangle