This is a great project and will run on an Arduino Nano or even a pro mini. The code is well written and commented and available for download. I recommend this project for beginners as it is a good example of how to write and comment your code. I ran this code to compare to something similar I did using the 32768Hz output from a DS3231 RTC. Well presented Anas.
@AnasKuzechie3 жыл бұрын
Thanks
@ericgorder1 Жыл бұрын
This is so well presented and useful! Thanks very much!
@AnasKuzechie Жыл бұрын
Thank you
@marcosgiovanni96823 жыл бұрын
Anas very good, of the continuity to the videos of Websocket.
@minastaros15 күн бұрын
why do you put setup code into the loop()? That's where setup() is made for. And the loop() repeats itself, so no need for the loop inside. That would be a simple if().
@incxxxx2 жыл бұрын
Very nice!
@AnasKuzechie2 жыл бұрын
Thanks
@samshurp4518 Жыл бұрын
What is the max frequency it can measure, and what is the resolution of the frequency measurement?
@sdgreen45802 жыл бұрын
I need to input a sign wave to display RPM. Will this design trigger accurately with a sign wave?
@ViruteVentura Жыл бұрын
Sir i need to write a code for arduino that calculates the frequency of a vpulse with timer 1 using counter mode only on pin2 of the arduino without resorting the interrupt service. Can you help me with such a code..
@verarschn2 жыл бұрын
Thanks for the video! i'm using an additional frequency source but i having a hard time to track both frequency Inputs! Could you give me a hint how to attach an additional clock/timer/measurement for the secound frequency source?
@AnasKuzechie2 жыл бұрын
Hi. It's not possible with ATmega328 (Uno/Nano), since it has only one 16-bit timer (Timer 1) that supports external clock input. Consider using Arduino Mega, which has 4 16-bit timers.
@mertyasinaycicek76562 жыл бұрын
Thanks for the video great project but I have a question.What is the error rate of the counter?
@AnasKuzechie2 жыл бұрын
Hi, thanks for your feedback. To be able to calculate the percentage of error of Arduino-based frequency counter, we need to compare it with an actual device, which I don't have.
@incxxxx2 жыл бұрын
Why it does not count frequency higher than 7 MHz ??? Do you have any notion what is the reason? Theoretically there's no reason, signal, fx of 9MHz is OK, Timer1overflowCounts is less then 200, so what?
@michaeljoshuamanallo17422 жыл бұрын
bro what is the max frequency that it can count please answer 🙏🙏
@AnasKuzechie2 жыл бұрын
Hi. I did not measure the maximum frequency since it depends on prescaler used for Timer 1. You can watch my other video on frequency measurement via Timer 1, where I use another technique: kzbin.info/www/bejne/nKKXo4GHbZmem8U