Go Down

Topic: How to crack data from WII nunchuk (Read 1 time) previous topic - next topic

Xav1

Hello guys.. im new in this forum.
My project is get the data from WII nunchuk and then try to interfacing it with motors.
The concept is i wanna make a security camera system that can be control by wii nunchuk.

I have many resources in google especially this http://www.windmeadow.com/node/42 and then i try it program and it doens't work for me ( i see many ppl have succeded run this program ).
I use arduino Uno ATMEGA 328, many questions that i wanna ask :
- Wii Nunchuk use I2C, any refrence for learn this ??
- there is data n clock in wii nunchuk, n we must generate clock to trigger the WII, what is the frequency of the clock ??
- i try using oscilloscope but no output come -_- (not using arduino just use power supply)

The point of my project is, crack all the data that WII Nunchuk send and take as much information from wii nunchuk (like how this thing works and how is the data show and what is the speed for read the data).

I hope u guys can give me some informations that realted to my project. (sorry bout my language too :P)

thx :D

Korman


Xav1

actually i hv tried from  http://www.windmeadow.com/node/42, the problem is when i open serial monitor the only thing that i can see only "finished setup" its like the program not run until the end... and btw thx for the input Korman.

neo_nmik

This is actually quite simple.

I've been using a nunchuck to control midi wirelessly. (btw, I noticed the real ones are MUCH nicer quality inside than a cheap one off ebay)

If you have a little look at this site (scroll down and it tells you how to connect it):

http://blog.jpcarrascal.com/2010/03/look-ma-no-wiimote/

There's also a couple of links on there for the coding (This is the code I'm using, you could probably replace the serial.write functions in the if statements at the bottom to just control your project directly):

http://jpcarrascal.com/files/Transmitter.pde

Basically, just use this library and all will be dandy:

http://todbot.com/arduino/sketches/WiichuckDemo/nunchuck_funcs.h

Hope that helps. :).


Xav1

WOW thx Neo ! ok let me try it, btw can i generate the clock from outside (not using arduino) and how to calculate the clock frequency should i use oscilloscope and how to make a packet of data every 8bit ??

THX :D

Go Up