LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Use Wii Balance Board in LabVIEW

The Wii Balance Board uses the extension bytes of the wiimote, from 3 to 10. Here is an example of use of the Wii Balance Board using the functions developeds in this other message about Wiimote usage "Using a wiimote with LabVIEW " :
First read some values of the sensors with the board alone, and compute the mean, because the value of the sensors changes continously with an error of +-15 units, to obtain zero calibration of the sensors.
Then substract the value of the sensor and the zero calibration value to obtain the actual value of the sensor with some weight over the board.
Then calculate the value of the center of gravity in function of the values of the sensors. If there is no weight over the board the CG is x=0, y=0 with an error of +-15 units.
Now is necessary found a good and fast filter to reduce the error, but without losing precision and speed of the acquisition.
 
Hope this helps.
 
PD. The VIs are created with LabVIEW 8.5


Mensaje editado por craya
Message 1 of 77
(14,417 Views)
I downloaded the zipped file. Do you have the wiimote.dll file to go with it?
0 Kudos
Message 2 of 77
(13,710 Views)

No, the wiimote.dll you can find it in the other message "Using a wiimote with LabVIEW "

 

http://forums.ni.com/ni/board/message?board.id=170&thread.id=249428

 

http://forums.ni.com/ni/attachments/ni/170/265158/1/wiimote.zip

0 Kudos
Message 3 of 77
(13,613 Views)

Were you asking for help or are you sharing you VI with the community? 

I'm a little confused because the 2nd post was marked as solved

Message 4 of 77
(13,598 Views)
Sorry, I mark "problem solved" by  error, and I could not unmark it. This post is a sharing VI post.
0 Kudos
Message 5 of 77
(13,544 Views)

craya wrote:
Sorry, I mark "problem solved" by  error, and I could not unmark it.

You can unmark it by selecting "Unmark this as solution" or some kind of this message located at the "Options" menu of the second post.

0 Kudos
Message 6 of 77
(13,535 Views)

Great VI Craya, thanks for that. We're currently using a balance board acquisition program that is built around your and JohannS's VIs to collect some balance data for research, and were wondering if you would mind if we posted our program on the forum once it is finished. If we are able to publish any of our findings we'd be happy to acknowledge you both.

 

Thanks

 

Ross 

Message 7 of 77
(13,384 Views)

and were wondering if you would mind if we posted our program on the forum once it is finished.

Hope he won't. Smiley Wink

 

Please go ahead, so that it will help lot of people in future. Thanks for your understanding, Smiley Happy

 

Mathan

0 Kudos
Message 8 of 77
(13,379 Views)

RossClark: Feel free to post your program once it is finished. I am sure everyone would appreciate more example programs beyond our current usage VIs. If you have any online resources on your research, could you post it here as well? I would love to see what you are doing with LabVIEW and the balance board.

 

Craya: Great job on the balance board VIs. I fits very naturally with VIs I put together for the Wiimote and Nunchuck.

Message Edited by JohannS on 04-17-2009 10:21 AM
Message 9 of 77
(13,357 Views)

 I'm new to labview and have a question on these great VI's.

 

Do the VIs have a function which normalize the output with respect to weight. Also, does the calibration instructions provided (by craya) run automatically as I cannot see where I would follow the instructions if not.

 

 

0 Kudos
Message 10 of 77
(12,455 Views)