-->
Page 4 of 4

Re: Keeping up with lots of interrupts (two encoders)

PostPosted: Tue Apr 04, 2017 9:02 am
by daniel_ezsbc
Remember that the ESP8266 has to keep the WiFi stack alive as well so you are going to have periods of time where the CPU is engaged in things other than servicing your interrupts. This doesn't sound like a winning recipe.

I would code up quadrature decoders and up-down counters in a small FPGA or a PLD and offload the real time work to hardware. Lattice has small FPGAs for under $5.