Hi All, I am making a oil pumping counter for a friend. I have Nano, an opto-isolated single relay board and a 20 x 4 LCD. His meter has a reed-switch pulse output. Purely switched and no voltage.
It is all working fine here on the bench but testing the real thing with the pump, the Nano is sometimes glitching when the pump Contactor kicks in.
The flow meter is connected to the Nano's Pin 7 and the Nano's Ground.
The Contactor is 220vac, 40-Amp with a 110vac 120mA coil that is attached to the single relay board, NO and COM. Power to the Nano is via a 9vdc wall-wart.
Should I be using a capacitor somewhere to stop the glitching, or what? If so, what value and type, a little out of my depth here.
Thanks in advance.