View Full Version : Wii Remote
Hedgecore
12-12-2007, 09:22 AM
There are a bunch of different threads with different angles on the Wii Remote but many are months old and are looking at specific uses.
Any Wii toting developers want to give a shot at pairing the remote with a tablet and doing something basic like outputting the accellerometer data through a GUI?
Thus far I can get my 770 to see the remote. I hit the red button inside the Wiimote battery case to put broadcast it's existence (apparently holding the 1 + 2 buttons works too) and the tablet can detect it when searching for BlueTooth devices.
Here are some links:
Technical data on the Wiimote:
http://www.wiili.org/Wiimote
Yabbas' post on pairing/reading data/support files:
http://www.internettablettalk.com/fo...8&postcount=12
Anybody interested? (This might be something I could tinker with over the Xmas break but I'd be starting at square 1 so far Maemo development goes. Otherwise I'd love to test.) :)
https://garage.maemo.org/projects/pyaxelwii/
Hedgecore
12-12-2007, 12:25 PM
Aaahahah. Well damn. Thanks!
We still have to make something useful out of the data :)
Hedgecore
12-12-2007, 01:13 PM
True enough. The code is there for the tablet. Now what?
The accelerometer is really interesting, I wonder about a 'game' where you hold the wiimote under the tablet and tilt it around trying to get a ball to roll into a hole or something. More proof of concept, but.
Whack-a-mole (hammer motion to whack something as it appears on the screen, points for fast reaction times)?
A simple flight sim (tilt controlled)?
A metroid-like game would be awesome. Imagine an overhead game where you use the wiimote d-pad and buttons to run around shooting at stuff, then transform into a ball and use the tilt control to roll over your enemies or jump chasms, etc.
That's all I got.
Hedgecore
12-12-2007, 06:30 PM
I installed pyAxelWii and can confirm that it works on 770 OS2007HE! The Wii remote paired in about 10 seconds and registered on the graph when I hit 'Start'. I'm amazed at how sensitive it is.
Anyone with a Wii ought to give this a shot, it'll bring back that warm fuzzy feeling when you first started tinkering with your tablet with unorthodox methods. :)
Works on OS2008 too. Way cool!
One possible application is to measure acceleration in a car or on a plane. You could even do 0-60mph timings. I wonder how the units reported by the script can be translated to g's.
Also, does anyone know if there is a way to get wiimote orientation in addition to acceleration?
Hedgecore
12-13-2007, 09:19 AM
Already captured I think. Look to the left of the graph, you should have your X,Y,Z data. Tilt the Wiimote and they change. (Seems very sensitive, I put the Wiimote down on the desk and the numbers still twitched a little.)
baksiidaa
12-13-2007, 02:44 PM
I wonder how the units reported by the script can be translated to g's.
The quickest and probably easiest way to calibrate the units to g's would be to drop the remote (onto something soft) while collecting the data. If you're careful, you can drop it so it accelerates along just one axis of the remote--I'd recommend just holding it by one end and dropping it. Take the average of the acceleration along the long axis during the drop and, voila, you have a measurement for g. If for some reason you can't get it to drop parallel to an axis, you can square the average of the acceleration along each axis, sum the squares, and take the square root of the sum.
I don't know what the acquisition rate of the wiimote is, so I can't tell you how far you'll need to drop it. I'll try it out next week--I'm going home for Christmas and my brother has a Wii.
Feel free to ask me if you need any help with using the accelerometer data--I'm a grad student in a gravitational physics group.
baksiidaa
12-13-2007, 02:59 PM
Whoops. I just read the info about the wiimote from the link above and found out that it uses a force sensor, not a true accelerometer. You can calibrate it for g's by just setting it down with the axis of interest vertical. Calibrate each axis separately in case they're different, and you might want to set it down, collect data, pick it up and move it around, then set it down with the same axis down and collect data again, just to eliminate possible errors.
The device should work just fine as an accelerometer in horizontal directions as is. If you want to measure vertical acceleration you'll need to subtract g from the measurement. Sorry for the confusion.
vabgeo
02-13-2008, 09:17 PM
There are a bunch of different threads with different angles on the Wii Remote but many are months old and are looking at specific uses.
Any Wii toting developers want to give a shot at pairing the remote with a tablet and doing something basic like outputting the accellerometer data through a GUI?
..
Anybody interested? (This might be something I could tinker with over the Xmas break but I'd be starting at square 1 so far Maemo development goes. Otherwise I'd love to test.) :)
I am definitely interested :) Unfortunately, my N800 broke down last Oct and N810 is still in transit.
Are you still interested in the Wiimote?
xtagon
03-11-2008, 11:11 PM
The accelerometer is really interesting, I wonder about a 'game' where you hold the wiimote under the tablet and tilt it around trying to get a ball to roll into a hole or something. More proof of concept, but.
Sounds like Neverball/Neverputt. I like the idea : )
moshing
04-05-2009, 06:12 PM
hi
i am trying to draw a picture on the sketch programme on a tablet. I will install the things in this thread and have a go but just wondered if you have any advice.
thanks
ddw
lardman
04-05-2009, 06:25 PM
Can pywiiaxel display the graphs of all three axes at the same time? (well not afaict), but would be good if it could.
vabgeo
04-05-2009, 11:26 PM
It shows only one graph at a time, but it will log it into a file. Take the version from svn. Had a lot of changes for me last year, has been shifting base to US , just settling in now, and so have neglected the project, but will be happy to update it.
kebauc
11-12-2009, 12:24 AM
Seems like there has been a lot of interest in this, without place to apply it.
I just back from disney world, and my son observed that it would be neat if we could have used a wiimote to collect motion data on the rides that are indoors, such as space mountain. A quick search of the site found this. It would be easy enough to carry the n800/810 along with a wiimote in a backpack onto the ride. Some numerical integration of the data would potentially reveal the path/speed of the ride.
Thoughts?
notnarb
11-12-2009, 12:52 AM
Seems like there has been a lot of interest in this, without place to apply it.
I just back from disney world, and my son observed that it would be neat if we could have used a wiimote to collect motion data on the rides that are indoors, such as space mountain. A quick search of the site found this. It would be easy enough to carry the n800/810 along with a wiimote in a backpack onto the ride. Some numerical integration of the data would potentially reveal the path/speed of the ride.
Thoughts?
I believe the accelerometer in Wiimotes has some sort of dumb restriction, like 5 MPH, which they don't register above
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.