-->
Page 1 of 2

Frequency Count

PostPosted: Thu Apr 21, 2016 6:58 am
by MattHand
Hi all,

I'm loving the ESP8266 more every day!

Does anyone know if it can measure frequency similar to the Arduino Frequency Count function?

Right now I'm only needing to measure a frequency up to 1.5Mhz but I'm guessing since the ESP8266 clocks a lot faster than 16mhz Ardunio - we should be able to measure considerably high frequencies.


Thanks heaps.

Matt

Re: Frequency Count

PostPosted: Tue May 03, 2016 8:18 pm
by swede
I second this !
I like the ESP8266 and would like to know if the FreqCount library can be used with it.
If it hasn't already been done, maybe someone can figure out the right timer definition for the FreqCount library util file . . .

posting.php?mode=reply&f=43&t=9629#

Re: Frequency Count

PostPosted: Wed May 04, 2016 5:24 pm
by Mmiscool
Can you provide a link to the arduino frequency count documentation. Can see about adding this if it is esp8266 compatible.

Re: Frequency Count

PostPosted: Fri May 06, 2016 2:52 pm
by cicciocb
I don't think that this can be done easily as there isn't any HW counter (connected to I/O pins) in the ESP8266.
With interrupts, the range will be very low.