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




SONY DSC
arduino2pd
IMG_20121015_145237
small_switch
dataviz0
radius2
relay
making0

Host / Partner

Partners