Introduction - If you have any usage issues, please Google them yourself
Hardware circuit can be divided into signal conversion circuit, frequency divider circuit, the data selection circuit, single-chip systems, and display circuit of five parts.
Level-shifting circuit:
The need for level-shifting circuit: as in the MCU can only count on the pulse count, but the actual need to measure the frequency of the signal is varied, a pulse wave, there may be sine, triangle, etc. so they need a circuit to test the signal pulse can be counted.
By the level conversion circuit to form a sinusoidal input signal with frequency fx entire square wave fo, convert square wave to sine wave signal can be used to achieve zero comparator circuit. Sinusoidal signal with the zero level by LM833N comparison, the voltage output of LM833N greater than zero when the positive power supply 5V, output voltage is less than zero, the negative power supply 0V.