I'll preface this by saying i have some experience in electronics, but am always learning.
I have a custom 20 button CP i put together with some 12v LEDs. They draw approximately 46.2mA (white LEDS draw more from what i understand). I have been testing with a separate 3A power supply, but thats for testing purposes (final will be a 1.5A) as i'm only drawing around 1A if every light is on.
I want them to only turn on when the button is pressed.
I have wired my ipac4 from a bunch of years ago (has a PS/2 port to USB) to all the buttons so the CP at least works (retropie/retroarch). Now i want to get the LEDs done.
I wired up the ground from the PSU to the ground terminal on the ipac (figuring i'd need a common ground to trigger the ipac and LEDs on button press) and supply 12v power to one of the buttons LED+ (as a test first) - the LEDs are labeled - and + to prevent errors. Ground is going from the ipac to each buttons COMM in a daisy chain. The buttons signal wire (NO on microswitch) is wired both to the ipac and the ground for the LED, figuring on press you ground the button signal and LED lights up.
HOWEVER, while the LED lights up when i press the button, i see the ipac is getting current thru the signal wire and the grounded PSU attached to the ipac. The ipac's led turned on (button not pressed) - which triggered my "wait what, thats not right" reflexes and i killed the power before i messed up more. I found this really odd. I know ground will carry some mA, but i was registering 9v at the signal wire.
I also did a continuity test on ground from the ipac to any of the signal wire terminals (the ipac was not connected to anything or the LED psu) and i was getting continuity. My assumption is the signal inputs on the ipac are high, and grounding them is what tells it a button was pressed.
Scratching my head...
I put my multimeter to test voltage, red probe clipped on the end of the signal wire coming from this test buttons NO, and black probe clipped on the ground attached to the ipac / psu.
LED psu plugged in AND the button is not pressed, i see 9vdc register... when pressed .01vdc? i'm no electrical engineer, so i'm kinda stumped on what to do.
Ground is daisy chained to all button COMMs, then to the ground on the ipac.
Signal wire from NO on button is going to (-) on LED and input on ipac (like a jumper wire kinda deal)
PSU (-) is going to ground on ipac, (+) is going to LED (+).
The CP works without issue without the LEDs, so i know the button COMM and signal wires are connected correctly. I read in another post that the ipac doesn't need a common ground from its PCB to the buttons to trigger the ipac?
Hoping someone can confirm, i don't want to damage my ipac with silly experiments if i can help it.