I need to implement a frequency counter (pulses per minute) of a DC circuit that goes up to 20 volts. A little background, I am building a linear power supply 0-20 volts, 0-3 amps for my relative who is a tattoo artist. He wants me to help him build the supply but he has the need to know what frequency the tattoo machine (just a basic doorbell circuit) is operating at. His specialty tattoo machine power supply has this feature and I guess it's helpful for something.
I have found several schematics for DIY frequency counters, I really like the Weeder Tech auto-ranging unit but I cannot figure out a reliable way to interface one with a DC power supply. I have looked into preamp circuits for low voltage signals, but that still presents a question about feeding it up to 20 volts. I am quite certain the full 20 volts will fry the IC's, and honestly I am uncertain if it'll even measure DC pulses because of the capacitors in the signal path of the frequency counter. I have looked into Hall effect current sensors, Zener diodes, voltage dividers and all of that, but I'm lost as to how to simply count how many times a second the circuit is closed by the machine and providing current. I just need a low cost reliable way of making a 0-20 volt DC circuit a logic level signal. Even if it was as simple as an IC or op amp that would go high when any current is flowing, that would seem perfect.
I know this is a rather odd request as usually only AC is interesting frequency wise, but really appreciate any help in finding a solution to this one.
