Monday, March 23, 2009

My Girls with an accelerometer

Last week, I finally got to play with an accelerometer for the first time. This accelerometer will tell the system when it's upright, and help it balance, or at least that's the plan. I need to spend more time with it, and with sequencing the reading and writing from the accelerometer and to the motor transistors, but so far I had some fun rigging it up with a Pd patch, using the new USB BUB board and latest BareBonesBoard, both from
ps. - I'm glad the USB BUB board exists now, for a nice easy way to get the USB connectivity I like for Arduino-Pd stuff, using a cable people could buy off the shelf, not like the old solution for BBBs, a TTY USB adapting cable that was sort of expensive and easy to hook up backwards.



Anyway, this video is what I did. Thanks for the code:
I changed it a little to give Pd messages I'm used to working with (I'm sure there are better ways to send this information serially, but this seems fast enough) and rigged it up to control the volume and playback speed of a loop of Animal Collective's "My Girls." Fun Fun : )

No comments:

Post a Comment