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.
Programming after discussing with Gareth