Networked Objects Project 1

| | Comments (0) | TrackBacks (0)
Physical Computing Improv Project: My action that I've decided on is tapping: tapping 1tapping 2 And my object is pudding: pudding The end goal here, is to have a kinetic motion (pudding jiggling) to happen when a sensor picks up tapping. As a sensor I picked an accelerometer, and as an actuator, I picked vibration motors. The circuit I ended up with looks like this: netobjects circuit The pictures of the final product are here: netobjects-Proj1 And with pudding intact: netobjects-Proj1.1 One vibration motor didn't give enough jiggle, so I used two in parallel: netobjects-Proj1.1-motor The sensor was noisy, and my algorithm was (where X = X, Y, and Z axes): Take Xavg = average sensor reading (20 samples) Xdiff = abs(Xavg - Xreading) If Xdiff > Threshold, buzz, else re-run. The problem with the algorithm, was that as the sensor drifted (as it liked to do), the pudding would start jiggling without reason. I think if I were to do this project again, a better algorithm would be to use the math.h library (it has square root), take a running average of the inputs, and buzz only for any input that's over one standard deviation above the mean.

0 TrackBacks

Listed below are links to blogs that reference this entry: Networked Objects Project 1.

TrackBack URL for this entry: http://www.candersonmiller.com/movabletype/mt-tb.cgi/8

Leave a comment

About this Entry

This page contains a single entry by Anderson Miller published on September 19, 2007 11:45 AM.

Core Design Project 1 was the previous entry in this blog.

Core Design - Project 2 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.1