New Flowcode Wii nunchuck component.
Posted: Thu Aug 27, 2020 3:40 pm
The nunchuck controller has been added to Flowcode v8 components.
You will need to use Help, check for updates after loaded the attached file.
Finish by selecting the Reload icon.
Wii nunchuck has the following features:
• Standard I2C interface.
• 3-axis accelerometer with. 10-bit accuracy.
• 2-axis analog joystick with. 8-bit A/D converter.
• 2 buttons
I have just created a nunchuk tester, so you can see if all is working or not.
Hardware:
Nintendo Wii knunchuck controller
Keyes1 Wii chuck Kduino1 PCB adaptor for plugging in to nunchuck connector.
BL0080 Eblocks2 PIC multiprogrammer with PIC16F18877.
BL0169 Eblocks2 Alphanumeric LCD board 20x4 plugged in to D port of PIC multiprogrammer.
Solderless breadboard for PCB adaptor.
BL0161 Eblocks2 patch board plugged in to C port of PIC multiprogrammer.
DuPont jumper leads.
Of course this should work with any hardware as also tested with Arduino UNO.
PCB adaptor connections.
- to GND of PIC multiprogrammer.
+ to 3V3 of PIC multiprogrammer. Warning: Do not connect to 5V.
d to 0 of patch board (d = SDA).
c to 1 patch board (c = SCL).
Only the genuine nunchuck has currently been tested.
Will test the very cheap version (ranging from £2 on wards) as soon as received them.
When running the hardware, if all is working you should see this: Of course values will depend on the the orientation, joy position and if buttons pressed or not.
I will be easy to add LED's that change brighness and flashing rate by using accelerometer & joystick etc.
The 4x20 LCD can easily be swapped with UART component.
Let me know if you try this and face any issues.
You will need to use Help, check for updates after loaded the attached file.
Finish by selecting the Reload icon.
Wii nunchuck has the following features:
• Standard I2C interface.
• 3-axis accelerometer with. 10-bit accuracy.
• 2-axis analog joystick with. 8-bit A/D converter.
• 2 buttons
I have just created a nunchuk tester, so you can see if all is working or not.
Hardware:
Nintendo Wii knunchuck controller
Keyes1 Wii chuck Kduino1 PCB adaptor for plugging in to nunchuck connector.
BL0080 Eblocks2 PIC multiprogrammer with PIC16F18877.
BL0169 Eblocks2 Alphanumeric LCD board 20x4 plugged in to D port of PIC multiprogrammer.
Solderless breadboard for PCB adaptor.
BL0161 Eblocks2 patch board plugged in to C port of PIC multiprogrammer.
DuPont jumper leads.
Of course this should work with any hardware as also tested with Arduino UNO.
PCB adaptor connections.
- to GND of PIC multiprogrammer.
+ to 3V3 of PIC multiprogrammer. Warning: Do not connect to 5V.
d to 0 of patch board (d = SDA).
c to 1 patch board (c = SCL).
Only the genuine nunchuck has currently been tested.
Will test the very cheap version (ranging from £2 on wards) as soon as received them.
When running the hardware, if all is working you should see this: Of course values will depend on the the orientation, joy position and if buttons pressed or not.
I will be easy to add LED's that change brighness and flashing rate by using accelerometer & joystick etc.
The 4x20 LCD can easily be swapped with UART component.
Let me know if you try this and face any issues.