I am trying to plan out (on paper for now) a new project that will require an accelerometer..
The board I will be using.. and re-designing to add in an accelerometer is more or less..
an Arduino and Adafruit Waveshield merged into an all-in-one board..
Here is my custom board shown against an Uno with Waveshield stacked on top:
This is my 'go to' board for my prop projects.. (when I need audio)... and so far has server me great.
I have always wanted to re-design it.. and add a few more features to it..
in this case, I had always kicked around the idea of breaking out pins A6/A7 and using one of the currently broken out Ax pins.. to read/connect to a analog accelerometer...
I havent looked into this too much.. but from what I gather/understand.. the A6/A7 pins can ONLY be used as input pins.. correct?
(so I'm still ok to use them with an analog based accelerometer.......yes?)
I see the ADXL345 accelerometer is a pretty popular accelerometer to use as well...
however this is an I2C based chip... (which I have never worked with before)..
The board will playing audio.. and controlling other components.. (leds...or possibly some servos..etc)..
My question.. or more so,.. looking to get some shared experiences..
On what would be the best route here?
or an Analog based accelerometer with pins A6, A7 & Ax connected to it?
Anyone foresee any problems with going with either? While the 'waveshield' is playing audio? (interrupt based from what I gather, Timer1)
- Timer 2 is often used to work with connected servos (SeroTimer2 library)
Looking for some discussion on this topic.. pros/cons.. things I may be overlooking or not know about that others with this experience can share?
Going out of town for a week or so.. and want to discuss, and have a plan of action for when I return.