Need Assistance with ZCD (Triac Dimmer Program ) ESP8266

Hi Friends I urgently need help with my 8 Channel Dimmer Switch using triac and ZCD Dimmer using ESP8266 12E.

I am Using NodeMCU ESP-8266- 12E Development Board.
ZCD (Zero Cross Detector Using 4n35 optocoupler )
Triac Driver as a switch using MOC 3021

ZCD is connected to GPIO D3.
D0 = Switch 1
D1 = Switch 2
D2 = Switch 3
D4 = Switch 4
D5 = Switch 5
D6 = Switch 6
D7 = Switch 7
D8 = Switch 8.
Please assist me if anyone has previously worked.

You’ll need to provide more information about the type of MCU that you’re using, the dimmer hardware that you’re using and the firmware that you’re using - as well as anything else that may help people to help you.

Pete.

I am Using NodeMCU ESP-8266- 12E Development Board.
ZCD (Zero Cross Detector Using 4n35 optocoupler )
Triac Driver as a switch using MOC 3021.

And how is your hardware wired?

Does this mean that ZCD is connected to the NodeMCU pin labelled D3 (GPIO0), or GPIO3 (the pin labelled Rx)?

If it’s the first, then that’s not a good choice of pin and could prevent your NodeMCU from booting. See this thread for more info:

If it’s the latter then it’s going to prevent you from using the the serial monitor for debugging, which will be a drawback.

I take it that you don’t want to share your code?

Pete.

I can share the code but it has errors