ESP12e has grounding problems
Posted: Tue Oct 04, 2016 3:33 pm
I am using an ESP12e, NodeMCU and Lua to control 3 AC powered lights. It has the "nodemcu-master-7-modules-2016-06-07-17-38-12-integer" as a nodemcu/Lua interpreter with the "esp_iot_sdk_v1.4.0_15_09_18" bios. The ESP12e is installed in a custom PCB based on the following schematic.
The 2 capacitors at the Vcc input of the ESP are not installed because they did not make any difference.
When I developped the Lua code with ESPlorer, I got everything to work: switches S1 to 3 turned the lights on and off and sent a message to an openHab server to inform it and when the openHab server sent an HTTP request to turn the lights on or off, it worked.
But when I disconnected my notebook from the board and let it run by itself, I noticed that it kept sending an update of the status of the 3rd switch several times per second. Only the 3rd switch (S3). If I said that I had only 2 switches, everything worked fine. It also did not respond well to the on/off cations of S2 and 3. I reconnected the notebook and it worked fine again. I disconnected Rx and Tx but left Ground connected and it worked fine.
Any suggestion?
The 2 capacitors at the Vcc input of the ESP are not installed because they did not make any difference.
When I developped the Lua code with ESPlorer, I got everything to work: switches S1 to 3 turned the lights on and off and sent a message to an openHab server to inform it and when the openHab server sent an HTTP request to turn the lights on or off, it worked.
But when I disconnected my notebook from the board and let it run by itself, I noticed that it kept sending an update of the status of the 3rd switch several times per second. Only the 3rd switch (S3). If I said that I had only 2 switches, everything worked fine. It also did not respond well to the on/off cations of S2 and 3. I reconnected the notebook and it worked fine again. I disconnected Rx and Tx but left Ground connected and it worked fine.
Any suggestion?