Sensors & Circuits

From CCRMA Wiki
Revision as of 22:00, 25 June 2007 by Carrlane (Talk | contribs) (Rotary Encoders)

Jump to: navigation, search

Rotary Encoders

Quadrature.png

The above diagram demonstrates two signals in a quadrature relationship as the signals from the two lines of the rotary encoders are. Note that Phase A leads Phase B by 90 degrees when looking from left to right. Looking from right to left the opposite is true. This is directly analogous to the change in signal relationship when the rotary encoder is turned the opposite direction.

Encoder filter.png

This filter circuit helps to stabilize the output of the shaft encoder and reduces noise by introducing pull-up resistors and low pass filters with cut-off frequency of ~ 1.6kHz on each of the two output pins.

Hall Effect

Mulitplexing

IR Distance

Sharp

Reflective Optical Sensor

The reflective optical sensor ( Datasheet ) consists of an infrared LED, labelled "E" for Emitter on the diagrand and on the package, and a phototransistor that passes an amount of current proportional to the reflected light received. The phototransistor is labelled "S" for Sensor. The one leg of the sensor is connected to +5V, which supplies current, and the voltage drop across the 10k resistor that we measure is proportional to the amount of current.

There is a continuous voltage response for objects over a short range of proximity to the sensor. The response is not linear. Linearity can be approximated by the log of the log of the signal.

Optical.png