Username or Email Address
Do you already have an account?
Forgot your password?
  • Log in or Sign up

    VWVortex


    Links back to The Car Lounge (opens in same window)
    Page 1 of 4 1234 LastLast
    Results 1 to 35 of 124

    Thread: Wii Remote Measurements

    1. 07-28-2007 03:03 PM #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/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


    2. Senior Member ClockworkChad's Avatar
      Join Date
      Mar 21st, 2003
      Location
      CT
      Posts
      21,553
      Vehicles
      Is300
      07-28-2007 03:05 PM #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
      Ferrari Scuderia 2012 - "The people who speak badly about me then tremble and cry when they want to have their picture taken with me” - F. Alonso
      Now recruiting for IT/financial/accounting/creative services in fairfield county and metro nyc, pm if interested

    3. 07-28-2007 03:06 PM #3
      Wow, awesome job dude. All I need is a wii <_<

    4. 07-28-2007 03:08 PM #4
      That is F*****G awesome

    5. 07-28-2007 03:09 PM #5
      That's very impressive!

    6. Member xLLOYDESSEUSx's Avatar
      Join Date
      Feb 12th, 2006
      Location
      Carson, CA
      Posts
      2,270
      Vehicles
      2002 Jetta (sold), 2011 A4 S-Line
      07-28-2007 03:12 PM #6
      that's pretty intersting stuff right there

    7. Member SanDiegoR1Rider's Avatar
      Join Date
      Apr 5th, 2005
      Location
      San Diego
      Posts
      1,536
      07-28-2007 03:16 PM #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. Member Malant's Avatar
      Join Date
      Aug 30th, 2004
      Location
      Maryland
      Posts
      3,847
      Vehicles
      Mk1 Audi TT, Mk1 VW Cabriolet, Gaurd Red 996
      07-28-2007 03:25 PM #8
      Thats pretty dope

    9. Member TMH's Avatar
      Join Date
      Oct 26th, 2005
      Location
      Bay Area, CA
      Posts
      8,644
      Vehicles
      2003 VW Jetta GLI VR6 24V
      07-28-2007 03:28 PM #9
      genius! you make me feel dumb
      Quote Originally Posted by Chris Stack View Post
      I often pass slow-moving Priuii on the right, my engine clubbing 9000 baby seals per minute while I do so.

    10. Banned They_Call_Me_Bob's Avatar
      Join Date
      Mar 20th, 2006
      Location
      Washington DC
      Posts
      2,554
      07-28-2007 03:30 PM #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. 07-28-2007 03:32 PM #11
      Wow you are fancy. Hats off to that work.

    12. Member dzlnitro's Avatar
      Join Date
      Aug 31st, 2005
      Location
      LI, NY
      Posts
      1,253
      Vehicles
      12'GLI, 99'323is
      07-28-2007 04:52 PM #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
      12' Jetta GLI Autobahn DSG Candy White - 99' 323is M-Sport 5spd Cosmos Schwarz Metallic

    13. Senior Member bluebora20v's Avatar
      Join Date
      Jun 14th, 2001
      Location
      Bay
      Posts
      31,456
      Vehicles
      2000/VW/MK4 Jetta
      07-28-2007 04:57 PM #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. Member
      Join Date
      May 1st, 2004
      Location
      brick nj
      Posts
      2,881
      Vehicles
      2009 gti
      07-28-2007 04:58 PM #14
      damn...thats pretty slick. nintendo rules. they should make a nintendo edition vw.
      screw the dumb guitar. haha

    15. 07-28-2007 08:17 PM #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

      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. 07-28-2007 08:20 PM #16
      Neat stuff

    17. 07-28-2007 08:23 PM #17
      Thats nuckin futs! I wish I knew how to do something like that!

    18. Member ericjohnston27's Avatar
      Join Date
      Dec 30th, 2005
      Location
      crack of wisconsin lax
      Posts
      9,535
      Vehicles
      a4 on unicorns and pillows
      07-28-2007 08:24 PM #18
      i have a wii, i use it to play video games... but you my friend, are what we call "smarty-pants"
      LowerStandards.
      Low.Life.Society.
      airbageric suspension installs
      flickr

    19. 07-28-2007 09:38 PM #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. Member cvillegti's Avatar
      Join Date
      Aug 28th, 2005
      Location
      Norfolk, VA
      Posts
      9,298
      Vehicles
      mk4 GTI (RIP), mk4 Golf (sold), mk5 Rabbit (sold), mk5 GTI
      07-28-2007 09:41 PM #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. Member Emron's Avatar
      Join Date
      Mar 27th, 2007
      Location
      Huntington Beach, CA
      Posts
      2,577
      Vehicles
      2004 GTI 24v; 2004 Jetta 1.8t
      07-28-2007 09:58 PM #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. Moderator dashrendar's Avatar
      Join Date
      May 2nd, 2004
      Location
      Little Rock, Ar
      Posts
      16,385
      Vehicles
      '00 Jolf 1.8T, '02 Jetta 1.8T
      07-28-2007 10:21 PM #22
      thats pretty cool. nerdy, but cool
      |ScArE BeAr MafIa|Low.Life.Society|WetDub|726|XBOX GT:DrNotSoHorrible

      Quote Originally Posted by UberDub18t
      Dash invented the double

    23. Member Smoky_Llama's Avatar
      Join Date
      Nov 21st, 2005
      Location
      Bellevue, Nebraska
      Posts
      5,041
      Vehicles
      12' Golf R
      07-28-2007 11:32 PM #23
      Frigging awesome, car looks good.
      Need Vag-Com in Eastern Nebraska and Western Iowa? Send me a PM.

      Instagram @smokey_llama

    24. 07-29-2007 12:31 AM #24
      I've certainly spent more time in one night on the MKIV forum than it took me to get this done

    25. Member foundubbedriver's Avatar
      Join Date
      Jan 10th, 2006
      Location
      tempe, az.
      Posts
      11,397
      Vehicles
      mkiv gti (killed) mkiv .:r32 (unicorn sh!tbox).
      07-29-2007 01:42 AM #25
      wow.
      ig @j__cermak <-- (double underscore).
      shhh!! if you're quiet, i'll show you a dinosaur..
      exklusiv motorsports.

    26. Member
      Join Date
      Jun 25th, 2006
      Location
      NoVA
      Posts
      9,500
      Vehicles
      E90
      07-29-2007 02:17 AM #26
      Holy ****, dude. That's awesome whether it's accurate or not
      This is the kind of stuff we should all be coming up with.
      RSI, LLC | Fender Rolling | Suspension | Other Stuff

    27. Member Swizz!!'s Avatar
      Join Date
      Jun 20th, 2007
      Posts
      5,598
      Vehicles
      Stock DC5, oh lawd.
      07-29-2007 03:11 AM #27
      "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!

      U mirin?

    28. Member evilpaul's Avatar
      Join Date
      Jul 2nd, 2006
      Location
      Orlando, FL
      Posts
      242
      Vehicles
      04 R32, 07 Jetta 2.0t(wifes)
      07-29-2007 05:16 AM #28
      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....
      "A turbo: exhaust gasses go into the turbocharger and spin it, witchcraft happens and you go faster." -Jeremy Clarkson

    29. 07-29-2007 05:21 AM #29
      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?


    30. Member jnm2.0t's Avatar
      Join Date
      Oct 2nd, 2005
      Location
      Sunnyvale CA
      Posts
      16,154
      Vehicles
      List your car(s) owned here
      07-29-2007 07:48 AM #30
      as prior poster said... 6.7s for the M3 huh? Should be about 1.5-2 sec. quicker than that.
      They're steppin' on my rhythm and they're stealin' all my lines

      Every day on the bike is a day not in the Fusion.

    31. 07-29-2007 12:23 PM #31
      depends on the driver, n'est-ce pas?

    32. 07-29-2007 01:49 PM #32
      Wow, This thread got on hack-a-day...This must be getting 5-10k hits an hour...

    33. Member DouginAZ's Avatar
      Join Date
      Sep 29th, 2005
      Location
      AZ
      Posts
      339
      Vehicles
      '04.:R32 DBP w/RSR; '08.:R32 CW;'13 Golf R RB;
      07-30-2007 02:06 AM #33
      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

      Repeal the 17th Amendment!

    34. 07-30-2007 02:08 AM #34
      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



    35. 07-30-2007 02:45 AM #35
      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


    Page 1 of 4 1234 LastLast

    Posting Permissions

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