Design of a Simple Electronic Scale Based on the 51 Microcontroller (Simulation + Code + Component List + Hardware Block Diagram + Software Flowchart + Reference Documents + Quality Materials)

Design of a Simple Electronic Scale Based on the 51 Microcontroller

Abstract

An electronic scale is a modern weighing instrument that integrates detection and conversion technology, computer technology, information processing, and digital technology. It is closely related to our daily lives. The electronic scale designed in this paper uses a microcontroller as the central control unit, performing analog-to-digital conversion through a weighing sensor, and is composed of a keyboard, display circuit, and software. The electronic scale not only measures accurately and quickly but also features automatic weighing and digital display, which increasingly impacts people’s lives and is widely popular. The design of this system is elaborated in three main parts: hardware circuit design, software programming and debugging, and physical soldering and debugging. The hardware circuit primarily uses the STC89C52 microcontroller as the core control unit to process data, employing a pressure sensor to collect data, and a dedicated 24-bit AD conversion chip HX711 to convert the analog signals collected by the sensor. The converted data is sent to the microcontroller for processing and display, with the data displayed on an LCD1602, ensuring stable and flicker-free display.

Keywords: 51 Microcontroller; Electronic Scale; Pressure Sensor; HX711

Note: @Microcontroller Learning CutieDesign of a Simple Electronic Scale Based on the 51 Microcontroller (Simulation + Code + Component List + Hardware Block Diagram + Software Flowchart + Reference Documents + Quality Materials)Design of a Simple Electronic Scale Based on the 51 Microcontroller (Simulation + Code + Component List + Hardware Block Diagram + Software Flowchart + Reference Documents + Quality Materials)1Is the 51 Microcontroller referring to the AT89C51, and what about the AT89C52?

Power Brother: This is a common question from many beginners. Here, Power Brother will explain that the 51 microcontroller refers to microcontrollers compatible with the Intel 8051 instruction set. This category includes but is not limited to AT89C51/52, STC89C51/52, and even TI’s CC2540 is compatible with the 8051 instruction set.

01Specific FunctionsSimulation Software:Proteus 8.9 and aboveProgram Compiler: Keil 4, Keil 5 (recommended)Programming Language: C LanguageDesign Number: C38 (this version is a simplified version of C37)

1. Uses the 51 microcontroller as the main control chip, with the LCD1602 as the display;2. Displays the current weight of the item, with a precision of 0.001kg;3. Supports tare and calibration functions;

4. Maximum weight capacity of 10kg, with sound and light alarms for exceeding the maximum weight;

Design of a Simple Electronic Scale Based on the 51 Microcontroller (Simulation + Code + Component List + Hardware Block Diagram + Software Flowchart + Reference Documents + Quality Materials)Basic Block Diagram

Download link for materials is at the end of the article QR code

02Introduction Video03Related Hardware

12MHz Crystal Oscillator (1); 30pf Capacitors (2); 10uf Capacitor (1); 1k Resistor (1); 51 Series Microcontroller (AT89C51/52 or STC89C51/52, 1); 1k Resistor Array (1); LCD1602 Display (1); PNP Transistor (1);Active Buzzer (1); SMD-3*6*2.5 Buttons (4); Light Emitting Diode (1); HX711 Weighing Module (1); Dupont Wires (several)

04Material ImagesDesign of a Simple Electronic Scale Based on the 51 Microcontroller (Simulation + Code + Component List + Hardware Block Diagram + Software Flowchart + Reference Documents + Quality Materials)

Figure 1 Proteus Simulation Diagram

Design of a Simple Electronic Scale Based on the 51 Microcontroller (Simulation + Code + Component List + Hardware Block Diagram + Software Flowchart + Reference Documents + Quality Materials)

Figure 2 Keil Code Screenshot

Design of a Simple Electronic Scale Based on the 51 Microcontroller (Simulation + Code + Component List + Hardware Block Diagram + Software Flowchart + Reference Documents + Quality Materials)

Figure 3 Software Flowchart

Design of a Simple Electronic Scale Based on the 51 Microcontroller (Simulation + Code + Component List + Hardware Block Diagram + Software Flowchart + Reference Documents + Quality Materials)

Figure 4 9700 Word Reference Document

Design of a Simple Electronic Scale Based on the 51 Microcontroller (Simulation + Code + Component List + Hardware Block Diagram + Software Flowchart + Reference Documents + Quality Materials)

Figure 5 Quality Learning Materials

05Download LinkDesign of a Simple Electronic Scale Based on the 51 Microcontroller (Simulation + Code + Component List + Hardware Block Diagram + Software Flowchart + Reference Documents + Quality Materials)

-Note Do not get lost Please like Do not fail Recommend High scores Pass

-Wishing students all the best in their studies-

-END-

↑↑↑↑↑↑ Download materials above ↑↑↑↑↑↑

Design of a Simple Electronic Scale Based on the 51 Microcontroller (Simulation + Code + Component List + Hardware Block Diagram + Software Flowchart + Reference Documents + Quality Materials)Microcontroller Technical Support Simulation, Programming, Physical Guidance/ Q&A/ Design

Leave a Comment