The basics are done, I drew the schematics (for a perfboard) using KiCad and essentially it's ready to be soldered (see project files for the source).
However the software problems really annoy me. There are 4 different behaviours I noticed:
- The ESP starts up, initialises the screen and then resets
- The ESP cannot connect to the access point and retries indefinitely
- Connection goes well, it synchronises the internal time, but as soon as the light sensor detects something is crashes
- Everything works as expected
I don't have a lot of experience in debugging MCUs this complex, the error codes from the serial connection are complete gibberish to me. Maybe it has to do with how the memory is managed...
I have not yet done real load tests for the web server, but I suspect this might be another crash source. If anybody has experience in such behaviours and ESP programming help would be welcome.