Circuit Documentation
Summary
This circuit involves an ESP-8266 microcontroller interfacing with a DHT 11 temperature and humidity sensor and a 5V relay. The ESP-8266 reads data from the DHT 11 sensor and controls the relay based on the sensor data or other logic.
Component List
DHT 11
- Description: Temperature and Humidity Sensor
- Pins: VCC, GND, DATA
5V Relay
- Description: Relay module for switching high voltage devices
- Pins: Normally Open, Common terminal, Normally Closed, In, GND, VCC
ESP-8266 Controller
- Description: Wi-Fi enabled microcontroller
- Pins: A0, RSV, SD3, SD5, SD1, CMD, D0, D1, D2, D3, D4, 3V3, GND, D5, D6, SD0, CLK, RST, EN, D7, D8, RX, TX, Vin, 5V
Wiring Details
DHT 11
- DATA pin is connected to D4 pin of the ESP-8266 Controller.
- VCC pin is connected to 3V3 pin of the ESP-8266 Controller.
- GND pin is connected to GND pin of the ESP-8266 Controller.
5V Relay
- In pin is connected to D5 pin of the ESP-8266 Controller.
- GND pin is connected to GND pin of the ESP-8266 Controller.
- VCC pin is connected to 3V3 pin of the ESP-8266 Controller.
ESP-8266 Controller
- D4 pin is connected to DATA pin of the DHT 11.
- 3V3 pin is connected to VCC pin of the DHT 11 and VCC pin of the 5V Relay.
- GND pin is connected to GND pin of the DHT 11 and GND pin of the 5V Relay.
- D5 pin is connected to In pin of the 5V Relay.
Code
No code is provided for this circuit.
