-->
Page 1 of 1

NodeMCU based control board schematic

PostPosted: Tue Jun 06, 2017 12:30 pm
by Ajay Singh
Dear All,

My self Ajay from Nepal.

Sir I am using node MCU board with 4 Channel 5V relay (Songle).

Sir, the problem which I am facing is:

1) Relay Chattering &
2) Auto ESP8266(NodeMCU) Reset on Power fluctuation.

Do, I need to place capacitor after Hi-Link PM-01 Module, if yes so please suggest me schematic or Additional battery Battery.

Sir, I am very beginner in Automation, please ignore my mistakes.

(Fritzing Attached)

Thanks
Ajay Singh

Re: NodeMCU based control board schematic

PostPosted: Fri Jul 07, 2017 9:35 pm
by Anthony420
You're overloading the ESP8266 attempting to drive those Opto Isolators directly. Likely that is the cause of the Relay chatter and sucking down the I/O pin may also be the source of your reset problem. Capacitor is not going to help that, you might try a driver transistor between the ESP GPIO and the opto isolators on the Relay module.
Anthony

Re: NodeMCU based control board schematic

PostPosted: Sun Jul 23, 2017 9:40 pm
by Bill Weis
I am curious what action you took based on the feedback. Did you add a transistor to the GPIOs to drive the relays? I am going down a similar path. I have a ESP8266 12-E NodeMcu development board connected to a similar (4) relay module and I am using GPIO16 and GPIO14 and GPIO13 and GPIO5. My program is set to use Alexa commands and each command turns 1 of 4 relays on for 3 seconds. All works fine, no chatter however last night I discovered if I leave power to the 8266 and the relays, the 8266 seems to shutdown after a few hours. I was not sure if it was going into sleep mode, but perhaps my issue is overdriving the GPIOs.