Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : Are WII controllers viable on the PicoMite?
Author | Message | ||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6814 |
They should be as it's only 100kHz I2C and the CMM2 already handles them. Of course, the PicoMite has no command slots left so the NUNCHUCK and CLASSIC commands won't be available. Some other means will be necessary. Bitbang I2C may be needed as the PicoMite has only two I2C ports. It would be nice to be able to handle another controller, but it's not essential. Sockets for these aren't that easy to source (AliExpress only AFAIK) and I don't want to lash something up using the PCB, as is done on the CMM2. I don't feel that it's substantial or reliable enough without gold fingers on the board, and that's expensive. I would prefer to cut the plugs off and replace them with something more standard. There's only four pins actually needed. Edited 2023-03-15 20:47 by Mixtel90 Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6814 |
Further thoughts. I don't like the fact that WII controllers aren't addressable on the same bus. The answer would seem to be to make my own controllers. I've looked at this before, but it looks like you can't easily make D-pads without 3D printing the controller button or using one intended for something else. The latter idea is awkward because they are all intended to operte membrane switches, not tactile switches. This is something I've just come up with. Analogue joystick modules are stupidly cheap (1.18 UKP from Bitsbox and all over the place on AliExpress and ebay). Take one of those and each output feeds two comparators (of a LM339 quad). You have "Over 2V" and "Under 1V" signals for both X and Y then. Those are fed into four inputs of a MCP23008 IO expander, together with a couple of buttons and the joystick switch. The IO expander is on the I2C bus and you can have up to 8 of them. By twiddling the resistors used with the comparator inputs you can set the sensitivity of the joystick so it is acting as a nice, smooth digital stick. All the bits are cheap. It *might* fit into a 90x70x28mm box, but I've not tried yet. Comments? Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
thwill Guru Joined: 16/09/2019 Location: United KingdomPosts: 4047 |
First write more games for the PicoMiteVGA . But whatever keeps you happy and out of trouble. Best wishes, Tom Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6814 |
^^^^^^^^ This. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
Print this page |