Arduino-Controlled Automated Weighing and Water Dispensing System
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit designed to control a DC motor, a solenoid valve, and a load cell for weight measurement. The circuit is powered by a 12V battery, regulated to 5V for the logic components, and includes an Arduino UNO microcontroller for control logic. The circuit also features a relay module for switching the solenoid valve and an HX711 module for load cell data acquisition.
Component List
12v Battery
- Description: Provides the main power source for the circuit.
- Pins:
-(Negative),+(Positive)
12v to 5v Step Down Power Converter
- Description: Converts the 12V input to a regulated 5V output for powering low-voltage components.
- Pins:
VIN 9v-36v,VIN+,VIN-,USB OUTPUT 5V,5v OUTPUT,GND
Terminal Block (04-01)
- Description: Used for organizing and connecting various wires in the circuit.
- Pins:
1,2,3,4,5,6,7,8
L298N DC Motor Driver
- Description: Controls the direction and speed of the DC motor.
- Pins:
OUT1,OUT2,12V,GND,5V,OUT3,OUT4,5V-ENA-JMP-I,5V-ENA-JMP-O,+5V-J1,+5V-J2,ENA,IN1,IN2,IN3,IN4,ENB
1 Channel 5V Relay Module
- Description: Allows for control of high-power devices such as the solenoid valve.
- Pins:
VCC+,VCC- (GND),IN,N.O.,COM,N.C.
DC Mini Metal Gear Motor
- Description: The actuator controlled by the motor driver.
- Pins:
IN1,IN2
Plastic Solenoid Valve
- Description: An electrically-controlled valve used for controlling the flow of liquids.
- Pins:
pin1,pin2
Load Cell - Red/white/black/green
- Description: A sensor that measures weight or force.
- Pins:
E+,A-,E-,A+
HX711 Weighing Sensor Module
- Description: A precision 24-bit analog-to-digital converter (ADC) designed for weigh scales.
- Pins:
B-,B+,A-,A+,E-,E+,VCC,CK/TX,DO/RX,GND
Float Switch
- Description: A sensor used to detect the level of liquid within a tank.
- Pins:
GND,Digital Pin
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
Wiring Details
12v Battery
-connected to GND of the circuit.+connected to the 12V input of the circuit.
12v to 5v Step Down Power Converter
VIN 9v-36vconnected to+of the 12v Battery.VIN-connected to-of the 12v Battery.5v OUTPUTprovides 5V to the circuit.GNDconnected to the GND of the circuit.
Terminal Blocks
- Used to facilitate connections between various components and the power supply.
L298N DC Motor Driver
12Vconnected to+of the 12v Battery.GNDconnected to the GND of the circuit.ENA,IN1,IN2,IN3,IN4controlled by the Arduino UNO.OUT1,OUT2connected to the DC Mini Metal Gear Motor.
1 Channel 5V Relay Module
VCC+connected to5v OUTPUTof the Step Down Power Converter.VCC- (GND)connected to GND.INcontrolled by the Arduino UNO.COMconnected to+of the 12v Battery.N.O.connected to the Plastic Solenoid Valve.
DC Mini Metal Gear Motor
IN1,IN2connected toOUT1,OUT2of the L298N DC Motor Driver.
Plastic Solenoid Valve
pin1,pin2connected to the 1 Channel 5V Relay Module.
Load Cell - Red/white/black/green
E+,A-,E-,A+connected to the corresponding pins on the HX711 Weighing Sensor Module.
HX711 Weighing Sensor Module
VCCconnected to5v OUTPUTof the Step Down Power Converter.GNDconnected to the GND of the circuit.CK/TX,DO/RXconnected to the Arduino UNO.
Float Switch
GNDconnected to the GND of the circuit.Digital Pinconnected to the Arduino UNO.
Arduino UNO
5VandGNDconnected to the power supply.- Digital pins
D2toD10used to control and interface with other components.
Documented Code
Arduino UNO Code (sketch.ino)
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Additional Notes
- The provided code is a template and does not contain any functional logic. The user must implement the setup and loop functions to control the circuit's components based on the wiring details and component functionalities.
- The
documentation.txtfile is empty and does not provide additional information.