Thursday, February 3, 2011

Let's Add Sensors, Part 2

In my last post, we worked through digital inputs using push-buttons, and we also started looking at interrupts.  This time we'll start looking at how to interface an analog sensor.  These sensors can be range-finders (I have a Sharp GP2D12), potentiometers (adjustable resistors) and environmental sensors (temperature, humidity, force, accelerometer, gyros, et cetera.)

Now that we know what we're dealing with, let's get down to business...