Pages: [1]   Go Down
Author Topic: Interfacing ADXL335 with processing  (Read 909 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Thanks
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Gosport, UK
Offline Offline
Faraday Member
**
Karma: 21
Posts: 3113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

How does the ADXL335 connect to the Arduino?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: [1]   Go Up
Jump to: