#Button presses all over the place galore

1 messages · Page 1 of 1 (latest)

heavy pendant
#

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?

earnest river
#

You likely have a short in your solder connections

heavy pendant
#

i wish.. did 4 different boards, and even tested, and have no shorts. i wish it was that

earnest river
#

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?

heavy pendant
#

ok, let me take some pics.

earnest river
#

It's my bedtime. Someone else will likely chime in overnight

heavy pendant
#

the traces are not even closeby.

#

used multimeter in cont. mode and no shorts.

shy radish
#

Is there maybe a damaged cable between your button board ant the arduino?

earnest river
#

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

heavy pendant
#

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 ?

earnest river
#

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.

heavy pendant
#

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

heavy pendant
#

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

earnest river
heavy pendant
#

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...

earnest river
#

So this is all resolved?

heavy pendant
#

i need to redo my pcb, so working on that, but i think its all resolved... will know more later tonight or tomorrow

heavy pendant
#

ok finally done..,. its all working now... that D13 was killing it all. lesson learned... now i can do all the events 🙂