Martha MigliacioAlex Wong
Published © GPL3+

Using the Pmod ACL2 with Arduino Uno

Application notes for Pmod ACL2 and Arduino Uno. The 3 components (X, Y, Z) of the accelerometer are displayed in the serial monitor.

BeginnerShowcase (no instructions)1 hour402
Using the Pmod ACL2 with Arduino Uno

Things used in this project

Hardware components

Pmod ACL2
Digilent Pmod ACL2
Arduino UNO & Genuino UNO
Arduino UNO & Genuino UNO
Adafruit 8-channel Bi-directional Logic Level Converter - TXB0108

Software apps and online services

Arduino IDE
Arduino IDE


Read more


Pmod ACL2 and Arduino Uno Code

Using this code will display the 3 components X, Y, Z of the accelerometer in the serial monitor.
* Test of the Pmod ACL2
* Description: Pmod_ACL2
* The 3 components X, Y and Z of the accelerometer are displayed
* In the serial monitor
* Material
* 1. Arduino Uno
* 2. Pmod ACL2 (dowload library
* 3. Adafruit module TXB0108

// Call of libraries
#include <SPI.h>
#include <ADXL362.h>

ADXL362 accelerometre; // Creation of the object

int composante_X;
int composante_Y;
int composante_Z;
int temperature;

void setup(void)
 Serial.begin(9600); // initialization of serial communication
 accelerometre.begin(10); // initialization of the accelerometer

void loop()
 // Acquisition of accelerometer data
 accelerometre.readXYZTData(composante_X, composante_Y, composante_Z, temperature);
 Serial.print(" composante_Y=");
 Serial.print(" composante_Z=");


Martha Migliacio

Martha Migliacio

5 projects • 8 followers
Alex Wong

Alex Wong

5 projects • 20 followers
I work in Digilent and like creating projects
Thanks to Lextronics.


Add projectSign up / Login