8000 Nunchuck/MotionPlus support over I2C · Issue #2 · wchill/Left4VR · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Nunchuck/MotionPlus support over I2C #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wchill opened this issue May 12, 2015 · 1 comment
Open

Nunchuck/MotionPlus support over I2C #2

wchill opened this issue May 12, 2015 · 1 comment
Assignees

Comments

@wchill
Copy link
Owner
wchill commented May 12, 2015

Currently all data from the Nunchuck is done using the Wiimote as a communication bridge and using FreePIE to handle the data received. While this is a workable solution, it still makes the stack somewhat clunkier, limits platform compatibility to Windows only, and having an additional program in the background to run makes things that much harder to setup.

The solution is to have the Raspberry Pi communicate directly with the Nunchuck using the I2C protocol, which is actually pretty simple. Then extend the Pi's code such that it will pass this data over to the computer. There should be no added latency as the Wiimote has to talk with the Nunchuck over I2C anyway.

As an addendum to this, MotionPlus support (the standalone MotionPlus, not the Wiimote+) needs to be added. This will allow us to remove myo-python as a dependency and also remove the need for a Myo.

Useful links:

Using the MotionPlus in passthrough mode

WiiBrew article on data passed back from the MotionPlus in passthrough mode

Note that this will drop the poll rate of the data from each peripheral to 6ms. This will most likely not be a problem for the time being, but it may be worthwhile to consider using a dedicated IMU like this 9DOF Razor IMU.

@wchill wchill self-assigned this May 12, 2015
@wchill
Copy link
Owner Author
wchill commented May 12, 2015

Also, to connect the peripherals, an adapter board such as this will be needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant
0