I just started playing with the Arduino, got it last pay day and it's quite fun! I'm looking at accelerometers for my own project, and I'd like to find out the difference between using accelerometers that have analog vs digital outputs. The only place where I found _some_ info was in this data sheet: http://www.freescale.com/files/sensors/doc/app_note/AN3468.pdf
From my basic understanding for accelerometers with analog outputs
- Can be read in by arduino's analog pins using analogRead()
- From http://www.arduino.cc/en/Reference/AnalogRead
- it seems that with an analog accelerometer, I can sample it several thousand times a second.
- ADC of the arduino is 10bit; if I want a finer resolution, I may need to look into an external ADC?
- Using i2C or other protocols, so there is a library to use
- There is a limit on how fast you can sample the data
- Some I've seen have 13 bit adc resolution
A little on my project, it's very simple. I want to attach LEDs to my arm, if I'm say, squatting down, the number of LEDs lit up will depend on how fast I move. Conversely, if I'm jumping up, another set of LEDs will indicate upward movement, with the number of them indicating how fast the upward movement is.Question 1:
In such a case, what kind of accelerometer would make more sense?Question 2:
Recommendations! I'm looking for a 3-axis accelerometer, my budget is £30-50. It's not solely for this project it's going to be recycled for other purposes, so I don't mind purchasing something more expensive, say with gyro on board.
Thank you! I hope the info provided is sufficient.