views:

66

answers:

2

Does anyone know what the refresh rate of the accelerometer in the wiimote is? Is there a way to find out using Visual C#?

+1  A: 

100 Hz, according to this pdf.

BenV
+1  A: 

Every 5.02 ms (~200Hz) according to this page (which has loads of great info on it, mostly in links to other articles).

Data from with tk.wii object is 8-bit data reported every 5.02 milliseconds on average (with a 4.90 median and 5.86 in one test). The data is represented as a 0.0-1.0 value the tilt of the controller occupying 21% of that range – tilt values for the X-and Y-axis range from 0.396 to 0.608 with sharp accelerations using the entire range.

It may depend not only upon the device's capabilities, but your connection to it.

Drew Noakes
if my connection is the determining factor, how can I determine the refresh rate considering my connection in c#?
Omar
The don't make milliseconds the way they used to. Back in my days, you could get 200 Hz for a 5 ms interval.
nikie
Haha! Er, maybe lunar milliseconds... thanks, will update the answer.
Drew Noakes
@Omar, can you count the number of updates you get per second? You can use `System.Diagnostics.Stopwatch` for decent precision timing.
Drew Noakes