Does anyone know what the current processing load of the ESP Easy FW is on the ESP8266?
I know this is depending on the amount of devices connected and that it is 100% because the may loop is continuously running. But I mean the time spend within the timed routines. Maybe some one measured it for a certain situation...
There are a few reasons that I'm asking:
1. As far as I can see in the code the switch input is currently checked with 100 sps. In my opinion this is still quite slow, but more important debounce prevention is missing. I would prefer an update rate of 10ms with a minimum of 5 consecutive states before the update state is send to the outsides. The worst-case response time is than half (50 ms) and it is more robust against debouncing.
2. I would like to have a rotary encoder (to add for example http://www.digikey.com/product-detail/e ... ND/2620667) available within the device list. I think the ESP8266/arduino does not support real interrupt routines some the state checking has to be done within software. A nice update rate would be 10ms.
The reason I'm asking for this is that I would like to make an 240V AC dimmer with a rotary enconder as hardware control and domticz a software control.
In onder to do the AC dimming (leading/tralling edge) a will add an additional uC which has timmers in order to sync everything with the mains frequency. The uC will be connected with I2C to the ESP Easy. When I have a little more progress with the hardware I will create a topic within hardware section, I would like to focus on the ESP Easy software within this part.
Thanks in advanced!!
ESP8266 Processor load
Moderators: grovkillen, Stuntteam, TD-er
Re: ESP8266 Processor load
I have no answers for your questions. But I too am interested in support for the rotary encoder modules. I think that it would be great for providing a WiFi connected volume, temperature, or dimmer control. Have you actually started a fork to play around with any code yet? Please let me know if you make any progress, or want some help.
--
maX
maX
Who is online
Users browsing this forum: Bing [Bot] and 19 guests