ChatDiagram
Home Automation · ESP8266 · Relay Control

ESP8266 Home Automation Relay with Manual Override Switch

סוג תרשים מעגלתקן IEEE Std 315 / ANSI Y32.2מנוע schematex-circuitעודכן 6.9.2026
ESP8266 Home Automation Relay with Manual Override Switch
Drawing preview
התרחיש

A home automation system uses an ESP8266 GPIO to control a 5V relay through an NPN transistor, with an SPDT switch to manually override the relay state.

מה מופיע בתרשים הזה

פענחו את ההחלטות שמאחוריו.

01

Use an NPN transistor (2N2222) as low-side switch for relay coil

02

Include flyback diode across coil to protect transistor

03

SPDT switch selects between MCU GPIO (Auto) and +5V (Manual On)

04

Relay contacts switch an AC lamp with fuse protection

Reusable for any ESP8266/ESP32 relay driver circuit where a manual override or test switch is needed.

עיון בכל תבניות ה־תרשים מעגל ←