El escenario
A user needs a clean 2-channel relay control circuit for an ESP8266 home automation project with touch sensors to switch relay coils and show visual indicators.
Qué hay en este dibujo
Lee las decisiones que hay detrás.
01
Use parallel relay coil and indicator lamp per channel driven by a touch sensor switch
02
Place flyback diode from ground to switched coil node to clamp inductive spikes
Applies to low-voltage relay module designs where ESP8266 GPIO signals or manual touch sensors switch relay coils for mains loads.