klee
Member
Offline
Member Since
7-9-2002
4167 posts
Saratoga CA
Brilliant Black 2009 Audi TT 2.0T Quattro
|
Wii Remote Measurements | « » 3:03 PM 7-28-2007 | |
|
[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/sample_wiimote_speed_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

General Accelerometer readings: 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
2009 TT 2.0T Quattro
|
ClockworkChad
Member
Offline
Member Since
3-21-2003
16666 posts
Jetta GLI 24v
|
» | « » 3:05 PM 7-28-2007 | |
|
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
Fernando Alonso/Ferrari in 2010 - 'This one is for you, Flavio! '
|
ozuMa
Member

Offline
Member Since
3-18-2007
786 posts
South Brunswick NJ
02 ' Audi a4 1.8TQ
|
» | « » 3:06 PM 7-28-2007 | |
|
Wow, awesome job dude. All I need is a wii <_<
02' a4 1.8TQ
|
Ubergolf2003
Member

Offline
Member Since
5-26-2005
1660 posts
Raleigh NC
07 Voodoo Blue FJ Cruiser, Specialized P2
|
Re: Wii Remote Measurements (klee) » | « » 3:08 PM 7-28-2007 | |
|
That is F*****G awesome
| Quote, originally posted by 62falconkid » | | Anyone have any pics of there golf with the "boner" hood extension peice on it? im curious of how it looks. |
You will never get that sound out of your Jetta...the S4 has a 4.2 V8.
|
JB_1152
Member

Offline
Member Since
2-15-2007
2969 posts
Dellwood Minnesota
Jelly Bean
|
Re: Wii Remote Measurements (klee) » | « » 3:09 PM 7-28-2007 | |
|
That's very impressive!
llilillilliliilililill Low.Life.Society. bar|society
|
xLLOYDESSEUSx
Member

Offline
Member Since
2-11-2006
2220 posts
Carson CA
2002 VW Jetta
|
Re: Wii Remote Measurements (JB_1152) » | « » 3:12 PM 7-28-2007 | |
|
that's pretty intersting stuff right there
|
SanDiegoR1Rider
Member

Offline
Member Since
4-5-2005
1521 posts
Aiea HI
2004 VW Jetta GLI 24V VR6
|
» | « » 3:16 PM 7-28-2007 | |
|
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.
Black 2004 Jetta 24V VR6 GLI. Neuspeed CAI. Billstein PSS9 Coilovers. Neuspeed 25mm front sway bar. Neuspeed 28mm adjustable rear sway bar. EIP Stage 2. GHL 3 inch non res., HPA short runner intake manifold
|
Malant
Member

Offline
Member Since
8-30-2004
3402 posts
Columbia MD
01 225TT
|
Re: Wii Remote Measurements (JB_1152) » | « » 3:25 PM 7-28-2007 | |
|
Thats pretty dope
We ball hardest.
|
TMH
Member

Offline
Member Since
10-25-2005
7994 posts
Nor Cal
|
» | « » 3:28 PM 7-28-2007 | |
|
genius! you make me feel dumb
De Laveaga Motors (Member since 6/25/03, +4275 posts) "Common sense ain't so common anymore"
|
They_Call_Me_Bob
Member

Offline
Member Since
3-20-2006
1977 posts
Washington DC
2003 GTI 1.8t
|
Re: Wii Remote Measurements (Malant) » | « » 3:30 PM 7-28-2007 | |
|
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.
|
ZerosHeroes
Member

Offline
Member Since
7-29-2006
635 posts
Ypsilanti MI
1995 Jetta 2.0 (retired), 2001 Wolfsburg AWW (retired) 1993 Corrado SLC, 2000 S4 Biturbo
|
Re: Wii Remote Measurements (They_Call_Me_Bob) » | « » 3:32 PM 7-28-2007 | |
|
Wow you are fancy. Hats off to that work.
QUOTE=elements757: Judge Joe Brown: Ok so what are you suing him for? Me: For REPOSTING information in the MKIV Forum You: (shaking head like it didn't happen) Me: Judge, I have a print out of the whole thread! Judge Joe Brown: It looks photoshopped case dismissed!
|
dzlnitro
Member

Offline
Member Since
8-31-2005
1229 posts
Syosset NY
99 323is 5spd
|
» | « » 4:52 PM 7-28-2007 | |
|
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 
99 BMW 323is 5spd - Remus exhaust - Dinan CAI - eibach sway bars - bilstein shocks - eibach springs
| Quote, originally posted by 24valvedGTI » | Mike you are the man, u pull off there panties behind the booth again? |
|
bluebora20v
Member

Offline
Member Since
6-14-2001
31134 posts
East Bay/Sac CA
00 Atlantic Blue 2.0 Jetta (RIP), 00 Atlantic Blue 1.8t Jetta
|
Re: (dzlnitro) » | « » 4:57 PM 7-28-2007 | |
|
Great job. Does the Wii remote have RAM or something that you can pull the data from or is it real time data acquisition?
Titan Clothing Co.($3 off code: VORTEX) Toe Out Performance|SLOVW|flickr
Fat5 Fanclub 
|
RupertX
Member

Offline
Member Since
5-1-2004
2874 posts
Brick NJ
2009 gti 4 door UG
|
Re: Wii Remote Measurements (klee) » | « » 4:58 PM 7-28-2007 | |
|
damn...thats pretty slick. nintendo rules. they should make a nintendo edition vw. screw the dumb guitar. haha
makes me . so do s. but when i get as a im more like .
|
klee
Member
Offline
Member Since
7-9-2002
4167 posts
Saratoga CA
Brilliant Black 2009 Audi TT 2.0T Quattro
|
Re: (bluebora20v) » | « » 8:17 PM 7-28-2007 | |
|
| 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 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.
2009 TT 2.0T Quattro
|
dymer
Member
Offline
Member Since
5-11-2004
7090 posts
Canada
MKIV radinox beater on air, B6 A4
|
Re: Wii Remote Measurements (klee) » | « » 8:20 PM 7-28-2007 | |
|
Neat stuff
A thread
|
yel0wsn0
Member
Online
Member Since
9-16-2004
7093 posts
Beaverton OR
2002, GTi 1.8t
|
» | « » 8:23 PM 7-28-2007 | |
|
Thats nuckin futs! I wish I knew how to do something like that!
Pdexposures Pdexposures Blog Pdexposures Facebook! Flikr
|
ericjohnston27
Member
Offline
Member Since
12-30-2005
7483 posts
right in the crack of WI
JB20AE #1587
|
» | « » 8:24 PM 7-28-2007 | |
|
i have a wii, i use it to play video games... but you my friend, are what we call "smarty-pants"
O P E N R O A D TUNING eric@openroadtuning.comLow.Life.Society. **PM ME FOR AIR RIDE INSTALLS**
|
GoodTurboInside
Member

Offline
Member Since
6-24-2007
260 posts
Long Beach Ca
2004 VW GTI 1.8T
|
» | « » 9:38 PM 7-28-2007 | |
|
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..
makes me
|
cvillegti
Member

Offline
Member Since
8-28-2005
9250 posts
Charlottesville VA
2003 Honda S2000
|
Re: (SanDiegoR1Rider) » | « » 9:41 PM 7-28-2007 | |
|
| 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.
| Quote, originally posted by LSinLV » | no, rice is not a lifestyle; it's suicide by stupidity. |
LSinLV & jkrew... both victims of the VMG shenanigans. We you
|
Emron
Member

Offline
Member Since
3-26-2007
1808 posts
Huntington Beach CA
2004 VW GTI 24v VR6
|
» | « » 9:58 PM 7-28-2007 | |
|
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
==== When correct, it's written as either RSs or RS's--not RS'. ==== Also, PLEASE Don't start a thread with, "Ok so...." ====My Buildthread
|
dashrendar
Moderator

Offline
Member Since
5-2-2004
15161 posts
Little Rock Ar
2002 Jetta 1.8T, 2000 Jolf GLS 1.8T
|
Re: Wii Remote Measurements (Ubergolf2003) » | « » 10:21 PM 7-28-2007 | |
|
thats pretty cool. nerdy, but cool
|ScArE BeAr MafIa|Low.Life.Society|WetDub |726
| Quote, originally posted by UberDub18t » | Dash invented the double  |
|
Smoky_Llama
Member

Offline
Member Since
11-21-2005
3974 posts
Omaha Ne.
09' 2WD Luxury GT w/third pedal and turbo, Snocat Edition
|
Re: Wii Remote Measurements (dashrendar) » | « » 11:32 PM 7-28-2007 | |
|
Frigging awesome, car looks good.
Bird Flu > MKIV Forum Bristol Palin 4 Prez Bless our fallen Soldiers, Sailors, Marines, and Airmen
| Quote, originally posted by 1.8Tquattro » | | Looks like he lost it right after chirping third. |
|
klee
Member
Offline
Member Since
7-9-2002
4167 posts
Saratoga CA
Brilliant Black 2009 Audi TT 2.0T Quattro
|
» | « » 12:31 AM 7-29-2007 | |
|
I've certainly spent more time in one night on the MKIV forum than it took me to get this done
2009 TT 2.0T Quattro
|
foundubbedriver
Member

Offline
Member Since
1-10-2006
6365 posts
chicago, az
|
Re: (klee) » | « » 1:42 AM 7-29-2007 | |
|
wow.
Daisy 1o.6.o6 Exklüsiv Motorsports | Quote, originally posted by Curtis » | | i want sex. |
|
Derek Zoolander
Member
Offline
Member Since
6-25-2006
9036 posts
NH/NJ
09 E90 M-Sport
|
Re: (foundubbedriver) » | « » 2:17 AM 7-29-2007 | |
|
Holy ****, dude. That's awesome whether it's accurate or not This is the kind of stuff we should all be coming up with.
|
Swizz!!
Member

Offline
Member Since
6-20-2007
5574 posts
Fizz Autosports Chicago IL
|
» | « » 3:11 AM 7-29-2007 | |
|
"look here baby, you takin' dem corners too god damn fast."
i swear if no one gets this reference i'm gonna have to choke a bitch!
FIZZ AUTOSPORTS FaceSpace!
|
evilpaul
Member
Offline
Member Since
7-2-2006
88 posts
Orlando FL
2003 GTI 1.8T
|
» | « » 5:16 AM 7-29-2007 | |
|
Good idea and nice work! I've wanted to do something with the wiimote but I haven't thought of anything good enough to go get a blue tooth adapter. I know what I'm buying tomorrow....
2003 MKIV GTI 1.8T - Unitronic Stage 1+ , ESE Tuning Intake, APR TIP, Autobahn88 Boost Kit, Front Brembo Rotors, PBR Front Ceramics PadsCars: 1992 Jetta GL -> 2003 GTI 1.8t
|
MidNightDrift
Member

Offline
Member Since
9-23-2006
5455 posts
New York
2001 Volkswagen Jetta 1.8T Wolfsburg Edition
|
Re: Wii Remote Measurements (Ubergolf2003) » | « » 5:21 AM 7-29-2007 | |
|
| Quote, originally posted by Ubergolf2003 » | That is F*****G awesome |
Seriously! I'm too ghetto for Wii, how can I do this with a Super Nintendo?
| Quote, originally posted by mbm1512 » | | I hit her as a result of her stupidity. The laws of physics would not allow me to dodge her stupidity. |
The mk4 forum ultimate chillers club squad society coalition stylz... for people who chill mad hard OG ChillAr
|
jnm2.0t
Member

Offline
Member Since
10-2-2005
13399 posts
Palo Alto CA
2008 A4 SE 2.0T, 2009 A3 2.0t
|
Re: Wii Remote Measurements (klee) » | « » 7:48 AM 7-29-2007 | |
|
as prior poster said... 6.7s for the M3 huh? Should be about 1.5-2 sec. quicker than that.
|
klee
Member
Offline
Member Since
7-9-2002
4167 posts
Saratoga CA
Brilliant Black 2009 Audi TT 2.0T Quattro
|
» | « » 12:23 PM 7-29-2007 | |
|
depends on the driver, n'est-ce pas?
2009 TT 2.0T Quattro
|
Mussen
Member

Offline
Member Since
7-1-2006
324 posts
Brick NJ
92 cabriolet
|
» | « » 1:49 PM 7-29-2007 | |
|
Wow, This thread got on hack-a-day...This must be getting 5-10k hits an hour...
|
DouginAZ
Member

Offline
Member Since
9-29-2005
244 posts
Mesa Arizona
DBP '04R32. CW '08R32
|
Re: Wii Remote Measurements (klee) » | « » 2:06 AM 7-30-2007 | |
|
Could you explain what code to put in what file and where, please? I've been playing with the mouse command, But I'm not exactly sure how you got the data to save as files or even how you managed to make it into graph. It's Mind-Boggoling Any help would be appreciated TIA, Doug
Nic temere nic timide
AZ .:R Crew
Canon EOS 10D 
|
klee
Member
Offline
Member Since
7-9-2002
4167 posts
Saratoga CA
Brilliant Black 2009 Audi TT 2.0T Quattro
|
» | « » 2:08 AM 7-30-2007 | |
|
this is all you need to add to the glovepie script.it'll append the info to output.txt in the glovepie install directory. //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
2009 TT 2.0T Quattro
|
hockeyizlife94
Member

Offline
Member Since
3-1-2007
2910 posts
Detroit MI
1999.5 VW Jetta glx vr6
|
Re: Wii Remote Measurements (Ubergolf2003) » | « » 2:45 AM 7-30-2007 | |
|
| Quote, originally posted by Ubergolf2003 » | That is F*****G awesome |
coolest thing of the day on the tex that ive seen...but it is 2:44 AM for me so there is still 21 hours for somethign cooler to come up
| Quote, originally posted by Euro Hooligan » | i couldnt agree more. if your gonna start buying reps you might as well go out and buy those "adidas" with the extra stripe too. |
GO WINGS!
|