DIY 3-axis accelerometer with a Wii
#1
Banned
Thread Starter
Join Date: Apr 2005
Location: Cheshire, England & Trosa, Sweden
Posts: 1,837
Likes: 0
Received 0 Likes
on
0 Posts
![Question](https://rennlist.com/forums/images/icons/icon5.gif)
Hi all, I came across this post on a local Morgan Car forum where by a member is modifying a Wii hand controller to measure speed,
cornering G, and so on for his track car.
I thought it sounded very interesting so here is what he posted:
"I am spending some holiday time working on developing a performance monitor using a laptop PC to hook up to a Wii Remote handset. The idea is that the Wii remote has a 3-axis accelerometer in it, so you can put it in the car, go for a drive, and get all sorts of interesting info like acceleration, speed, cornering G, and so on.
I haven't got a complete Wii, just a remote handset. You can get them off eBay for about 25 quid. The reason I got one is that it's about the cheapest way to get hold of a 3-axis accelerometer that's accessible through a Bluetooth connection.
There's a nifty piece of software called GlovePIE which runs on PCs and is able to connect to the Wii Remote and read the accelerometer values about 12 times a second. It can log these to a comma-separated variables file, which can be read into a spreadsheet.
So the idea is, you set up the Wii remote, start the logging program, and go for a drive. When you get home, you have a second-by-second log of all the acceleration values. Then by using the good old Newtonian mechanics equations, you can figure out the speed you were going at any moment, and if you knjow the weight of the car and the drag coefficient, you can figure out how much power you were using to do it."
Does anybody have any opinions on this ... Might just have to give this ago myself as the cost of doing this would be very cheap and would make a nice weekend project to play with![thumbup](https://rennlist.com/forums/graemlins/thumbup.gif)
Also what is "GlovePIE"???
Best regards,
Mark
cornering G, and so on for his track car.
I thought it sounded very interesting so here is what he posted:
"I am spending some holiday time working on developing a performance monitor using a laptop PC to hook up to a Wii Remote handset. The idea is that the Wii remote has a 3-axis accelerometer in it, so you can put it in the car, go for a drive, and get all sorts of interesting info like acceleration, speed, cornering G, and so on.
I haven't got a complete Wii, just a remote handset. You can get them off eBay for about 25 quid. The reason I got one is that it's about the cheapest way to get hold of a 3-axis accelerometer that's accessible through a Bluetooth connection.
There's a nifty piece of software called GlovePIE which runs on PCs and is able to connect to the Wii Remote and read the accelerometer values about 12 times a second. It can log these to a comma-separated variables file, which can be read into a spreadsheet.
So the idea is, you set up the Wii remote, start the logging program, and go for a drive. When you get home, you have a second-by-second log of all the acceleration values. Then by using the good old Newtonian mechanics equations, you can figure out the speed you were going at any moment, and if you knjow the weight of the car and the drag coefficient, you can figure out how much power you were using to do it."
Does anybody have any opinions on this ... Might just have to give this ago myself as the cost of doing this would be very cheap and would make a nice weekend project to play with
![thumbup](https://rennlist.com/forums/graemlins/thumbup.gif)
Also what is "GlovePIE"???
Best regards,
Mark
#3
Official Rennlist
Borat Impersonator
Rennlist Member
Borat Impersonator
Rennlist Member
![Default](https://rennlist.com/forums/images/icons/icon1.gif)
you can do the same thing with an iPhone and a program called dynolicious.
But I agree that the wii remote is a super cheap way
But I agree that the wii remote is a super cheap way
#4
Race Director
![Default](https://rennlist.com/forums/images/icons/icon1.gif)
Add a GPS logger and a BluTrax (http://intelligentz.net/blutrax/) to it and you have a very complete product. Then make it user friendly and become a millionaire.
![Big Grin](https://rennlist.com/forums/images/smilies/biggrin.gif)
Trending Topics
#8
Banned
Thread Starter
Join Date: Apr 2005
Location: Cheshire, England & Trosa, Sweden
Posts: 1,837
Likes: 0
Received 0 Likes
on
0 Posts
![Default](https://rennlist.com/forums/images/icons/icon1.gif)
Here is the code:
//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
//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
#9
Banned
Thread Starter
Join Date: Apr 2005
Location: Cheshire, England & Trosa, Sweden
Posts: 1,837
Likes: 0
Received 0 Likes
on
0 Posts
![Default](https://rennlist.com/forums/images/icons/icon1.gif)
Also check the GTechPro equipment which is good value for money state side: http://www.gtechpro.com/prod.html
#10
Rennlist Member
![Default](https://rennlist.com/forums/images/icons/icon1.gif)
WEAK!!!!!!!!!!!!!!!! http://dynolicious.com/index.html
http://www.autoblog.com/2008/07/29/d...ormance-meter/
I installed it on my iphone yesturday AND IT WORKS
http://www.autoblog.com/2008/07/29/d...ormance-meter/
I installed it on my iphone yesturday AND IT WORKS
#12
Addict
Rennlist Member
Rennlist Member
Join Date: Dec 2001
Location: socal
Posts: 1,136
Likes: 0
Received 0 Likes
on
0 Posts
![Default](https://rennlist.com/forums/images/icons/icon1.gif)
WEAK!!!!!!!!!!!!!!!! http://dynolicious.com/index.html
http://www.autoblog.com/2008/07/29/d...ormance-meter/
I installed it on my iphone yesturday AND IT WORKS
http://www.autoblog.com/2008/07/29/d...ormance-meter/
I installed it on my iphone yesturday AND IT WORKS
#13
Addict
Rennlist Member
Rennlist Member
![Default](https://rennlist.com/forums/images/icons/icon1.gif)
Wow this is pretty sweet, a wii remote is small and cheap enough to be mounted in the car and left there. Way better than the iPhone program I think.
#14
Addict
Rennlist Member
Rennlist Member
![Default](https://rennlist.com/forums/images/icons/icon1.gif)
http://www.wiili.org/GlovePIE
http://carl.kenner.googlepages.com/glovepie
Im going to order up a WiiMote and give this a try. See how much Gs my 88 Dodge Caravan with dead suspension can pull
http://carl.kenner.googlepages.com/glovepie
Im going to order up a WiiMote and give this a try. See how much Gs my 88 Dodge Caravan with dead suspension can pull
![Stick Out Tongue](https://rennlist.com/forums/images/smilies/tongue.gif)