Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an ESP32 microcontroller, a 5V mini water pump, a 12V power supply, a 5V relay, and a fan. The ESP32 controls the relay, which in turn controls the water pump and the fan. The power supply provides the necessary voltage for the components.
Component List
ESP32 38 PINS
- Description: A versatile microcontroller with Wi-Fi and Bluetooth capabilities.
- Pins: GND, 23, 22/SCL, 1, 2, 21/SDA, 19, 18, 5, 17/TX2, 16/RX2, 4, 0, 15, D1, D0, CLK, 3V3, EN, VP, VN, 34, 35, 32, 33, 25, 26, 27, 14, 12, 13, D2, D3, 11, 5V/VIN
5V Mini Water Pump
- Description: A small water pump that operates at 5V.
- Pins: Positive pin, Negative pin
12V Power Supply
- Description: A power supply that provides 12V DC.
- Pins: +, -
5V Relay
- Description: A relay that operates at 5V and can control higher voltage devices.
- Pins: Normally Open, Common terminal, Normally Closed, In, GND, VCC
Fan
- Description: A fan that operates at 5V.
- Pins: GND, 5V
Wiring Details
ESP32 38 PINS
- Pin 35 is connected to In on the 5V relay.
- Pin GND is connected to GND on the 5V relay.
- Pin 5V/VIN is connected to VCC on the 5V relay.
5V Mini Water Pump
- Positive pin is connected to Common terminal on the 5V relay.
- Negative pin is connected to GND on the fan and - on the 12V power supply.
12V Power Supply
- Pin + is connected to Normally Open on the 5V relay and 5V on the fan.
- Pin - is connected to GND on the fan and negative pin on the 5V mini water pump.
5V Relay
- In is connected to Pin 35 on the ESP32.
- GND is connected to Pin GND on the ESP32.
- VCC is connected to Pin 5V/VIN on the ESP32.
- Common terminal is connected to Positive pin on the 5V mini water pump.
- Normally Open is connected to Pin + on the 12V power supply and 5V on the fan.
Fan
- GND is connected to negative pin on the 5V mini water pump and - on the 12V power supply.
- 5V is connected to Normally Open on the 5V relay and + on the 12V power supply.
Code
No code is provided for this circuit.
This document provides a comprehensive overview of the circuit, including a summary, a detailed component list, wiring details, and code documentation. This should help in understanding and replicating the circuit.
