Gannon Posted February 25, 2020 Posted February 25, 2020 Putting together my first button box using Arduino pro micro clone and MMjoy2. I have just about everything working and for some reason 1 damn switch wants to turn on the other 4 in the row as show in the picture below. It should be button #5, but turns on 1-4. https://ibb.co/4s3DwTH As far as wiring, even though its button #5 in that row its actually wired between switches #3 and #4. Not using diodes as I'm not too concerened with multiple press ghosting. But would a diode fix this issue? Why is this the only button in the matrix doing this and not other in that column? Thanks for any help. VFA-25 Fist Of The Fleet [sIGPIC][/sIGPIC] Joint Task Force 1 | Discord
Goblin Posted February 25, 2020 Posted February 25, 2020 Could you show how you set up the matrix? Did you swap colums and rows, perhaps?
Gannon Posted February 25, 2020 Author Posted February 25, 2020 Could you show how you set up the matrix? Did you swap colums and rows, perhaps? In this Diagram the button in question is S4. When I press it, the other 4 in the row are triggered all at once. so is it ghosting in the other columns? I don't understand why that would happen with this single button and not everywhere else though. VFA-25 Fist Of The Fleet [sIGPIC][/sIGPIC] Joint Task Force 1 | Discord
Goblin Posted February 25, 2020 Posted February 25, 2020 It’s hard to check your setup when the wiring diagram ports doesn’t match the ports in MMJOY. Have you set columns and rows according to this? https://github.com/MMjoy/mmjoy_en/wiki/Controllers-(compatible-base-boards)
Gannon Posted February 26, 2020 Author Posted February 26, 2020 It’s hard to check your setup when the wiring diagram ports doesn’t match the ports in MMJOY. Have you set columns and rows according to this? https://github.com/MMjoy/mmjoy_en/wiki/Controllers-(compatible-base-boards) Yea the pin locations are different and I've made sure the correct coresspoining pins are used in mmjoy. If they weren't then I would have other buttons not working. However every other button works. This one is just giving me simultaneous presses of every other button in its row. Its the only button doing this. VFA-25 Fist Of The Fleet [sIGPIC][/sIGPIC] Joint Task Force 1 | Discord
rem27 Posted February 29, 2020 Posted February 29, 2020 Hi Gannon, I Build also my own button box with Arduino and matrix buttons and I encountered the same problem. To avoid ghost button presses you have to use diodes after each button https://github.com/MMjoy/mmjoy_en/wiki/Connecting-basic-inputs-and-setting-up-software Intel® Core i7-7700K @4,20GHz - 64 Go RAM - GeForce GTX 1070 Ti - Windows Pro 64 bit - Stream Deck - HOTAS Warthog
arturojgt Posted April 4, 2020 Posted April 4, 2020 35 buttons box Hi, This is circuit plan en PNG and json for EasyEDA (chang .txt for .json), also I uploaded a screen capture of the mmjoy window and the mmjoy set file button box (change to .mmjoy)- The rotary encoder part is WIP. I hoping this will help you a little.Botonera Matrix.txtButton Box.txt Arturo "Chaco" Gonzalez Thomas
Brewnix Posted April 5, 2020 Posted April 5, 2020 (edited) In this Diagram the button in question is S4. When I press it, the other 4 in the row are triggered all at once. so is it ghosting in the other columns? I don't understand why that would happen with this single button and not everywhere else though. In your schematic for switch "S4" your using Pin D9? D9 on some of my many docs I have for MMjoy2 is "ADC13". Also S5 is wired D7 to D8 isn't that BC to BC. Just a thought. Edited April 5, 2020 by Brewnix [sIGPIC][/sIGPIC]
Recommended Posts