Lesson 28 – Frequency Meter

Schematic

Program Description

The Arduino program measures the frequency of a square wave signal generated by an NE555 timer connected to pin 7.
It continuously reads the duration of both high and low pulses and calculates the frequency based on these values. The results, including frequency, high time, and low time, are printed to the serial monitor every half second, providing real-time monitoring of the signal’s frequency.

See the flowchart below for more information:

Code flowchart