games  anime  |  toys
Destructoid is gaming news, community, videos, and sometimes love. Take the tour or jump in with Facebook:

 


Wiimote hack measures vehicle acceleration photo

There is a lot of technology in the Wii Remotes that we regularly wiggle around. While we were busy aiming for headshots and curveballs, one clever auto enthusiast figured out a way to use the Wii Remote to calculate G-forces and acceleration times. I've never felt so stupid!

VW Vortex is a web site for Volkswagon enthusiasts, and member klee did the fancy math and hacks to use the Wii Remote's accelerometers to measure his car's performance. He combined the Bluetooth accessibility used in other Wii hacks with some software, drivers, and clever scripting to create the system that could gauge his car's 0-60mph times. All of this data was processed in Microsoft Excel, and now you can see graphs and charts of his Jetta's performance.

In his post, klee admits that the results are not super-accurate, as the Wiimote gives G readings rounded to two decimal places, but it's pretty amazing that a gaming controller could be used for this kind of purpose.

If you're one of those big-brained people, hit the jump to see technobabble.

 

I got this idea after seeing some physics class use the wiimote in some kinda pendulum experiment.

Why not use the wiimote's built in 3-axis accelerometers to measue g-forces, acceleration and even calculate my own 0-60mph times!

So I did. I wrote a script to dump all the g-force readings from the wiimote to a comma separated value file, then did some post processing in MS Excel, and voila, I can see every bump, every curve, my acceleration and braking, and even calculated my current speed using high school physics (v=a*t)

I even convinced my coworker to take me out in his E46 M3 to measure his SMG's performance

I admit, it's not super accurate since the wiimote spits out G readings rounded to two decimal places. It also provides other acceleration readings in finer granularity, but I couldn't figure out what metric it was recording in. I used Gs since I knew it was just the acceleration of gravity (9.8 m/s/s).

Here's a copy of the script that dumps everything out to output.txt
All you need is Glovepie v0.29, a Bluetooth dongle with BlueSoleil, the Human Interface Device drivers, and a standalone wii remote!
All the basic instructions on how to get your wii remote connected to your PC can be found here:
http://www.wiili.org/GlovePIE


If anybody wants my excel spreadsheet with the formulas and graphs, you can find it here:
http://people.ucsc.edu/~klee/t...s.xls

//Glovepie v0.29 script

var.t=time*86400

//Writes motion data to file
OutputToFile(RemoveUnits(var.t)+","+Wiimote.gx + ", " + Wiimote.gy + ", " + Wiimote.gz)

debug = var.t+', '+wiimote.gx+', '+wiimote.gy+', '+wiimote.gz

 


Continue: More Wiimote stories





prev next

12 comments | showing # 1 to 12

WinkingEyeAlcoholSuggestion's Avatar
WinkingEyeAlcoholSuggestion at 07/30/2007 11:26
what?
Dale North's Avatar
Dale North at 07/30/2007 11:30
exactly!
Edarios's Avatar
Edarios at 07/30/2007 11:37
goombas?
Snaileb 's Avatar
Snaileb at 07/30/2007 11:58
*scratches head*
Professor Pew's Avatar
Professor Pew at 07/30/2007 12:24
And now to wait for the first Wiimote fap-charts...
SniperFodder's Avatar
SniperFodder at 07/30/2007 12:29
I think my IQ just dropped even further. It's at like six now.
Mxyzptlk's Avatar
Mxyzptlk at 07/30/2007 18:03
Finally, a practical application for the Wiimote!
Reeper's Avatar
Reeper at 07/30/2007 20:40
That's easy, I use the Wiimote to calculate the centripetal velocity of the disk reader on the Wii using the IR readeraoiwetna;oubya;orynae;orynaeo;rinhaeoiyjhware9uae0


Sorry, my brain just got the BSOD. Had to reboot.
tehdopefish's Avatar
tehdopefish at 07/30/2007 21:41
whats not to get? it's simple physics.

its like tying a weight on a string to a protractor to measure accelleration... didn't you do that in high school?
Acefowl's Avatar
Acefowl at 07/31/2007 00:41
Wow, that is awesome. Props to that guy, seriously.

Now all we gotta do is make the tech available to regular Wii owners so they know exactly how fast the remote was going before it smashed their screen. :)
wardrox's Avatar
wardrox at 07/31/2007 03:23
@tehdopefish, exactly. I think it's just that it's not written for non techies which causes issue.
hjd uk's Avatar
hjd uk at 07/31/2007 04:32
Sweet!. Nice litte wiimote project, now if he can get the pointer-sensor to detect sped cameras .....
Im not sure how well a PC would have taken a nice bumpy ride in a car. And how the hell did he calibrate the accellerometers ( do they have factory set standards on the chips ? ).
prev next

Comment with Facebook





Click connect and comment instantly!

Comment with Dtoid





New? SIGN UP - it takes 5 seconds

Comments policy

Destructoid is an open discussion community. You don't need to "audition" to post a comment - just speak your mind. We respect differing opinions on the site, so have at it. Be smart, funny, insightful, clueless, or cute -- but back it up with substance. Keep your cool, keep it fun. We only ask that you act respectfully and above all: don't be a troll and ruin it for everyone else. Don't bring down gamers or we'll, you know, gently shoot you in the face and stuff you into a flaming mailbox. Each comment is your opportuntity to make this community awesomer. Is that even a word?

Avoiding the banhammer only requires common sense: spamming, trolling, racism, NSFW stuff, and other forms of sucking will not be tolerated. If anyone is griefing please report abuse. Be good. Don't suck!

 
New on Destructoid.TV play all videos

Loading
Loading Destructoid Videos




    Win this!
    Reminder: We're giving away six copies of Magnacarta 2!



    Dtoid Twitter    Got news?   tips@destructoid.com

    Reviews & Previews
    Mahjongg Artifacts 2 review
    Dragon Age: Origins review
    Lost Winds: The Winter of the Melodias review
    Osmos review
    Space Invaders Extreme 2 review
    Half-Minute Hero review
    JU-ON: The Grudge review
    Kenka Bancho: Badass Rumble review
    Thexder Neo review
    Domino Rally review
    more reviews
    PS3's 256-player MAG
    Rooms The Main Building
    Skate 3
    Hudson's bringing back the Bonk
    James Cameron's Avatar
    Bomberman Battlefest
    Calling
    Bad Company 2's multiplayer
    Partying like it's 1959 in BioShock 2's multiplayer
    BioShock 2 through the eyes of Big Daddy
    more previews


    - The Dtoid Army is 49607 strong -

    Showing Cblogs with 3+ faps   show all

    Call for entries: do the wrong thing

    New to Dtoid? Read the survival guide




     Originals
    Jim Sterling: How to respond to a videogame review





















    More Destructoid Originals




     Popular now more
























    Destructoid's editorial lovefest is:
    Nick Chester
    Editor-in-Chief
    Jim Sterling
    Reviews Editor
    Dale North
    News Editor
    Hamza Aziz
    Community Manager
    Anthony Burch
    Features Editor
    Rey Gutierrez
    Video editor & director
    Niero
    Founder, publisher
    Letters to the editors
    tips@destructoid.com
    Associate Editors
    Ashley Davis Jonathan Holmes
    Brad Nicholson Jonathan Ross
    Brad Rice Jordan Devore
    Chad Concelmo Matthew Razak
    Colette Bennett Tom Fronczak
    Conrad Zimmerman Topher Cantler
    Dyson Samit Sarkar
    Contributors
    Adam Dork
    Ben Perlee
    Daniel Lingen
    Joseph Leray
    Joe Burling
    Mikey
    Will Maddock
    Stella Wong





     

     
      get involved

    register or login
    post a blog
    post a forum
    enter a contest
    contribute a news tip
    suggest a feature
    be a guest editor
    support

    new member's guide
    login assistance
    tech support
    report abuse
    email our editors
    read our dev blog
    nuclear crisis?
    keep in touch

    RSS feed
    Twitter
    Facebook
    Myspace
    Flickr
    Game nights
    Meetup+play online
    seriously

    about Destructoid
    advertising
    terms of use
    privacy policy
    jobs at MM
    buy our crap
    our network

    Tomopop
    Japanator
    Despingation?




    Destructoid is an independently-run publication forged by our love of video games and the gaming community's need of accountable enthusiast press
    living the dream since March 16, 2006