Frequency Measurement via Arduino Timer

Поделиться
HTML-код
  • Опубликовано: 28 авг 2024

Комментарии • 12

  • @ferencujvari1071
    @ferencujvari1071 Год назад

    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?

  • @ravirao5798
    @ravirao5798 2 года назад

    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.

  • @ahmetozdemir7173
    @ahmetozdemir7173 2 года назад

    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?

    • @AnasKuzechie
      @AnasKuzechie  2 года назад

      Thanks for your feedback. Yes you can easily replace the OLED with LCD. You need to use appropriate library. The code should be able to measure low frequencies.

    • @ahmetozdemir7173
      @ahmetozdemir7173 2 года назад

      @@AnasKuzechie thank for answere. one of my questions was also about adc.

    • @AnasKuzechie
      @AnasKuzechie  2 года назад

      @@ahmetozdemir7173 The code uses Timer1 via digital input D8 to calculate the frequency of input TTL rectangular wave. In order to measure frequency through the analog inputs, another sketch needs to be written. But, that's a thought for a future project.

    • @ahmetozdemir7173
      @ahmetozdemir7173 2 года назад

      @@AnasKuzechie It will be very good if you prepare a video for analog signal.

  • @rodriguezfranco3839
    @rodriguezfranco3839 Год назад

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

    • @matgaw123
      @matgaw123 Год назад

      It's about Arduino

    • @matgaw123
      @matgaw123 Год назад

      Arduino need to have much faster clock then frequency

    • @rodriguezfranco3839
      @rodriguezfranco3839 Год назад

      @@matgaw123 uno runs at 16mhz , I used freqcount library and it worked fine , measures very good

    • @matgaw123
      @matgaw123 Год назад

      @@rodriguezfranco3839 good