Accelerometers
important criteria:
- Interface (simplicity, speed)
- maximum acceleration (or desired range) - usually given in factors of earth's gravitation. (3g means 3 * 10m/s²)
- resolution vs. range (bit depth): increased max. range usually is traded against lower resolution.
- noise (the less the better)
- measurement rate (the higher the better)
Examples
- Cheap and easy to source: Wii Nunchuck - 3 axis, interface: i²c (also works on cheap replacement nunchucks)
- Convenient: Sparkfun ADXL335 breakout board - 3 analog voltage outputs, 3 axis.
- MMA7455 SPI/I²C, 3 axis, DatasheetTutorial (German), Arduino library
- ADXL345, SPI/I²C, Datasheet
please leave code exmples here
void foobar () {}