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




dataviz0
waveshield
WE_01
niamh1
pd
A95E0A80A75B47F3A8010649BD31E2A7-0000314425-0002932000-00450L-38F48F0FEC7447CE8851E96B8464F8FB
pi_data

Host / Partner

Partners