# Arduino frequency counter

**URL:** <https://forum.arduino.cc/t/arduino-frequency-counter/38250>\
**Category:** Development\
**Created:** [January 10, 2011, 3:52pm UTC](https://forum.arduino.cc/t/arduino-frequency-counter/38250 "2011-01-10T15:52:18Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [January 10, 2011, 3:52pm UTC](https://forum.arduino.cc/t/arduino-frequency-counter/38250/1 "2011-01-10T15:52:18Z")

</div>

Hi i found library for frequency counter:

[http://interface.khm.de/index.php/lab/experiments/frequency-measurement-library/](http://interface.khm.de/index.php/lab/experiments/frequency-measurement-library/)

But it use 3 pin in. I need someone who help me rewrite this library to use with this comparator:

And it is not the end i need to count 2 frequency. I have 2 comparator and need to read 2 frequency.

Sorry, for my poor english.

Please help me at forum or e-mail: [ilewy.mac@gmail.com](mailto:ilewy.mac@gmail.com)

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [January 11, 2011, 12:57pm UTC](https://forum.arduino.cc/t/arduino-frequency-counter/38250/2 "2011-01-11T12:57:46Z")

</div>

Please help me I realy need it. :-[

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [January 20, 2011, 1:49pm UTC](https://forum.arduino.cc/t/arduino-frequency-counter/38250/3 "2011-01-20T13:49:03Z")

</div>

Any one can't help me?

---

<div class="post-metadata">

**Author:** ![robtillaart](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/robtillaart/32/1098811_2.png) [@robtillaart](https://forum.arduino.cc/u/robtillaart)\
**Post date:** [January 20, 2011, 6:10pm UTC](https://forum.arduino.cc/t/arduino-frequency-counter/38250/4 "2011-01-20T18:10:08Z")

</div>

What country are you from? If you update that in your profile people may help in your native language.

I have no experience with this freq counter class, buton the page there is a reference to an earlier fequency library - [http://interface.khm.de/index.php/lab/experiments/arduino-frequency-counter-library/](http://interface.khm.de/index.php/lab/experiments/arduino-frequency-counter-library/) - that is maybe simpler to use with your schema. There is also the email of the original author, maybe he is able to help.

hopes this gets you started,

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [January 20, 2011, 8:23pm UTC](https://forum.arduino.cc/t/arduino-frequency-counter/38250/5 "2011-01-20T20:23:17Z")

</div>

I'm from Poland. I write to author of this libraries and he won't help me 😕

---

<div class="post-metadata">

**Author:** ![graynomad](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/graynomad/32/213871_2.png) [@graynomad](https://forum.arduino.cc/u/graynomad)\
**Post date:** [January 21, 2011, 3:40pm UTC](https://forum.arduino.cc/t/arduino-frequency-counter/38250/6 "2011-01-21T15:40:50Z")

</div>

What frequency range are we talking about?

* * *

Rob

---

<div class="post-metadata">

**Author:** ![jonsn0w](https://avatars.discourse-cdn.com/v4/letter/j/85e7bf/32.png) [@jonsn0w](https://forum.arduino.cc/u/jonsn0w)\
**Post date:** [January 23, 2011, 4:04am UTC](https://forum.arduino.cc/t/arduino-frequency-counter/38250/7 "2011-01-23T04:04:06Z")

</div>

It looks like you don't plan to use the internal analog comparator like the library that you reference since you already have an external one.

Also it looks like you plan to just use 2 pins and I assume 2 counters for this.

Is my understanding correct?

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [May 6, 2021, 7:54pm UTC](https://forum.arduino.cc/t/arduino-frequency-counter/38250/8 "2021-05-06T19:54:57Z")

</div>


