Shop Learn P1 Docs P2 Docs
Accelerometer on RC Car — Parallax Forums

Accelerometer on RC Car

edited 2010-05-06 09:08 in BASIC Stamp
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 = v0 + at and·x = x0 + v0t + 1/2at2 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".· 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


Sign In or Register to comment.