Schematic of 1 channel relay module
K1
J1
D2
Q2
R2
Resistance
1kΩ
Q1
D1
R1
Resistance
1kΩ