Wiimote car accelerometer


This one’s pretty simple, but anyone who’s ever spent time tweaking an engine will appreciate it. [Kevin]‘s been using a wiimote to measure the acceleration of his car. He put together a script to dump the accelerometer output to a CSV file, then graphed it with Excel. He notes that the accelerometer output isn’t that precise, but it’s good enough to give you feedback on your mods.

Comments

  1. Ato says:

    Awesome, this is a pretty interesting way to take the wiimote to the next level.

  2. hot-rodding and spreadsheets–now there’s a fun match!

  3. Erik says:

    I wish I could download the information from the accelerometers built into my car stereo. I can measure HP and gravity forces (both accel/decel and turning) and it shows that on the screen, but it would be fun to actually see a graph of all of the data.

  4. CaitSith2 says:

    A Nintendo DS could also be used for this purpose, with the DS motion pak / DS motion card (Available at http://ndsmotion.com/ ), along with a DLDI ( http://dldi.drunkencoders.com ) write capable flash device to fill the other slot. The software to load onto that flash device can be found at http://ds.caitsith2.net/NDSMotion%20Logger.zip

  5. Bruno says:

    Hey! A vortex guy! Cool!

  6. Sp`ange says:

    So, if you have start location, acceleration, braking and turning data, couldn’t you take that information and apply it to a map. Some Google maps api action could map your trip or give you your current location.

  7. David says:

    I’ve been waiting for this. This is cool!

    @6: This is way too inaccurate to do that, but if you got really, really accurate accelerometers, then yes, that would work for short distances.

  8. carlton says:

    @sp`ange: in theory, yes. in application, the ADXL330’s used in Wiimotes just isn’t that great. they are great for measuring general acceleration, but not precise enough to figure out position acceptably. the amount of error you get would be tremendous for trying to figure out position and such. multiple accelerometers in different locations working to get an “average” position or something would work much better.

    course, you could try with just one wiimote and prove me wrong; I bet the error would make figuring out position and such very difficult.

  9. confuted says:

    #6, in theory, yeah. But you have a lot of noise in that kind of data, and MEMs systems (like the accelerometer and gyros) tend to experience null drift – the ‘at rest’ level moves around (slowly). Null drift isn’t a problem on short time spans because the null level is approximately constant over short times, but over minutes or hours, you need a reference to re-zero your signal; that’s what the Wii light bar does. If you integrated all the data/errors to try to get a map of distance, I suspect you would end up with nothing but garbage.

  10. Kevin Lee says:

    actually, yeah, I thought about that. it’s only one multiplication away to get distance calculations. but then i figured that people can just use GPS to get all that done.

  11. Ted says:

    The 0-60 times it generated seem awfully slow for the two cars measured…

  12. Ben says:

    Gah, I’ve been working on this very same idea but done properly. The wiimote is accurate enough to tally up with my gps so I’m assuming that there is just some cumulative error with his ‘high school physics’

  13. Kevin Lee says:

    wouldn’t be too hard to position several wiimotes in the car to get more accurate readings. pitch, yaw, roll, etc… it would also require a better means of of securing the device to the car.

    I’m only using the “G” values, which I presume are already post-processed. Someone else can use the rawaccel_ values for more accurate readings. The G values were just more convenient.

  14. Ben says:

    mmm You would need 3 wouldn’t you but then it becomes cheaper to use a gyro in combination with the accelerometer.

  15. ed3 says:

    Hmmmm… How about using the Wiimote to control a dash-mounted motorized camera to make it “turn into” the curves?

  16. The lame thing about this is that there are several other simpler, pure accelerometer chip devices you can already hook up to a computer to do this. This is a pretty bad way to go about taking these measurements, especially since using precision accelerometers is already cheap and easy. But good aplication of the Wii-mote none the less…

  17. chadz says:

    WOW!!! I’m not the only Vortex guy to read this! I feel better now.

  18. nathan belomy says:

    Next thing you will be able to use the Wii remote to order pizza.

  19. a says:

    get a life your all sad

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 96,678 other followers