This is a demo project for the Pmod ACL made by Digilent. The X, Y and Z components of the acceleration are measured and displayed on the Serial monitor. To control the Pmod, an Arduino UNO is used, which also sends the data to the computer. To communicate with the peripheral device, I2C communication protocol is used, the accelerometer is found at address 0x1D. With the help of the control registers resolution and full scale can be modified. Data is displayed a set of measurements in a line.
Output of the Pmod ACL test program