Hardware Reference
In-Depth Information
Figure 3-7: Voltage to Temperature Correlation
Triple Axis Analog Accelerometer
www.exploringarduino.com/parts/TriAxis-Analog-Accelerometer
Triple axis accelerometers are great for detecting orientation. Analog
accelerometers output an analog value corresponding to each axis of
movement: X, Y, and Z (each on a different pin). Using some clever math
(trigonometry and knowledge of gravity), you can use these voltage values
to ascertain the position of your project in 3D space! Importantly, many
of these sensors are 3.3V, so you will need to use the analogReference()
command paired with the AREF pin to set a 3.3V voltage reference to
enable you to get the full resolution out of the sensor.
Dual Axis Analog Gyroscope
www.exploringarduino.com/parts/DualAxis-Analog-Gyroscope
Gyroscopes, unlike accelerometers, are not affected by gravity. Their analog
output voltages fluctuate in accordance with angular acceleration around
an axis. These prove particularly useful for detecting twisting motions.
For an example of a gyroscope in action with an Arduino, check out my
SudoGlove, a glove I designed that captures hand gestures to control
hardware like music synthesizers and RC cars: www.sudoglove.com . Like
accelerometers, be aware that many gyroscopes are 3.3V parts.
Now that you've chosen a sensor, it's time to put that sensor to use.
Search WWH ::




Custom Search