so, i made a PCB, and it's all straight forward, and have a Mega 2560.. i have most of them all buttons, and dont use any events yet.. since i wanted to see if the buttons are all working. so when i press some of them, they all work fine. but i have a bunch intermittendly triggering other presses as well and some buttong generates 3 different button presses.., i am so stumped by this.. any one can point me in the right direction?
#Button presses all over the place galore
1 messages · Page 1 of 1 (latest)
You likely have a short in your solder connections
Tips and tricks to making good solder connections when working with devices.
i wish.. did 4 different boards, and even tested, and have no shorts. i wish it was that
Any time there's random button presses it is a short or crossed wiring. Post photos of your pcb that clearly show where the buttons are connected
Are you using a hat or breakout thing with the mega?
ok, let me take some pics.
It's my bedtime. Someone else will likely chime in overnight
Is there maybe a damaged cable between your button board ant the arduino?
This solder joint looks suspect
I would look at the pin headers where you attach the arduino. This kind of random presses is always a short or bad wiring connection.
especially if it's always the same buttons causing the same other fake presses to show up
this isn't a mobiflight software issue, it's a hardware side issue
the wires are re-connected randomly with different ones.. (using the male - male pins .
let me reflow that one. and check again... this this the file i use.
this is how i have the buttons wired. and found this, are there pins i cannot use for presses ?
The supported pins are listed in our docs: https://docs.mobiflight.com/boards/recommended/mega-2560-pro-mini/. You cannot use D0 and D1
Details on MobiFlight support for the Mega 2560 Pro Mini.
You should also check the soldering on whatever pin headers you have attached to the mega. I know it's frustrating to chase down, but this is a hardware problem not a software one.
looks like all the boards are good, but found 6 shorts on the ardruino board itself... fixed all of those, and now putting it together again, and testing
looking a lot better now... still have 1 trace (light 4) popping up with other buttons when i fast press... that is D13.. it is mention that D13 can cause problems.. i see in the other screen i posted
See the note at the bottom of our Mega 2560 doc page that I shared earlier
darn forgot to look at that, and it confirms what i just said....
and... that is the only button not working at all.... so that explains it...
So this is all resolved?
i need to redo my pcb, so working on that, but i think its all resolved... will know more later tonight or tomorrow
ok finally done..,. its all working now... that D13 was killing it all. lesson learned... now i can do all the events 🙂