Thanks for your help.
I hope the digital dial gauge I ordered will work with theses timmings. I will post an update then.
If not I will follow pythoncoder advice and go for a pyboard
Or maybe RMT receive or PCNT will come to esp32 since then (somewhere close to Christmas)
[SOLVED] Polling pin at 13_us rate ?
Re: Polling pin at 13_us rate ?
nodemcu V2 (amica)
micropython firmware Daily build 05/31/2016
micropython firmware Daily build 05/31/2016
Re: [SOLVED] Polling pin at 13_us rate ?
In case you want to try out RMT:
Reading pulses with RMT is available in the Pycom variant of Micropython. Their WiPy3 device is a esp32 with 8MB Flash and 4 MB SPIRAM. Their firmware runs on any ESP32 with a rev1 chip and 8MB flash/4MBSPIRAM. The API is similar to the WiPy1 version of Micropython.org.
The RMT read works, with a few limitations: It can read up to 128 pulses, and it will only stop reading on a timeout.
I have prepared a branch of the Pycom firmware for genuine ESP32, using "GPIOxx" resp "GPIxx" for Pin names (instead of "Pxx" or "Gxx"), using ESP32 as the board name. You can find that here: https://github.com/robert-hh/pycom-micr ... e/homebrew.
Reading pulses with RMT is available in the Pycom variant of Micropython. Their WiPy3 device is a esp32 with 8MB Flash and 4 MB SPIRAM. Their firmware runs on any ESP32 with a rev1 chip and 8MB flash/4MBSPIRAM. The API is similar to the WiPy1 version of Micropython.org.
The RMT read works, with a few limitations: It can read up to 128 pulses, and it will only stop reading on a timeout.
I have prepared a branch of the Pycom firmware for genuine ESP32, using "GPIOxx" resp "GPIxx" for Pin names (instead of "Pxx" or "Gxx"), using ESP32 as the board name. You can find that here: https://github.com/robert-hh/pycom-micr ... e/homebrew.