Professional Documents
Culture Documents
PBL4 HTCDT
PBL4 HTCDT
2
PBL4 – VO TAN PHU & PHAN HUU THANG
INTRODUCTION……….......................................................................................................5
CHAPTER 1: INTRODUCTION TO DIGITAL WEIGHING SCALE AND SALES
MANAGEMENT....................................................................................................................6
1.1 Problem Statement......................................................................................................6
1.2 Objectives...................................................................................................................7
1.3 Limitations..................................................................................................................7
1.4 Product Images of the Model......................................................................................7
CHAPTER 2: INTRODUCTION TO HARDWARE COMPONENTS.............................8
2.1 Overview of PIC16F877A..........................................................................................8
2.2 Overview of 16x2 LCD............................................................................................11
2.3 Loadcell and HX711 Signal Amplification Circuit...................................................12
2.4 UART Serial Communication Protocol....................................................................16
2.5 Overview of LM7805 and Power Supply.................................................................18
2.6 Introduction to Webcam and QR Code.....................................................................19
2.7 Overview of Image Processing.................................................................................22
2.8 Analysis of functional blocks in the system:.............................................................24
CHAPTER 3: HARDWARE DESIGN AND PROGRAMMING IMPLEMENTATION
FOR MICROCONTROLLER...............................................................................................25
3.1 Hardware Design for the Electronic Scale Model.....................................................25
3.2 Building the electrical circuit....................................................................................30
3.3 Programming for the system.....................................................................................33
CHAPTER 4: DESIGN THE SYSTEM'S SALES MANAGEMENT INTERFACE AND
DATABASE.........................................................................................................................42
4.1 Introduction to Visual Studio 2022 and SQL Server 2022 Software........................42
4.2 User Interface Software............................................................................................42
CHAPTER 5 LESSON LEARNED AND CONCLUSION...............................................61
5.1 Overall Evaluation....................................................................................................61
5.2 Advantages and disadvantages of the product..........................................................61
5.3 Future Development Directions................................................................................61
3
PBL4 – VO TAN PHU & PHAN HUU THANG
REFERENCE........................................................................................................................62
PREFACE
In the modern industrialization and modernization of the country, the mechanical
industry has become a spearhead industry and plays a crucial role in various other industries.
During the course of this project, we acknowledge that there may be limitations in
terms of time constraints and specialized knowledge. Additionally, as this is our first
endeavor in electronic design, it is inevitable that there may be unintended mistakes and
shortcomings. We highly appreciate and eagerly look forward to receiving sincere feedback
and guidance from you, esteemed professors, to help us successfully complete this design
project.
We would like to express our heartfelt gratitude to all the professors in the
Mechanical Engineering department, especially to Professor Đo The Can, for their
unwavering support and guidance throughout the process of completing this project.
VO TAN PHU
4
PBL4 – VO TAN PHU & PHAN HUU THANG