Pullman, WA 99163
509.334.6306
www.digilentinc.com
PmodACL™ Reference Manual
Revised April 15, 2016
This manual applies to the PmodACL rev. E
Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
Overview
The Digilent PmodACL is a 3-axis digital accelerometer module powered by the Analog Devices® ADXL345.
1 Functional Description
The PmodACL utilizes Analog Devices ADXL345 to provide high resolution acceleration changes including
inclination changes of less than 1.0°. With free fall and single/double-tap detection capabilities, the PmodACL can
be configured to take measurements on the user's whim.
2 Interfacing with the Pmod
The PmodACL communicates with the host board via the SPI protocol or the I²C protocol. SPI communication is
enabled when the Chip Select line is driven low; conversely, the I²C protocol is enabled when the Chip Select line is
driven to a logic level high voltage. An interrupt can be triggered whenever a measured axis acceleration data is
over a user-defined threshold limit. A data stream setting the threshold activity to a value of 250 mg and Interrupt
1 to be triggered whenever the X and Y axis exceeds the threshold level through SPI is provided below in Table 1.
3-axis, ±2/4/8/16g accelerometer
User-selectable resolution
Activity/inactivity monitoring
Single/double-tap and free-fall detection
Small PCB size for flexible designs 1.0 in ×
0.8 in (2.5 cm × 2.0 cm)
12-pin Pmod port with SPI interface and
2×4-pin I²C interface
Follows Digilent Pmod Interface
Specification Type 2A
Library and example code available
in resource center