Go Down

Topic: E GOAL! (Read 454 times) previous topic - next topic

Dewalt

Apr 24, 2012, 07:10 pm Last Edit: Apr 25, 2012, 01:42 pm by Dewalt Reason: 1
I need to programm arduino and read signal from four straungauge base sensors sample @ 10 KHZ. About 5-6 mS between mesurements.

Topic: The aim is to make a goal that can measure the speed and accuracy of a ball landing on it. A suggestion of implementation is to make straingauge based sensors and interface them to an Arduino board.

I have Arduino Uno, it is possible to sample at this high freq right?
How can I transfer mesurments to EXEL or MATLAB?

Can u please help me?

robtillaart

Quote
s sample @ 10 KHZ. About 5 mS between mesurements


how do you do that?  10.000 measurements with 5 ms in between makes at least 50 seconds in my math, or did I miss something?

Quote
I have Arduino Uno, it is possible to sample at this high freq right?

An Arduino can sample at 7-8 Khz if you use analogRead(), should be enough to get started.

you can get higher sampling speeds - http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1208715493/11 -

Quote
How can I transfer mesurments to EXEL or MATLAB?

You can send the values to any PC over a serial port. Capture the data with a terminal like putty.exe

This code should get your started
Code: [Select]

void setup()
{
  Serial.begin(115200);
}

unsigned long lastTime = 0;

void loop()
{
  while (micros() -100 < lastTime);
  lastTime = micros();
  unsigned long value = analogRead(A0);  // to be replaced by fast analogRead
  Serial.write(value);
}


Quote
Can u please help me?

just did, now it is your turn to make the next step.
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Dewalt

Thanks a lot, I was pretty lost today! Hope I have now something to start with!

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy