Инструменты разработки датчика ускорения PmodACL - 3-axis Accelerometer
The PMODACL is a 3 axis digital accelerometer module powered by the Analog Devices ADXL345. The PmodACL uses a standard 12 pin connector and can communicate via SPI or I2C. All communications with the device must specify a register address and a flag indicating whether the communication is a read or a write. This is followed by the actual data transfer. Device configuration is performed by writing to control registers within the device. Accelerometer data is accessed by reading device registers. The SPI interface standard uses four signal lines. These signals map to the serial data and serial clock respectively on the ADXL345.