DC Motor Circuit 8 Plate Dispenser Using PIC Microcontroller.

2 LITERATURE REVIEW 5 2.1 PIC16F877A Microcontroller 5

2.2 DC Motor Circuit 8

2.3 Coin Acceptor Module 12 2.4 Pull Up and Pull Down Resistors 14 2.5 Power Supply Circuit 2.6 LCD Display 15 16 3 METHODOLOGY AND SYSTEM DESIGN 19 3.1 Flowchart of Methodology 20 3.2 System Design 23 3.2.1 Plate Dispenser System 24 3.3 Printed Circuit Board PCB 26 3.3.1 Rules of PCB design 27 3.3.2 PCB Design Flow 29 3.3.3 PCB Verification 31 3.3.4 PCB Fabrication 32 4 RESULTS AND DISCUSSION 38 4.1 Schematic 38 4.1.1 PIC16F877A 38 4.1.2 DC Brush Motor 44 4.2 Expected Result 46 4.3 PIC To Control The Output 48 4.4 Final Product 48 4.5 Discussion 50 5 CONCLUSION AND SUGGESTION 5.1 Conclusion 51 5.2 Suggestion for Future Work 52 REFERENCES 53 LIST OF TABLE NO TITLE PAGE 2.1 Features of PIC16F877A 7 2.2 Coin Acceptor Existing Technologies 12 3.1 Standard Design Rules of PCB Layout Design 27 4.1 Pin Configuration 40 4.2 Expected result of the project. 46 LIST OF FIGURE NO TITLE PAGE 2.1 PIC16F877A 6 2.2 2-pole DC electric motor 9 2.3 PWM Pulse Width Modulation 10 2.4 Coin Acceptor 13 2.5 a: Pull-down resistor 14 b: Pull-up resistor 14 2.6 Voltage Regulator 5V Circuit 15 2.7 Pin configuration and symbol for voltage regulator 7805 15 2.8 LCD Display 16 2.9 Connecting an LCD display to a microcontroller 18 3.1 Flowchart methodology of the project 19 3.2 Block Diagram of Plate Dispenser 23 3.3 Flowchart of Plate Dispenser System 25 3.4 PCB Design Flow 29 3.5 Printed PCB Layout to Transparent paper 32 3.6 Photo Etching Process Step 1 33 3.7 Photo Etching Process Step 2 33 3.8 Photo Etching Process Step 3 34 3.9 Photo Etching Process Step 4 35 3.10 Photo Etching Process Step 5 36 3.11 Drilling Process 36 3.12 Soldering Process 37 3.13 Soldering Process 37 4.1 PIC16F877A microcontroller schematic 41 4.2 Top layer of the PIC16F877A PCB 42 4.3 Track of the PIC16F877A PCB design 43 4.4 Schematic of DC motor circuit 44 4.5 Top layer of the DC motor PCB 45 4.6 Track of the DC motor PCB design 46 4.7 Overview of the whole system 47 4.8 Final Product of Plate Dispenser 48 4.9 Side view of the machine 49 LIST OF SYMBOLS AND ABBREVIATIONS CPU - Central Processing Unit DC - Direct Current EEPROM - Electrical Erasable Programmable Read Only Memory IO - Input Output LCD - Liquid Crystal Display LED - Light Emitting Diode MOSFET - Metal Oxide Semiconductor Field Effect Transistor PCB - Printed Circuit Board PIC - Programmable Interrupted Controller PSM - Projek Sarjana Muda RAM - Random Access Memory LIST OF APPENDICES NO TITLE PAGE A Project Planning 54 B Source Code For PIC16F877A 56 C PIC16F877A Datasheet 71 CHAPTER I INTRODUCTION

1.1 Project Overview