Certainly, or any other common ground board.
I’d check a couple out for my Project Box Dual stick for sure.
Only a few weeks ago I ported the Wiimote Extension Library to a PIC24. Got a CC mostly working but for some reason most times I plug it into the wiimote, it’s like it thinks the left analog stick is pushed some direction. Once in a while it acts like the stick is centered and everything is cool, but that inconsistency is far too annoying for practical use. I’ve tried initializing everything I can think of and still no dice.
If you get that thing successfully ported to the PIC, I’ve got some questions for ya, mang!
-ud
Your problem wont have anything to do with the pic, and everything to do with the data you’re sending.
Edit: Sorry, that may have sounded far more snarky than I’d like. If you have it communicating, and it sounds like you do, then the only question is the bits your setting to represent the LX axis. The wiki on the classic controller indicates that all of the axis…axii, axises… they’re unsigned number, from 0 to 11111 for the left analog axisis.I just set them to 10000 when in neutral, and 0 or 11111 for left or right.
Although I haven’t tested yet to verify if 0 is left or right on the X axis, nor 0 is up or down on the Y axis. It may also have to do with the calibration values.
Great work you’re doing with all of your projects!
I fumbled with the Wii Extension Library to get it to work on the Dual Strike but didn’t have success so far :sad: Do you use the encryption? I’m interested in your code, if you would share it, as well as experience exchange…
What is frustrating me to no end is that I’m well acquainted with all that stuff! I started with values that made sense (i.e. those you exemplified) and when that didn’t work I tried hard coding specific values (like 0 or 11111) and still got the same random behaviour. It’s so odd, though, 'cause when it works properly, it really works!
-ud
I found this thread where some pitfalls regarding the classic controller are mentioned. My code is by the way in the Dual Strike Subversion repository, more specific here. The file of most interest is wiimote_extension_controller.c.
Finished the welcome sheet to go with the boards. Boards should be arriving sometime next week for final testing.
http://www.marcuspost.com/downloads/cthulhu/piiweewelcome.pdf
30mm x 55mm. Sucker is SMALL. Ergo, PiiWee
man pop this in a project box
and wire up some bootleg console controls (gen/snes/n64…ehhh maybe)
oh man
This is greatness and I definitely approve!!!
Awesome. Now here’s to hoping it finds its way over to the MC Cthulhu
I’m curious though, if the code doesn’t fit, would it be possible to have some code in the MC cthulhu just to check that it is hooked up to a wiimote so that you can dual mod with a PiiWii while maintaining an RJ45 setup? Somewhat like the UPCB and dreamcast.
Hey Toodles, if I purchased one of the extension cables that only has 4 wires, could I theoretically solder the D+/D- lines on an Imp to the SDA/SCL wires on the PiiWii? I was thinking about trying to mod this for use with a Chimp, and changing the end of the Wii extension cable to that of a USB end.
So that the MC would tell the Imp to flip over to piiwee mode? Err, I don’t think that’s going to happen. Partly because of the timing involved, since the Imp decides what it is going to be right away, while waiting for the detection of the wiimote would take forever. But mostly because I’m out of pins to use from the MC to control the Imp.
- The DET and VCC lines are going to be connected no matter what (they’re connected on the board), whether you have a fully pinned out cord or one of the 4 wire ones.
- I dont see any good coming from connecting the SCL/SDA wires to the XD+ and XD- points on a Chimp. Please consider it not recommended. If you wanted to integrate a piiwee with an MC Cthulhu and RJ-45 jack, then an Imp would be perfect for the job.
I don’t plan on soldering the SCL/SDA lines to the D+/D- on the Chimp. What I was thinking was this. I mentioned to you prior about installing an Imp to switch between the Chimp and an Arduino at one point. Well I thought maybe I could install a second imp and have the first one switch to the Arduino if Start/Select was pressed, and switch to the second Imp if nothing was pressed. Then if Home was pressed, it would switch to the PiiWii. Otherwise, the Chimp is selected which then autodetects between the 360 and PS3.
I know it may not be the most clean thing out there and in some ways an MC Cthulhu may be the preferable board in this scenario, but I just want to make sure that this is possible, as I didn’t see any reason why SCL/SDA couldn’t be D+/D- when wired to an Imp.
Thanks Toodles for helping me flesh this out; I just don’t want to make sure this all works before I commit to spending even more money than I already have on this crazy custom.
I believe SamSho Anthology doesn’t support the GC controller.
I’m quite interested in how this turns out since I do have a Wii (besides my PS3) and would like a simple, elegant way to getting my sticks on it.
this is great news toodles
i have previously used the library mentioned above for the arduino / wiring environment in tandem with the WiiChuck

i end up simply connecting to a nunchuck
you can see more info here
http://wiibrew.org/wiki/Wiimote/Extension_Controllers
the other classic controller library is part of the arduino playground
http://www.arduino.cc/playground/Main/WiiClassicController
I knew that, but I was referring to Virtual Console.
This sounds awesome. Keep up the good work.
Boards arrived. I did a bunch of testing and had to make some changes to the code to invert the Y axis on both analog stick, but otherwise it would appear that the advanced options (home button emulation, Dpad vs left analog select, LS/DP/RS slide switch support) all appears to be working fine. I still need to take a peek at the current draw of the device, which should be well under 12 mA if all is well and the datasheet is correct. I also want to buy some new batteries and do a play session on it just to verify it’s as stable as it should be.
In the meantime, here’s a picture. I’ll post up when these will be available from LizardLick, and I think Per is interested in these as well, so we may see these at AkihabaraShop before long.
coolio. combined with arts plexi case will be legen…dary!!!