adxl345_to_arduino_uno.png

屏幕快照 2016-11-29 上午6.28.42.png

Connection & Working Principle diagram from “Sparkfun”

After talking about my concpet with Gareth and Nicolas, they suggested me to use the accelerometer sensor to track the feet movement and transfer the data to the arduino, and the arduino with send the order to motors, and the two motors will activated the movement of the physical installation in different directions.

After my research online, I found that the ADXL345 is a small, thin, low power, 3-axis accelerometer with high resolution (13-bit) measurement at up to ±16 g. In addition, the digital output data is formatted as 16-bit twos complement and is accessible through either a SPI (3- or 4-wire) or I2 C digital interface. It is a very sensitive sensor and easy to use, and then I programmed it with arduino and made it basically work first.

In the working principle, it works in four different channels, the GND, VCC SDA and SCL respectively. The GND and VCC supply the power for the accelerometer, at the same time the SDA and SCL responsible for transfering data form X, Y, Z.

屏幕快照 2016-11-29 上午7.00.32.png

屏幕快照 2016-11-29 上午6.26.12.png

Programming after discussing with Gareth

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s