CM3 dpad wiring
#4
(09-16-2020, 03:02 AM)Flavor Wrote: Are you planning to use some specific buttons/switches?

All the digital buttons are wired directly to GPIO pins on the Pi CM3 (or Zero).  There aren't any resistors or anything like that in-between.  Furthermore, you can use any GPIO you want.  You would just edit the /etc/modprobe.d/mk_arcade_joystick.conf file accordingly.  

You could leave the current DPAD alone and wire up 4 tac switches deadbug style with wires running to open GPIO.  The "v1.3" board has some open GPIO, but they're a bit small.  If you're not using an add-on board, you could easily use GPIO 40-45 that are between the USB socket and the ABXY button area.

After investigating, I don't see a safe way to drill holes in the dpad area.

Thanks for the quick reply. Thanks for confirming, I had a suspicion that the board was multilayered. I have some left over two pin tac switches that I used to replace the ABXY buttons with. I think I can 3D print a switch holder to keep the switches in place and deadbug mount using the 40-45 GPIO, I'm already using one of the GPIO for a rear button I mounted and remapped the hotkey to.
Reply


Messages In This Thread
CM3 dpad wiring - by lazlow3 - 09-16-2020, 02:05 AM
RE: CM3 dpad wiring - by Flavor - 09-16-2020, 02:43 AM
RE: CM3 dpad wiring - by Flavor - 09-16-2020, 03:02 AM
RE: CM3 dpad wiring - by lazlow3 - 09-16-2020, 03:43 AM
RE: CM3 dpad wiring - by Flavor - 09-17-2020, 07:01 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)