-
I'm trying to build a tiny fightstick version (60mm buttons, 12x6.5" panel, slider w/ copper tape 'n 3 MPR121 breakout boards) and I think I'm doing something horrendously wrong as I piece things together. I've got the slider wired up, but whether I plug in one MPR121 breakout board (the sparkfun one) or all 3, the device doesn't start up with SDA/SCL connected. Once I disconnect them it starts up and I see the joystick in the gamepads menu. If I plug in nothing (so bare board), the system starts up with both analog sticks stuttering in random directions. Is there a minimum config to start with to make sure things are wired up correctly? Just like a few buttons or so. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi, the firmware expects the MPR121s to always be there and if none of them are it will likely just read random values. That's where the flickering comes from. All other buttons should still function as normal in this case. If you want to disable the slider completely, you could try to comment out lines 160 and 231 in Regarding the device not starting up, does that mean there is also no output on the OLED and the LEDs or is it just not recognized as a USB device? The former might hint to something being shorted in your wiring. |
Beta Was this translation helpful? Give feedback.
-
Ah, much appreciated! There's also high likelihood I've also got the wrong addresses set on my other MPR121s (I have them at [no ADD set] / [ADD wired to SDA] / [ADD wired to SCL]) but I'll test 'em one at a time. =)
Ah, it's the latter. It's why I was trying to go with a single MPR121; I figured it was most likely I miswired something that was causing it not to show up as a device. |
Beta Was this translation helpful? Give feedback.
I'M A NUMPTY!
I didn't realize you had to connect GND. I read the diagram too literally XD