Sensors

Accelerometers, Gyroscopes, Temperature Sensors, Pressure Sensors, ...

General
A sensor is a device that converts some physical measurement into an electrical signal. This allows remote sensing, display of variables, and recording of values. There are a wide variety of sensors, we touch on them only fairly briefly here. Note that some standard components can be used to make or as sensors by themselves. A normal signal diode, for example, has a forward voltage drop that depends on temperature. Thus it can be used as a temperature sensor. In "Further Reading" we have some good references for more information on sensors and interfacing to sensors.

Accelerometer
These measure ( gasp ) acceleration. May be caused by gravity or the second derivative of position ( relative to an inertial frame ). Since acceleration is a vector to go the whole distace you need a 3 axis sensor, but often 1 or 2 D will do. Often the output is a voltage(s). Feed it to a microcontroller with an a to d converter, perhaps through an operational amplifier. Op amp


 * Accelerometer 101: Understanding the Nike iPod Sport Kit Sensor


 * Accelerometer Breakout Board - ADXL322 +/-2g SKU#: SEN-00849 Price: $29.95 From SparkFun. Also links to other info.


 * Buffered ±2g Accelerometer Product ID: DE-ACCM2G Price: $22.95 Also other links.


 * PIC Links Then search for Accelerometer.


 * "Accelerometer Interface using PSoC - AN52678" describes several accelerometer types, and gives detailed information about interfacing the KXSC7-2050 tri-axis accelerometer.

Capacitive Sensor
A capacitive sensor ("capsense") measures capacitance, but normally this is the means to measuring something else: for example moving your hand close to a metal plate increases its capacitance to ground. Measuring the capacitance thus measures the the touch (capacitive touch sensor) or near-touch. Two insulated electrodes on either side of a glass tube can detect the presence of water in the tube by the change capacitance.


 * Unorthodox Engineers: "Touchpad Project" is an open-hardware cap-sense device with a 4x5 node grid of plates. Is it a sensors?
 * Building a Capacitive Liquid Sensor
 * "Two-element capacitative touch sensor" with an Arduino. Hints at how to extend to more elements.
 * Capacitive Sensors a pdf

Mark Lee. "Build A Touch-Sensor Solution For Wet Environments". Electronic Design 2008.   

[Is this useful for multi-touch?] Motorola E-Field Sensor Contest http://www.jandspromotions.com/efield2003/index.htm Is there any difference between a "E-Field Sensor" and a capacitive proximity sensor?

Some kinds of capacitive sensors can be used as sensorss for a multi-touch display.


 * Photos tagged "capsense" on Flickr:.

Sparkfun discussion forum: "Touch Sensing using only two pins with no extenal components"


 * Sparkfun discussion forum: "QT Series Touch Sensors."

Sparkfun discussion forum: "Capacitive Touch Sensor"


 * Sparkfun discussion forum: "LPC2148 project with a lot of goodies" (including capacitive touch sensor)

Sparkfun discussion forum: "Using a battery as a touch sensor"


 * CapSense forum at PSoC Developer

Current Sensor
Perhaps the most basic current sensor is the resistor. Current is converted to voltage via ohm's law. Typically small values of resistance are used, ranging from say 1 ohm down. Processing of this signal may then be done with op amps to change the ground reference or scale the values. Some integrated chips are available for this type of processing.

Another current sensor is the Hall Effect sensor, this actually senses magnetic field, but currents produce fields. Signals from Hall Effect sensors are typically small so again op amps may be used.

See current sense for many examples.

Gas sensor

 * [[Image:4514.jpg|100px]] MiCS 4514 CO and NOx sensor

IR Infra Red Sensor Reciever Detector

 * See Light Sensor
 * Infra Red Receiver Pinout
 * Passive infrared sensor From Wikipedia, the free encyclopedia
 * IR detector Make remote controls and listeners

Knock Sensor

 * Knock Sensor
 * Any sound sensor, microphone, will be sensitive to Knocks
 * piezoelectric sensor ("piezo") Electric unit can both produce and detect vibrations Wikipedia: piezoelectric sensor

Light Sensor

 * photo diode
 * photo transistor
 * LED: a light-emitting diode can be wired "backwards" and used as a light sensor. See light-emitting diode
 * Solar Cell
 * Photo resistive cells

Linear Encoder
Like rotary encoders but for linear motion. Modern digital calipers are based on this technology ( i think ). Positioning of print heads in computers may also uses this to position the print head.

Magnetic Field Sensor
A magnetic field sensor is used inside some kinds of current sensor: current sense
 * Hall effect sensor
 * EDUCYPEDIA - electronics Hall effect sensors
 * Electronics Tutorial about Hall Effect Magnetic Sensor
 * "Planar Hall sensor for influenza immunoassay" by Louise Wellendorph Ejsing 2006

Pressure and Barometric Sensor
Solid state units have become available for this. We need more material here. They can be used for weather stations, measuring altitude, or measuring pressure.


 * Mouser All Products » Sensors » Pressure Sensors » Board Mount Pressure Sensors » MPX4115A

Rotary Encoder
A rotary encoder is a device that measure ( or encodes ) rotational motion. The old fashioned mice with a ball used dual rotary encoders one to measure motion in the x direction one to measure motion in the y direction. This may be done using switching technology or by using optical methods ( so some encoders may be considered optical electronics, optoelectronics ). Even stepper motors may be used as rotary encoders. It normally requires a microcontroller ( or specialty chip ) to decode the signals. In addition to mice rotary encoders are used for the user control on volume controls ( finally coupled to say digital potentiaometrs ), measure the position of joints in robots, or measuring the speed and/or position of motors ( as in some servo motors ).


 * Reading Rotary Encoders
 * An Electronic Counter Project for Digital and Analog Signals, including Quadrature Encoders
 * Inexpensive rotary encoder
 * Rotary Encoders
 * Experimenting with Stepper Motors as Rotary Encoders using a PIC running BoostC Project
 * Rotary encoder based cooking timer

Stress Sensor
One type is know as a strain gage. Often based on materials where the resistance varies when elongated. Typically have very small signal output that are measured in bridge configurations.

Temperature Sensor
Some are analog some are digital. All can use microcontroller interfaces again digital or analog. Two analog devices are LM34 and LM35, they are very easy to use because the voltage output is directly proportional to the temperature. Dallas semiconductor makes a line of sensors based on their one wire networking, cool. Temperature may also be sensed by thermistors ( temperature sensitive resistors ), the forward voltage on a diode ( or transistor ) or by thermocouples ( junctions of two different conductors ). Thermocouples can work up to almost the melting temperature of the conductors. You can also sense temperature based on the light emitted ( usually ir ) from the object. Many of the temperature sensors can be highly non-linear in their response, programming in a microcontroller can be used to linearize the readings.


 * Water proofed temperature sensor from instructables.
 * thermistor test result from mainland china - shenzhen

multi-touch sensor
A few kinds of sensors can be used to detect and locate multiple simultaneous finger-presses. Such sensors are necessary for a multi-touch display.