Frequency Measurement via Arduino Timer

preview_player
Показать описание
Arduino Timer 1 is programmed to calculate the frequency of periodic signal input at pin D8 using input capture and overflow interrupts.

Link to code:

Contents:
0:00 Introduction
0:26 Block Diagram
1:00 Theory of Frequency Counting via Timer 1
2:46 C++ Sketch
3:40 Demonstration
4:02 Conclusion
Рекомендации по теме
Комментарии
Автор

Great video!
Any tutorial how to measure two input signals simultaneusly with a maximal freq of 40kHz and and show the ration of the two? I would maybe use a tiny ESP32 board if possible with wifi or BT.
Maybe ou have an idea if a ESP32 or ESP01 would be okay for the job?

ferencujvari
Автор

What would be the max frequency it could measure ? I need to measure around 2 Mhz not much precision needed

rodriguezfranco
Автор

Hello, it's a pretty simplified frequencymeter. Thanks for the video.
Can I ask; I need to use LCD display. Also, I need to count irregular analog signals between 20-100hz. can i use this code?
So, can I make these irregular analog signals readable with arduino internal adc or an external adc?

ahmetozdemir
Автор

Hi Sir,
Nice Video.
I need to Measure frequency from 1 Hz to 10000K Hz..Also Duty Cycle Resolution is 1 Hz. Can you Help me for this ??
Thanks in Advance.

ravirao