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).




join
161977-50d1e5e5e445e
P1060352
arduino2pd
Screen Shot 2013-05-16 at 09.31.31
ADXL345
masterclass1_32
dspd_0

Host / Partner

Partners