cancel
Showing results for 
Search instead for 
Did you mean: 

Reverse engineering an membrane keypad

jsw2000
Associate II

I have a machine which have 2 BLDC motors and I need to control it. I'm planning to control the motors by tapping the membrane keypad which already exists in the machine using microcontroller signal. I found the 2 pins that connected to certain button and when I keep pressing the button and checking the continuity, multimeter didn't give a beep sound. When I checked the voltage difference in each pin when I pressed the membrane button one was giving 14V while other pin having 4V. But these voltages didn't fluctuate when I pressed the button, but the button function keeps working which means the button membrane should be working fine. Is there a way to mimic the button press using a microcontroller or I need to know an alternative way to control 2 BLDC motors which are 12V and 15A rated current.

1 ACCEPTED SOLUTION

Accepted Solutions
Karl Yamashita
Lead III

It looks like 2 traces are common. I'm not 100% sure, but it looks like button F doesn't do anything as both sides of the switch go to the common wires. Your fingers are covering part of the traces and it's slightly blurry by those buttons, so maybe i interpreted it wrong?

You'll have to determine if the common wires are going to either ground or Vcc, and the button traces are either pulled up or pulled down. Then you can use some appropriated circuitry if needed, to monitor buttons A-D and G, without causing an issue for the other microcontroller.

 

buttonMembrane.png

Tips and Tricks with TimerCallback https://www.youtube.com/@eebykarl
If you find my solution useful, please click the Accept as Solution so others see the solution.

View solution in original post

7 REPLIES 7
Karl Yamashita
Lead III

@jsw2000 wrote:

I'm planning to control the motors by tapping the membrane keypad which already exists in the machine using microcontroller signal.


It's not clear when you say tapping? Are you trying to tap into the signals in between the membrane that has an existing microcontroller? And you're trying to add another microcontroller to control the motors by using the signals from the membrane?

Tips and Tricks with TimerCallback https://www.youtube.com/@eebykarl
If you find my solution useful, please click the Accept as Solution so others see the solution.

Yes, I'm trying to tap into the signals in between the membrane that has an existing microcontroller.

Karl Yamashita
Lead III

Having a little more information on the membrane would help. Is it a custom one or is it like standard number keypad? How many conductors does it have? Picture and/or part number of membrane?

Tips and Tricks with TimerCallback https://www.youtube.com/@eebykarl
If you find my solution useful, please click the Accept as Solution so others see the solution.

I tried short-circuiting the pins and found a way to mimic the button press. Thank you all for your help. It means a lot! 

Karl Yamashita
Lead III

It looks like 2 traces are common. I'm not 100% sure, but it looks like button F doesn't do anything as both sides of the switch go to the common wires. Your fingers are covering part of the traces and it's slightly blurry by those buttons, so maybe i interpreted it wrong?

You'll have to determine if the common wires are going to either ground or Vcc, and the button traces are either pulled up or pulled down. Then you can use some appropriated circuitry if needed, to monitor buttons A-D and G, without causing an issue for the other microcontroller.

 

buttonMembrane.png

Tips and Tricks with TimerCallback https://www.youtube.com/@eebykarl
If you find my solution useful, please click the Accept as Solution so others see the solution.

You have drawn the correct schematic,  if I need to mimic the button press on B could I use a transistor between common and B wire and give a signal to short circuit the circuit. If not what are the other options, if yes, is there any recommendations in transistors? 

Instaed of Transistor, you can optocoupler or relay, try to isolate the MCU GND and Membrain Key GND / Common,

you can use PC817 opto for testing or SPDT / SPST relay.