Arduino UNO and Quad DC Motor Driver Controlled Water Pump and Air Valves
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit consists of an Arduino UNO microcontroller, a Quad DC motor driver shield, a water pump, and three 6V air valves. The Arduino UNO controls the motor driver shield, which in turn drives the water pump and air valves. The circuit is designed to manage the operation of the water pump and air valves through the motor driver shield.
Component List
Quad DC Motor Driver Shield
- Description: A shield that allows control of up to four DC motors.
- Pins: M4-, M4+, M3-, M3+, M2-, M2+, M1-, M1+, RST, 3.3V, 5V, GND, VIN, A0, A1, A2, A3, A4, A5, PWR-, PWR+, SCL, SDA, AREF, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0
Arduino UNO
- Description: A microcontroller board based on the ATmega328P.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
Water Pump
- Description: A pump used to move water.
- Pins: VCC, GND
6V Air Valve with 2-pin
- Description: A valve used to control the flow of air.
- Pins: in, out
Wiring Details
Quad DC Motor Driver Shield
- M4- connected to 6V Air Valve (out)
- M4+ connected to 6V Air Valve (in)
- M3- connected to 6V Air Valve (out)
- M3+ connected to 6V Air Valve (in)
- M2- connected to 6V Air Valve (out)
- M2+ connected to 6V Air Valve (in)
- M1- connected to Water Pump (GND)
- M1+ connected to Water Pump (VCC)
- PWR+ connected to Arduino UNO (Vin)
Arduino UNO
- Vin connected to Quad DC Motor Driver Shield (PWR+)
Water Pump
- GND connected to Quad DC Motor Driver Shield (M1-)
- VCC connected to Quad DC Motor Driver Shield (M1+)
6V Air Valve (1)
- out connected to Quad DC Motor Driver Shield (M4-)
- in connected to Quad DC Motor Driver Shield (M4+)
6V Air Valve (2)
- out connected to Quad DC Motor Driver Shield (M3-)
- in connected to Quad DC Motor Driver Shield (M3+)
6V Air Valve (3)
- out connected to Quad DC Motor Driver Shield (M2-)
- in connected to Quad DC Motor Driver Shield (M2+)
Code Documentation
Arduino UNO Code
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Additional Documentation
// No additional documentation provided.
This documentation provides a comprehensive overview of the circuit, including a summary, detailed component descriptions, wiring details, and the code used in the Arduino UNO microcontroller.