Trying to convert a toggle input to a true pulse and a false pulse. Ive tried flip flops, if-else, and everything else I can think of. Basically I have a pressure switch, and I need to it output a .5 second pulse when it opens to one port, and a .5 second pulse to a different port when it closes. I have a 20hp rotary compressor that doesnt run in “auto” mode anymore, and you have to hit start and stop manually, which is terribly inefficient. I need a way to use the pressure switch which is a close/open contact to work as a digital input, and simulate the bottons being pushed via a 2ch relay board that will be tied to the control panel.
Maybe Im missing something, but everything Ive tried just doesnt work or works in the wrong fashion. Any help is greatly appreciated!!!