Example 1: posting status to thingspeak
http://captain-slow.dk/2015/04/16/posti ... d-nodemcu/
Example 2: to web enable LED but altered for relay instead of LED
http://randomnerdtutorials.com/esp8266-web-server/
Everything runs fine, without load attached to the relay..ie the load of the door lock is not connected. Even when I turn on/off the relay.
However, when I connect the load onto the relay, the ESP-12 seems to reboot when I turn on the relay. It seems to mostly happen after posting to thingspeak then I engage the relay. But not always....
I checked the heap, it hovers around 10/11000
any suggestions as what the problems is and how I would go about debugging it. There is no message before crashing/rebooting.. it just restarts normally.
Any electrical engineers out there, is there a possibility of the load on the relay 12VAC is causing some oscillating noise that is causing the ESP to restart? The relay basically sits next to the ESP
Any help would be much appreciated...