janLo / MQTT433gatewayNG

MQTT 433.92 MHz radio-frequency device gateway, Web configureable.
MIT License
0 stars 0 forks source link

ESP clock #1

Open puuu opened 6 years ago

puuu commented 6 years ago

We still need to discuses the 80 MHz topic. As for puuu/MQTT433gateway#21, I simply did not want to have 160 MHz as default. An additional board definition with 160 MHz in platformio.ini is no problem, as well as a providing a binary for that.

There are many reasons, why 80MHz is default on the esp8266 platform, e.g., power consumption, temperature, lifetime, ... . I believe that this project has no need to increase the cpu clock, since all my devices did not show performance issues (but I also have not yet done any measurements). It is necessary the find the real problem, not the symptoms.

There are also some parameter that can be tuned, e.g., did you tried to increase ESPiLight::minrawlen to e.g. 24?

Anyhow, we need to collect the "load" of the devices under certain conditions. I am interesting in the number of loop() iterations per time interval. I have a debug flag commit for this in my pipeline.

puuu commented 6 years ago

Please see my pull request puuu/MQTT433gateway#27. I achieve about 32000 iterations per second with no antenna connected on a Wemos D1 mini.