Circuit Documentation
Summary
The circuit in question is designed to control a Mini Water Pump via a 5V relay, which is actuated by an Arduino UNO microcontroller. The system also includes an HC-05 Bluetooth Module for wireless communication, presumably to receive commands for controlling the pump. A single 18650 Li-Ion battery provides power to the circuit, and a rocker switch is used to control the power flow. The Arduino UNO is powered directly from the battery, while the other components receive power from the Arduino's regulated 5V output.
Component List
HC-05 Bluetooth Module
- Description: A Bluetooth module for wireless communication.
- Pins: Key, VCC, TXD, RXD, State, GND
Arduino UNO
- Description: A microcontroller board based on the ATmega328P.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0-A5, SCL, SDA, AREF, D0-D13
18650 Li-Ion Battery
- Description: A rechargeable lithium-ion battery.
- Pins: Positive, Negative
Rocker Switch
- Description: A switch to control the power flow in the circuit.
- Pins: Output, Input
5V Relay
- Description: An electromechanical switch used to control a high power circuit with a low power signal.
- Pins: Normally Open, Common terminal, Normally Closed, In, GND, VCC
Mini Water Pump
- Description: A small pump for moving water.
- Pins: VCC, GND
Wiring Details
HC-05 Bluetooth Module
- VCC: Connected to the 5V output from the Arduino UNO.
- GND: Connected to the GND on the Arduino UNO via the rocker switch.
- TXD: Connected to D0 (RX) on the Arduino UNO.
- RXD: Connected to D1 (TX) on the Arduino UNO.
Arduino UNO
- 5V: Provides power to the HC-05 Bluetooth Module, 5V relay, and Mini Water Pump.
- GND: Common ground for the HC-05 Bluetooth Module, 5V relay, and Mini Water Pump.
- Vin: Connected to the Positive terminal of the 18650 Li-Ion battery.
- D3: Connected to the 'In' pin of the 5V relay to control the relay coil.
- D0 (RX): Receives data from the TXD pin of the HC-05 Bluetooth Module.
- D1 (TX): Sends data to the RXD pin of the HC-05 Bluetooth Module.
18650 Li-Ion Battery
- Positive: Connected to the Vin pin on the Arduino UNO.
- Negative: Connected to the Input of the rocker switch.
Rocker Switch
- Output: Connected to the GND of the HC-05 Bluetooth Module.
- Input: Connected to the Negative terminal of the 18650 Li-Ion battery.
5V Relay
- VCC: Connected to the 5V output from the Arduino UNO.
- GND: Connected to the GND on the Arduino UNO.
- In: Controlled by D3 on the Arduino UNO.
- Common terminal: Connected to the GND on the Arduino UNO.
- Normally Open: Connected to the GND of the Mini Water Pump.
Mini Water Pump
- VCC: Connected to the 5V output from the Arduino UNO.
- GND: Connected to the Normally Open terminal of the 5V relay.
Documented Code
Arduino UNO Code (sketch.ino)
void setup() {
}
void loop() {
}
Note: The provided code is a template and does not contain any functional code to control the relay or communicate with the HC-05 Bluetooth Module. This will need to be implemented to meet the specific requirements of the circuit's intended operation.