ModGrasp
A Wave Simulator and Active Heave Compensation Framework
JOpenShowVar, a communication interface to Kuka robots

Tag: i2c

2014, September, 26 Filippo Sanfilippo 0

PmodACL accelerometer: sending data from Arduino to Processing with the I2C protocol

Some of my students had some troubles when using the PmodACL accelerometer sensor with the I2C protocol to communicate with Processing. Basically, from time to time the accelerometer sends some extra information concerning the state of the I2C channel. From the Processing side, we need to clean up and ignore these extra data before parsing the information. Also, from time to time, it seams that not all the values are transmitted by the accelerometer. Here a possible solution.

Filippo Sanfilippo