VWVortex.com - Wii Remote Measurements

1. [Update:] Thanks Lidberg for hosting!!
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://www.christiancarlson.com/klee...peed_calcs.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

The Wiimote, nice n snug so it doesn't jostle around:

My 2.Slow's 0-60 time. 13.5s baby!!

My friend's E46 M3 SMG's 0-60 time

When the blue line dips down, I'm making a left turn.
When it jumps up, I'm making a right turn.
When the Yellow line goes up, I'm accelerating.
when it dips down, I'm braking.

pic of my car for kicks:

Modified by klee at 5:26 PM 7-28-2007

Modified by klee at 4:32 PM 8-3-2007

Modified by klee at 4:33 PM 8-3-2007

2. i think you need to find local bar where you are comfortable to in your free time, or a girlfreind. maybe both. good work otherwise

3. Wow, awesome job dude. All I need is a wii <_<

4. That is F*****G awesome [IMG]http://*****************.com/smile/emthup.gif[/IMG] [IMG]http://*****************.com/smile/emthup.gif[/IMG]

5. That's very impressive!

6. that's pretty intersting stuff right there [IMG]http://*****************.com/smile/emthup.gif[/IMG]

7. Im really impressed.
Also, really disturbed.
I feel pity for you and your lack of a social life.
I do wish I had a Wii though.

8. Thats pretty dope [IMG]http://*****************.com/smile/emthup.gif[/IMG]

9. genius! you make me feel dumb

10. Badass, you should submit this to gizmodo.com, bet they will feature it on their blog.
They love all the hacks people are coming up with for the Wii.
Again, nice work.

11. Wow you are fancy. Hats off to that work.

12. so am i reading correctly that a e46 m3 did 0-60 in about 7 seconds, that needs some fine tuning other than that, keep up the good work [IMG]http://*****************.com/smile/emthup.gif[/IMG]

13. Great job. Does the Wii remote have RAM or something that you can pull the data from or is it real time data acquisition?

14. damn...thats pretty slick. nintendo rules. they should make a nintendo edition vw.
screw the dumb guitar. haha

15.  Quote, originally posted by bluebora20v » Great job. Does the Wii remote have RAM or something that you can pull the data from or is it real time data acquisition?

yeah, it feeds the values to the PC in real time.
it didn't take long and I figured there'd be someone else out there who might benefit from the work. besides, it was a great way to learn the graphing feature in Excel for work [IMG]http://*****************.com/smile/emthup.gif[/IMG]
Oh, as for the M3, we didn't do a proper launch. The revs were pretty bogged down off the line on that run. My co-worker didn't look up the SMG launch controls until after we were done.

16. Neat stuff

17. Thats nuckin futs! I wish I knew how to do something like that!

18. i have a wii, i use it to play video games... but you my friend, are what we call "smarty-pants"

19. man.... i gotta say.. u did some damn good work sir.. but wouldnt it be the same with a stop watch and a second person?? just wondering..

20.  Quote, originally posted by SanDiegoR1Rider » Im really impressed. Also, really disturbed. I feel pity for you and your lack of a social life. I do wish I had a Wii though.

you can play with my wii anytime
no homo.

21. He got a bit more information out of it than a simple 0-60 time, so no, it wouldn't be the same with a stopwatch.
Secondly, what's with everyone saying that he needs to get a social life and what not. I'm pretty sure I read every word he wrote, and I don't recall seeing anything that hints towards him not having an active social life. He took a class on physics and he applied some of the knowledge to a real-life situation. If you've read about the Wii, you'd have an idea of how it works. He put 2 and 2 together.
I'm not talking down on his work, just saying that the dude doesn't have to be a total nerd to do what he has done.
I guess I kind of formed a pet peeve regarding this type of slander because people tend to call me a nerd as a result of some of the things I say/do. The most annoying saying is, "Man, you must have a lot of free time."
-Emron

22. thats pretty cool. nerdy, but cool [IMG]http://*****************.com/smile/emthup.gif[/IMG] [IMG]http://*****************.com/smile/emthup.gif[/IMG]

23. Frigging awesome, car looks good.

24. I've certainly spent more time in one night on the MKIV forum than it took me to get this done

25. wow.

Page 1 of 5 12345 Last

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•