Analog sensors produce an analog (continuous) voltage that typically varies from 0 to 5 volts. They have three wires – ground, power, and signal (typically red, black, and white, respectively). Examples shown below include:
Potentiometers typically measure rotation or linear travel, and are used in car stereos, dimmers, equalizers, etc. to input a continuous range of values.
radio shack rotary potentiometer, 10K ohm, linear
Single Turn, 360degree travel, Continuous Turn Pot
10 Turn Pot
digikey slide potentiometer, 10K ohm, linear
Proximity sensors measure the distance from the sensor to an obstructing object in front of the sensor. There are two types, Infrared and Sonar. The infrared sensors are cheaper, but the sonar sensors are typically more accurate.
- Sonar sensor: http://www.sparkfun.com/commerce/product_info.php?products_id=639
- Sonar sensor, fully wired: http://infusionsystems.com/catalog/product_info.php/products_id/159
- 8″ – 60″ IR sensor: http://acroname.com/robotics/parts/R144-GP2Y0A02YK.html
- 4″ – 30″ IR sensor: http://acroname.com/robotics/parts/R48-IR12.html
Accelerometers sense motion and are used to detect changes in position, tilt, and orientation. They come in a variety of configurations (number of axes, e.g.) and sensitivities.
Find Accelerometers on: Sparkfun (USD 29.95+)
Ribbon sensors measure the position of a finger touch across a surface (one dimension only)
Bend sensors measure the bend or flex of what they are attached to.
- Bi-Directional Bend sensor: http://infusionsystems.com/catalog/product_info.php/products_id/54
Pressure sensors measure the amount of pressure, for example of a finger press, or the weight of someone standing on a surface. For wiring these sensors (other than the Infusion Systems version, which comes ready to go), you’ll need to add a resistor in a voltage divider configuration – see the information on the light sensor below, which work the same.
Light sensors can detect the amount of light striking the sensor, which is called a photocell, photoresistor, CdS
To use the photocell, you’ll need to create a voltage divider using a 10K Ohm resistor, similar to how you hook up a switch as described here. A full tutorial on how to do this is on the Adafruit site. Diagrams below from Adafruit.
Temperature sensors measure the air temperature in Fahrenheit or Celsius.
To sense sound level, the sensor needs to translate the acoustic volume (amplitude) of the sound into a voltage. This requires a microphone and some circuitry that creates an analog output that works with microcontrollers.
- Inex ZX-Sound sensor or here
- Infusion Systems Loud Sensor
- SparkFun mic breakout board NOTE: THIS SPARKFUN MODULE DOES NOT REALLY WORK VERY WELL WITH THE TOOLKIT
Multi-touch systems range from the iPhone to large display systems.
The Qprox QT113 acts essentially like a switch, only is activated by touch. The circuit is relatively simple to setup – see this tutorial. Once setup, a lead wire coming from the circuit may be embedded into almost any object, turning it into a switch operated by touch.
|humidity||touch position 2D (trackpad)|
Last modified December 12th, 2012