Arduino UNO-Based Smart Servo Control System with Load Cell and LCD Display
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit involves an Arduino UNO microcontroller interfacing with multiple components including servos, an LDR module, an LCD display, a load cell, an HX711 bridge sensor interface, and a power LED. The Arduino UNO controls the servos, reads data from the LDR and load cell, and displays information on the LCD. The HX711 module is used to interface the load cell with the Arduino.
Component List
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
Servo (3 units)
- Description: A servo motor used for precise control of angular position.
- Pins: gnd, vcc, pulse
Module LDR
- Description: A light-dependent resistor module used to detect light intensity.
- Pins: VCC, GND, DO, AO
16x2 I2C LCD
- Description: A 16x2 character LCD display with I2C interface.
- Pins: GND, VCC, SDA, SCL
Load Cell - Red/white/black/green
- Description: A load cell used to measure weight or force.
- Pins: E+, A-, E-, A+
Power LED 12V 10W 0.8-0.9A
- Description: A high-power LED.
- Pins: +, -
HX711 - Bridge Sensor Interface
- Description: A precision 24-bit analog-to-digital converter (ADC) designed for weigh scales and industrial control applications to interface directly with a bridge sensor.
- Pins: E+, E-, A-, A+, B-, B+, GND - GROUND, DATA (OUT), SCK - CLOCK (IN), 3.3/3.5V Supply
Wiring Details
Arduino UNO
- A0: Connected to AO of Module LDR
- A4: Connected to SDA of 16x2 I2C LCD
- A5: Connected to SCL of 16x2 I2C LCD
- D7: Connected to + of Power LED 12V 10W 0.8-0.9A
- D6: Connected to pulse of Servo
- D5: Connected to pulse of Servo
- D4: Connected to pulse of Servo
- D3: Connected to SCK - CLOCK (IN) of HX711 - Bridge Sensor Interface
- D2: Connected to DATA (OUT) of HX711 - Bridge Sensor Interface
Servo (3 units)
- gnd: Connected to GND of Module LDR and - of Power LED 12V 10W 0.8-0.9A
- vcc: Connected to VCC of Module LDR
- pulse: Connected to D6, D5, and D4 of Arduino UNO respectively
Module LDR
- VCC: Connected to vcc of Servo
- GND: Connected to gnd of Servo and - of Power LED 12V 10W 0.8-0.9A
- AO: Connected to A0 of Arduino UNO
16x2 I2C LCD
- GND: Connected to GND - GROUND of HX711 - Bridge Sensor Interface
- VCC: Connected to 3.3/3.5V Supply of HX711 - Bridge Sensor Interface
- SDA: Connected to A4 of Arduino UNO
- SCL: Connected to A5 of Arduino UNO
Load Cell - Red/white/black/green
- E+: Connected to E+ of HX711 - Bridge Sensor Interface
- A-: Connected to A- of HX711 - Bridge Sensor Interface
- E-: Connected to E- of HX711 - Bridge Sensor Interface
- A+: Connected to A+ of HX711 - Bridge Sensor Interface
Power LED 12V 10W 0.8-0.9A
- +: Connected to D7 of Arduino UNO
- -: Connected to gnd of Servo and GND of Module LDR
HX711 - Bridge Sensor Interface
- GND - GROUND: Connected to GND of 16x2 I2C LCD
- 3.3/3.5V Supply: Connected to VCC of 16x2 I2C LCD
- SCK - CLOCK (IN): Connected to D3 of Arduino UNO
- DATA (OUT): Connected to D2 of Arduino UNO
- E+: Connected to E+ of Load Cell
- A-: Connected to A- of Load Cell
- E-: Connected to E- of Load Cell
- A+: Connected to A+ of Load Cell
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 Documentation (documentation.txt)