Pages: [1]   Go Down
Author Topic: Impact Measurement  (Read 372 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, I am trying to create a device that will be able to measure the force of impact from when I drive a toy car into the wall, so far i have been told to use an accelerometer but have not been given much detail other than that. I have an accelerometer mounter on my Arduino Uno board and have used the ADXL3xx code given in the tutorials to produce some data, but how would I graph this data into something i can read? Thank you very much.
Logged

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

Hi, I accelerometer mounted on my Arduino Uno board and have used the ADXL3xx code given in the tutorials to produce some data, but how would I graph this data into something i can read? Thank you very much in advance. (I have zero programming knowledge)
Logged

Seattle, WA USA
Online Online
Brattain Member
*****
Karma: 644
Posts: 50475
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
but how would I graph this data into something i can read?
On the Arduino? Seems unlikely, doesn't it?

Quote
and have used the ADXL3xx code given in the tutorials
Oh, well that's clear what code you have. As mud.
Logged

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

What would you suggest? Im trying to create an Impact sensor/measurer
Logged

Seattle, WA USA
Online Online
Brattain Member
*****
Karma: 644
Posts: 50475
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
What would you suggest?
I'd suggest that you start by posting the code that you are using, and any debug output you are seeing.

I'd further suggest that you define what you want to graph, and where you want that to happen.
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 309
Posts: 26528
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
, but how would I graph this data into something i can read?
You could import your data into a spreadsheet, and use graphing from there, or you could write a Processing application to do it for you.
The thing to remember is that impact events are very short, and you don't want to be wasting too much time printing values whilst the event is occurring, so you maybe want to have a circular buffer scheme that buffers readings as fast as possible, and only prints the results when they've finished.
You don't have a lot of memory to do this, though.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 309
Posts: 26528
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Two very similar topics merged.
OP - do NOT cross-post, it wastes time.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Pages: [1]   Go Up
Jump to: