No video

Frequency Counter using Arduino Timers

  Рет қаралды 10,047

Anas Kuzechie

Anas Kuzechie

Күн бұрын

Пікірлер: 18
@postiemania
@postiemania 3 жыл бұрын
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.
@AnasKuzechie
@AnasKuzechie 3 жыл бұрын
Thanks
@ericgorder1
@ericgorder1 Жыл бұрын
This is so well presented and useful! Thanks very much!
@AnasKuzechie
@AnasKuzechie Жыл бұрын
Thank you
@marcosgiovanni9682
@marcosgiovanni9682 3 жыл бұрын
Anas very good, of the continuity to the videos of Websocket.
@minastaros
@minastaros 15 күн бұрын
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().
@incxxxx
@incxxxx 2 жыл бұрын
Very nice!
@AnasKuzechie
@AnasKuzechie 2 жыл бұрын
Thanks
@samshurp4518
@samshurp4518 Жыл бұрын
What is the max frequency it can measure, and what is the resolution of the frequency measurement?
@sdgreen4580
@sdgreen4580 2 жыл бұрын
I need to input a sign wave to display RPM. Will this design trigger accurately with a sign wave?
@ViruteVentura
@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..
@verarschn
@verarschn 2 жыл бұрын
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?
@AnasKuzechie
@AnasKuzechie 2 жыл бұрын
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.
@mertyasinaycicek7656
@mertyasinaycicek7656 2 жыл бұрын
Thanks for the video great project but I have a question.What is the error rate of the counter?
@AnasKuzechie
@AnasKuzechie 2 жыл бұрын
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.
@incxxxx
@incxxxx 2 жыл бұрын
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?
@michaeljoshuamanallo1742
@michaeljoshuamanallo1742 2 жыл бұрын
bro what is the max frequency that it can count please answer 🙏🙏
@AnasKuzechie
@AnasKuzechie 2 жыл бұрын
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
Arduino Timer 1 Interrupts via External Clock
5:36
Anas Kuzechie
Рет қаралды 4,9 М.
#968 Arduino Frequency Counter Breadboard
9:29
IMSAI Guy
Рет қаралды 11 М.
Ik Heb Aardbeien Gemaakt Van Kip🍓🐔😋
00:41
Cool Tool SHORTS Netherlands
Рет қаралды 9 МЛН
Gli occhiali da sole non mi hanno coperto! 😎
00:13
Senza Limiti
Рет қаралды 21 МЛН
هذه الحلوى قد تقتلني 😱🍬
00:22
Cool Tool SHORTS Arabic
Рет қаралды 48 МЛН
Timer Compare Match Interrupt in Arduino
9:36
Anas Kuzechie
Рет қаралды 6 М.
Level Up Your Arduino Code: Timer Interrupts
17:22
SparkFun Electronics
Рет қаралды 228 М.
#985 Frequency Counter Project with PCB
8:06
IMSAI Guy
Рет қаралды 14 М.
Time Measurement via Arduino Timer
5:52
Anas Kuzechie
Рет қаралды 7 М.
How to create very fast square pulses with Arduino ( up to 4 MHz with Arduino NANO, UNO, & MEGA2560
18:03
Cracking Enigma in 2021 - Computerphile
21:20
Computerphile
Рет қаралды 2,5 МЛН
How Do Computers Remember?
19:32
Sebastian Lague
Рет қаралды 6 МЛН
Timer Interrupt ISR + Examples | Arduino101 | Set Registers & Modes
16:13
Ik Heb Aardbeien Gemaakt Van Kip🍓🐔😋
00:41
Cool Tool SHORTS Netherlands
Рет қаралды 9 МЛН