Tell me what you want, What you really, really want.

Moderator: Mmiscool

User avatar
By MattHand
#45917 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
User avatar
By swede
#46832 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#
User avatar
By Mmiscool
#46897 Can you provide a link to the arduino frequency count documentation. Can see about adding this if it is esp8266 compatible.
User avatar
By cicciocb
#47007 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.