This is a demo project for the Pmod ACL2 made by Digilent. The three components of the acceleration and the temperature 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, SPI communication protocol is used, which is made simpler by the usage of the ADXL362 Arduino Library. Raw data is displayed one measurement in a line.
As the Pmod is not 5V tolerant, Pmod LVLSHFT is used to convert the voltage level of the signals. The direction switches should be switched towards the Pmod in the case of signals SCK, MOSI and CS, and towards the Arduino in the case of the MISO signal.
Comments
Please log in or sign up to comment.