Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Taping into buttons

cheapie408

New Member
I have a variable speed pump that does not have wifi and would like to add one.

Found a youtube video of someone taping into the buttons of the controller using a WiFi relay to mimic a button press. Is it safe to assume that most if not all buttons are some forum of dry contact?

The buttons are connected using a ribbon cable to the board in the photo below. There are a total of 7 buttons on the keypad and a total of 9 pins on the ribbon cable. I measure the current and it appears that it's operating on 5V.

I don't know much about electronics but I'm guessing the keypress should send 5v to whatever the trigger is?

What's the best way to figure out which buttons to press? Would I be measuring for continuity or voltage? 20241020_171444.png20241020_171417.jpg20241020_171410.jpg
 
Last edited:
There are various issues because it's not truly isolated, where a relay contact is (up to a pretty silly voltage).

Hi,

Sure, and usually the same power supply that supplies the main circuitry powers the CMOS analog switches.
Also, kind of amazingly, for an NxM multiplex matrix only N+M analog switches are needed, and for SPST functionality we can get four switches in one package. My 64 squares project took 8+8=16 switches which means it took 4 IC packages, and they are the usual DIP package type unless you want to go SMD. 16 relays would be kind of large and would never have fit inside the chess computer case.

Relays are often a go-to solution which does not take much effort, except the power consumption can be a little higher because of the relay coil.
These days they make some nice relay boards we can buy on Amazon and the like. One of those might work in this application. I think they even have screw terminals so no soldering required :)
 
Some type of opto-isolator may work? A transistor or darlington type possibly, if the polarity is correct?
Or such as an H11F1 which has a polarity-independent FET output?

That would keep the add-on size to a minimum, much smaller than normal relays.
 
I suspect the matrix method may be due to the manufacturer having other products with a larger number of buttons and the same software being adapted to this application. I very often use software that I have written for something else as a starting point for a new project.

Les.
 
It's also interesting that if we have a square matrix of N buttons we only need sqrt(N) switches in order to 'push' every button electronically.
For an NxM matrix we only need N+M switches to be able to 'push' every button electronically.
 

New Articles From Microcontroller Tips

Back
Top