Short Plan
1. arduino + accelerometer2. arduino + BT + accelerometer
1. Setting up arduino and accelerometer
Parts used : Arduino Duemilanove and Sparkfun ADXL345Method
Here is the Fritzig sketch, used the ADXL library code for getting the data
This arrangement allows I2C communication which is said to be slower than SPI. My attempt to run the Sparkfun SPI tutorial was sour, but this worked here is the blog that helped. Ignoring the added voltage divider will also work.
So far my Arduino BT-06 has not been working nicely, on mu Ubuntu 14.04, I am having issues pairing it. Now I will try SPI, whatever works will be made portable. Then focus will be on data collection and handling.
2. Arduino + BT
Having difficulties pairing it to my lappy, or else I will have to make do with a circuit connected to my PC.
No comments:
Post a Comment