O cenário
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.
O que há neste desenho
Entenda as decisões por trás dele.
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.