3-axis Accelerometer

Using this tutorial we quickly managed to connect the ADXL345 Accelerometer from Arduino to Puredata. Get the sensor from Sparkfun here.


Arduino to Puredata (based on code by Sparkfun)
From Arduino we print the value of the 3-axis Accelerometer using: Serial.println(); (Click on icons on the left to download the .ino and .pd files)


Arduino to Puredata (+ Audio out)
From Arduino we print the value of the 3-axis Accelerometer using: Serial.println(); (Click on icons on the left to download the .ino and .pd files).
+ Basic Audio patch triggering sound waves based on activity (no audio if movements below X value, sensitivity can be adjusted by slider).




IMG_20121015_145237
ADXL345
pd
dspd_0
waveshield
383118_10150358302449613_1176794679_n
dataviz0
161977-50d1e5e5e445e

Host / Partner

Partners