Welcome to the Parallax Discussion Forums, sign-up to participate.

Andy Lindsay (Parallax)
Posts: **1,888**

The attached "Smart Sensors Excerpt - RC Car.pdf" demonstrates techniques for datalogging an RC car's acceleration with the MX2125 accelerometer and transferring those measurements from the Debug Terminal to a Microsoft Excel spreadsheet.· Once in·the spreadsheet, the measurements can be substituted into v = v_{0} + at and·x = x_{0} + v_{0}t + ^{1}/_{2}at^{2} to reconstruct the car's velocity and position.· Over the eight second test segment graphed in the spreadsheet, the position graph turned out to be remarkably accurate.· The MS Excel spreadsheet is attached as "Spreadsheet - Acceleration Velocity Position Data and Graphs.zip".· Three screen captures are also attached that show acceleration, velocity and position plots.

*Post Edited (Andy Lindsay (Parallax)) : 5/1/2006 6:31:12 PM GMT*

## Comments

7 Commentssorted by Date Added Votes1,8880Vote UpVote DownPost Edited (Andy Lindsay (Parallax)) : 5/1/2006 6:57:03 PM GMT1090Vote UpVote DownI need to find the velocity of a rocket from the acceleration.

Here is the StampDAQ spreedsheet I have come up with so far.

I'm having a little trouble getting velocity and distance traveled. Any suggestions would be great.

1,8880Vote UpVote DownA revised version of the RC Car PDF with equation explanations is attached:

Smart Sensors Excerpt - Rc Car (Revised).pdf··Also, try downloading the spreadsheet where I graphed the RC car acceleration and examine the equations in the cells.· Here's a link to the earlier post with the spreadsheet:

Spreadsheet - Acceleration Velocity Position Data and Graphs.zipAndy

1090Vote UpVote Down10Vote UpVote DownThank you for sharing this with us....

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔

BORROWS

10Vote UpVote Downwhere does the 10538 come from? The doc on accelerometer had only -127 for scaling. Also the pdf with equations (not first) does not read for me.

Thanks

9,7730Vote UpVote DownI'm trying to get the author of this thread to repost the pdf, and maybe answer your question.