What could have damaged a pin on the ESP8266 ?
Posted: Tue Feb 16, 2016 6:15 pm
This is my setup
Power source: 220VAC to 5VDC transformer with diode bridge and regulator (from USB cellphone charger)
Custom board: contains the ESp8266 12E, 3.3v regulator (LD1117 SOT-223) and a 10k resistor to connect CH_PD to 3.3v, GPIO15 and GND are tied together
Relay board: 5V - 250VAC 10A (SRD-05VDC-SL-C) with diode and transistor
Switch: Normal house light switch to connect/disconnect GND to GPIO13
Everything else is disconnected
Got several of these 'nodes'. Left 2 of them plugged to the mains for about a month on a remote area and another 2 plugged at my house for the same time.
When I went to check on the remote ones, found that they weren't working and after further inspecting found the flash was corrupted (one of the nodes wouldn't boot, just send garbage to the serial port, checked all common baud rates, and the other node was stuck on a reset loop by the watchdog) and the input pins weren't working anymore as inputs, output works correctly
Relays were OK, power source OK, regulator OK
Reflashed the software and everything went back to normal (except the input pins that now only serve as outputs)
What could've gone wrong?
The nodes I left home are still working perfectly
I'm aware that the relays needs 5V and I'm giving them 3.3, I think I did the math a while back and the regulator was able to supply the extra current
Whats going oooonnn
Power source: 220VAC to 5VDC transformer with diode bridge and regulator (from USB cellphone charger)
Custom board: contains the ESp8266 12E, 3.3v regulator (LD1117 SOT-223) and a 10k resistor to connect CH_PD to 3.3v, GPIO15 and GND are tied together
Relay board: 5V - 250VAC 10A (SRD-05VDC-SL-C) with diode and transistor
Switch: Normal house light switch to connect/disconnect GND to GPIO13
Everything else is disconnected
Got several of these 'nodes'. Left 2 of them plugged to the mains for about a month on a remote area and another 2 plugged at my house for the same time.
When I went to check on the remote ones, found that they weren't working and after further inspecting found the flash was corrupted (one of the nodes wouldn't boot, just send garbage to the serial port, checked all common baud rates, and the other node was stuck on a reset loop by the watchdog) and the input pins weren't working anymore as inputs, output works correctly
Relays were OK, power source OK, regulator OK
Reflashed the software and everything went back to normal (except the input pins that now only serve as outputs)
What could've gone wrong?
The nodes I left home are still working perfectly
I'm aware that the relays needs 5V and I'm giving them 3.3, I think I did the math a while back and the regulator was able to supply the extra current
Whats going oooonnn