The scenario
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.
What is in this drawing
Read the decisions behind it.
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.
More like this