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




relay
IMG_20121015_145237
arduino2pd
3d_dave
dspd_0
masterclass1_32
P1060352
shop

Host / Partner

Partners