![]() |
Forum Index : Microcontroller and PC projects : Pinouts on back 40-pin connector for Nunchuks 1 & 2
Author | Message | ||||
William Leue Guru ![]() Joined: 03/07/2020 Location: United StatesPosts: 405 |
I have been working on building an adaptor box for supporting additional Nunchuks using the I2C pins available at the rear 40-pin data connector on the CMM2. Most of the connections are obvious but I do have a couple of concerns. According to online sources, the Nintendo connector has 6 traces, one of which is not used: Pin Use --- ----------------- 1 +3.3v VCC 2 Ground 3 Data 4 No connection 5 Feeds 3.3v back for detection 6 Clock So, looking at the pinout table in the CMM2 documentation, it seems clear that the following connections make sense: CMM2 Pin Nunchuk #1 NunChuk#2 Use -------- ---------- --------- ------------ 1 1 +3.3v VCC 3 3 I2C 1 Data 5 6 I2C 1 Clock 7 5?? detect Nunchuk? 9 2 Ground 17 1 +3.3v VCC 25 2 Ground 27 3 I2C 2 Data 28 6 I2C 2 Clock 29?? 5?? detect Nunchuk? The only two pins I am uncertain about are the two pins used by the Nunchuk to feed back 3.3v power so that the box can detect when the Nunchuk is connected. Any I/O pin could be used for this, but which ones are actually used by the CMM2 firmware? -Bill |
||||
William Leue Guru ![]() Joined: 03/07/2020 Location: United StatesPosts: 405 |
Well, I forgot to switch to a monospaced font for the table so it looks ugly. Let me try again: CMM2 Pin Nunchuk #1 NunChuk#2 Use -------- ---------- --------- ------------ 1 1 +3.3v VCC 3 3 I2C 1 Data 5 6 I2C 1 Clock 7 5?? detect Nunchuk? 9 2 Ground 17 1 +3.3v VCC 25 2 Ground 27 3 I2C 2 Data 28 6 I2C 2 Clock 29?? 5?? detect Nunchuk? -Bill |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
You should be able to forget about the "detect nunchuk" pin. MMBasic doesn't use it. You could tie it to the 3.3V pin just in case your nunchuk uses that pin for power. Jim VK7JH MMedit |
||||
vegipete![]() Guru ![]() Joined: 29/01/2013 Location: CanadaPosts: 1132 |
The nunchuk port on the front doesn't use the detect pin so if your device works there, you won't need it for ports 1 or 2. But as Jim says, if you are making a pcb, add 2 pads that you can jumper if needed. Visit Vegipete's *Mite Library for cool programs. |
||||
William Leue Guru ![]() Joined: 03/07/2020 Location: United StatesPosts: 405 |
Hmm. If I try to use the nunchuk commands without a nunchuk plugged in, CMM2 tells me that no nunchuk is connected. So if it does not use the 'detect' pins, how does it know? -Bill |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10310 |
Looks for a valid I2C response |
||||
Quazee137![]() Guru ![]() Joined: 07/08/2016 Location: United StatesPosts: 593 |
William Leue have a look here back of CMM2 |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |