Go Down

Topic: Interfacing ADXL335 with processing (Read 983 times) previous topic - next topic

tommydeaks

Hi there,

I'm new to Arduino and Processing, so apologies if this seems a rather easy or trivial question.

What I would like to do is produce a graphic in Processing which mimics the movement of said accelerometer. If anyone has any code for this, I'd be more than grateful. What I would like to produce is something like this - http://www.youtube.com/watch?v=l79ZiwbaHJY&feature=related.

Thanks

tommydeaks

I've been able to get a program for Processing to visually represent data -

but now, how would I go about sending the data from the accelerometer to Processing so it can be displayed?

dxw00d

How does the ADXL335 connect to the Arduino?

tommydeaks

The VCC to the 3.3v pin on the board, GND to the GND pin, x axis to A0, y axis to A1, z axis to A2.

It's an arduino uno, if that is of any relevance.

Go Up