I’m currently working on a project where I want to replace physical button presses with a process that runs via Particle device. I have an electron and a few original cores, I’m not too worried which Particle device I’m using.
For some context, I have an old drinks vending machine that has a series of customer facing push buttons. These buttons each have a microswitch. I want replace the microswitch entirely, so that the “button presses” are actually done via HTTP requests to the electron/device.
It may seem strange to simulate the button press rather than not interfacing with the machine at another level. The reason I’m doing this is because I want to make minimal changes to the machine and this way I get to take advantage of the function of the motherboard on the machine, that are triggered by the button press. The motherboard is rare and documentation no longer exists, so I can’t afford to make guesses at controlling it directly.
My electronics knowledge is incredibly limited. My current idea is to replace the microswitch with a relay (I have the original core relay shield). I intend to just swap the NO/NC from the microswitch to that of the relay. This seems a little overkill for what I’m trying to do, so may questions are:
- Is a relay the right way to go about this?
- Do I need to worry about the amp to the current microswitch if I do replace with a relay (am I likely to blow something in the machine?)
I’ve attached a picture of the microswitch I intend to replace. And by replace, I mean “work-around”… I will be leaving the existing switches in place, albeit disconnected, incase I need to reverse later.
Any ideas/warnings would be appreciated.