# ESP8266 Alexa Controlled Switch
## Description
This is an Alexa Controlled Switch.
## Project Details
- **Owner:** charles
- **Created:** 2/12/2021
- **Last Updated:** 2/12/2021
- **Visibility:** Public
- **Forks:** 10
## Key Components
### ? — [Relay Switch (open)](https://www.flux.ai/lwcassid/relay-switch-open~nz.md)
**Pins:**
- undefined
- undefined
- undefined
- undefined
### ? — [AC-DC buck step-down module 220V - 5V](https://www.flux.ai/jharwinbarrozo/ac-dc-buck-step-down-module-220v-5v~nk.md)
**Pins:**
- 5V
- GND
- L (220V)
- N (220V)
### ? — 2N2222
- : https://www.snapeda.com/parts/2N2222A/NTE%20Electronics,%20Inc/datasheet/
**Pins:**
- B
- C
- E
### ? — [AMS1117-3.3](https://www.flux.ai/vasy_skral/ams1117-33~34.md)
- Manufacturer Part Number: AMS1117-3.3
**Pins:**
- ADJ/GND
- VIN
- VOUT
### +5V — Power Symbol
**Pins:**
- P1
### +5V — Power Symbol
**Pins:**
- P1
### +5V — Power Symbol
**Pins:**
- P1
### 220 V Main — [Sinusoidal Generator](https://www.flux.ai/jharwinbarrozo/waveform-generator~ggu.md)
- Peak Voltage: 311V
- Frequency: 60Hz
- DC Offset: 0
- Phase Offset: 0°
**Pins:**
- Anode
- Cathode
### 220V Light Bulb — [Light Bulb](https://www.flux.ai/jharwinbarrozo/light-bulb~np.md)
**Pins:**
- undefined
- undefined
### CH_PD — Label
**Pins:**
- P1
- P2
### D1 — [Zener Diode](https://www.flux.ai/lwcassid/zener-diode~oo.md)
- Series Resistance: 0Ω
- Emission Coefficient: 2
- Breakdown Voltage: 5.6V
- Saturation Current: 1.714352819281e-7A
**Pins:**
- ANODE
- CATHODE
### GND — Label
**Pins:**
- P1
- P2
### GPIO 0 — Label
**Pins:**
- P1
- P2
### GPIO 2 — Label
**Pins:**
- P1
- P2
### GPIO 2 — Label
**Pins:**
- P1
- P2
### Q1 — [ESP-01 Module](https://www.flux.ai/jharwinbarrozo/esp-01-module~hv.md)
- Price: 2.00$
**Pins:**
- CH_PD
- GND
- GPIO 0
- GPIO 2
- RST
- RX
- TX
- VCC / 3V3
### RST — Label
**Pins:**
- P1
- P2
### RX — Label
**Pins:**
- P1
- P2
### TX — Label
**Pins:**
- P1
- P2
### VCC / 3V3 — Label
**Pins:**
- P1
- P2
*The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/charles/esp8266-alexa-controlled-switch~ec](https://www.flux.ai/charles/esp8266-alexa-controlled-switch~ec).*
---
*Generated from [https://www.flux.ai/charles/esp8266-alexa-controlled-switch~ec](https://www.flux.ai/charles/esp8266-alexa-controlled-switch~ec)*