Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 14:38 29 Nov 2024 Privacy Policy
Jump to

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 Kingdom
Posts: 6814
Posted: 10:45am 15 Mar 2023
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 6814
Posted: 12:20pm 17 Mar 2023
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 4047
Posted: 12:24pm 17 Mar 2023
Copy link to clipboard 
Print this post

  Mixtel90 said  Comments?


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 Kingdom
Posts: 6814
Posted: 12:27pm 17 Mar 2023
Copy link to clipboard 
Print this post

^^^^^^^^ This.  
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024