seyyah
Advanced Member level 2
I am trying to do pulse measurement. i.e pulse count.
I have the following circuit. I add a small rc filter which has a cut off frequency higher than the pulse frequency. I'm observing the signal from the scope i don't see any noise or pulse deformity. But when i compare my results with an industrial counter my results are wrong when the capacitor is in the circuit. When i take it out the results are identical. This means that capacitor couples some noise into the circuit which i cannot see on the scope. I add that to prevent the noise. Should i remove it and why capacitor affects the result? Did you propose other circuit than this to interface with a 24v pulse to 5v microcontroller, thanks.
I have the following circuit. I add a small rc filter which has a cut off frequency higher than the pulse frequency. I'm observing the signal from the scope i don't see any noise or pulse deformity. But when i compare my results with an industrial counter my results are wrong when the capacitor is in the circuit. When i take it out the results are identical. This means that capacitor couples some noise into the circuit which i cannot see on the scope. I add that to prevent the noise. Should i remove it and why capacitor affects the result? Did you propose other circuit than this to interface with a 24v pulse to 5v microcontroller, thanks.