Another log

A project log for Internet-of-Things Power Meter

Simple, cheap, easy to build and deploy, the IoT Power Meter provides accurate statistics on household power consumption.

SolenoidSolenoid 12/22/2015 at 12:100 Comments

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:

  1. The ESP starts up, initialises the screen and then resets
  2. The ESP cannot connect to the access point and retries indefinitely
  3. Connection goes well, it synchronises the internal time, but as soon as the light sensor detects something is crashes
  4. 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.