good day, im have a project involving a coin acceptor & nodemcu. the pulse from the coinslot was isolated using optocoupler pc817. the anode is connected to a 5v source with resistor and the cathode is connected to the signal line (pulse) to the coin acceptor. my problem is when i use the system & insert the coins to coinslot , it reads the actual value but when i use a piezoelectric source from the lighter it gives a false signal to the nodemcu . any suggestions on how to solve this problem ? thanks

