Final Year Project Report
My deepest appreciation also goes out to Mrs. Sharatul Izah Bt. Samsudin who gave me many needed support, encouragement and help throughout my project’s improvement in PSM I, and my friends who struggling with me exploring this scope. Not to forget, thanks to my family and fellow friends who encouraged me. Finally, thank you to all those involved directly and indirectly helping me out during my PSM I & PSM II which I can’t state out every one of them. A special expression of gratitude is extended to everyone for their tolerance and patience in doing the project.
I must admit that they had enriched me in many ways and words alone are not enough to express my gratitude. vii ABSTRACT The purpose of this project is to develop an automatic railway gate system that uses the microcontroller as a main function of design. The principle objective of this project was to design an automatic railway gate control by microcontroller.
Only $13.90 / page
This project deals to develop a prototype of railway gate that function automatically by using microcontroller. Besides that, the interfacing program also had been developed for the integration part.
The operation using microcontroller (PIC16F877A) that integrated with other circuits involved such as power supply, IR sensor, light and buzzer, gate motor and LCD display. All the circuits will be combining to demonstrate the operation of microcontroller (PIC16F877A). This system will make improvement towards the manually operation before this. Human supervision will be considered if there are problems occurred while this system was operated. viii ABSTRAK Tujuan projek ini adalah untuk membina sebuah sistem pengendalian pagar lintasan keretapi secara automatik yang menggunakan mikropengawal sebagai asas binaan di dalam rekaannya.
Prinsip tujuan projek ini adalah untuk membina sistem pengendalian pagar lintasan kereta api secara automatik dengan menggunakan mikropengawal. Ia termasuk untuk membangunkan sebuah prototaip sistem pagar lintasan kereta api yang berfungsi secara automatic. Selain itu, sebuah program juga dibentuk bagi menggabungkan bahagian-bahagian tertentu di dalam sistem ini. Operasi mikropengawal (PIC16F877A) juga melibatkan litar-litar lain seperti litar bekalan kuasa, infrared, lampu dan buzzer, motor dan paparan LCD. Kesemua litar-litar ini digabungkan bagi menunjukkan bagaimana mikropengawal (PIC16F877A) beroperasi.
Project Introduction In general, this project utilizes the importance of microcontroller as a main design. It used to provide improvement into manual system that exist nowadays. Microcontroller is a small unit of controller that acted following the instruction programmed. All the circuits included in this prototype were designed following the suitability of PIC16F877A. This automatic railway gate system was operated after signal received from the IR sensor. This signal used to trigger the PIC16F877A for operating the gate motor and alarm indicators by instruction programmed.
Electronic applications used to enable this system operated in automatic mode. The computer usage must be fully utilized to building up a system that encourage implementing of the technology. 2 1. 2 Project Objectives The microcontroller (PIC16F877A) is use to demonstrate the integration of computer method in railway gate operation. The objectives of this project are: i. To develop a prototype of railway gate that function automatically by using microcontroller. ii. To develop an interfacing program for the integration part of microcontroller operation. iii. To design an automatic railway gate control by using microcontroller.
Furthermore, this project is aimed to replace the gatekeepers with an automatic system. It is develop to apply the structure of interfacing program in between to give a lot of advantages. 1. 3 Problem Statement Nowadays, the railway gate is operating by manual operation. It is operating in the area that there are railway line junction with the road. The railway gate management has to employ workers to be on duty for control the operation. Due to this, the worker will manually open and close the gate with under supervision. This prototype will introduce the automatic railway gate operation.
This system will make improvement towards the manually operation before this. Human supervision will be considered if there are problems occurred while this system was operated. This is an idea to perform computer integration with mechanical structure to simulate what the system can do. Control system with computer applications will make the management or consumer become more effective. Therefore, this is the best example in develop railway gate management system become more efficient. 3 1. 4 Scope of Works This project covered the operation of automatic railway gate control by using microcontroller (PIC16F877A).
The circuits involved such as power supply, IR sensor, light and buzzer, gate motor and LCD display. All of these operations will be combining to demonstrate the operation of microcontroller (PIC16F877A). The operations of microcontroller works follow the instruction programmed. The combining circuits were constructed on Proteus software to seen whether that circuits was right or not. After that, the hardware part was constructed after all the simulation being done. IR sensor circuit is providing signal to triggered the PIC16F877A. The sensed signal wills active the gate motor and LCD display.
Alarm and indication light circuit was provided as additional part of this system. Additional elements can be added without affecting the remaining elements. This allows the flexibility of the developed system. 4 1. 5 Methodology This project began with the research of the proposed title. The result of that research is then discussed with the supervisor. Once the title of project was approved, the background of study for this project was explored. PIC16F877A was chosen as a microcontroller. Then, the circuits’ simulation was performed. In the other hand, the instruction programmed also being built for the interfacing part.
After all being settled, the construction of hardware part was started after the components were being chosen. In all the steps done there are troubleshooting part to resolve the problems facing. Between hardware part and instruction programmed built, there are integrated step that allows the PIC16F877A to simulate all the operations of the system. After all the part is complete to built, some analysis should being made to show what the solution of the problems occurred. It involving the comparison between the research that had been done before this. 5 1. 6 Report Structure
Chapter 1 introduced the project as a whole. The early and basic explanations were mentioned in this chapter. This chapter consisted of the project introduction and objectives, problem statements, scope of work, and the simplified methodology. Chapter 2 is literature review. Past projects system were taken into consideration when completing this chapter. The ways those projects and researches had been done were compared with what this project. These comparisons were done to understand what this project is all about and where it stands. Chapter 3 is methodology.
It explained how this project came to be. This chapter explained the part most important of all, the flow this project. What had been researched and what needed to be done was explained in this chapter. Chapter 4 concentrated on the result and discussion of this project. What had been done was explained in diagrams and written programs. The expected results also mentioned in this chapter. Chapter 5 was the final chapter in this report. The conclusions and recommendations were placed in this chapter. In other words, the conclusion was the summary of what had been done throughout this project.
After the project was done, recommendations were made and any expansions or upgrades that might be done in the future were suggested. 6 CHAPTER II LITERATURE REVIEW 2. 1 Previous System At present scenario, in the level crossing line the railway gate is operated normally by a gate keeper. This happen when the railway line is cross over the road and there are a gate that have to be controlled. The gate keeper work after receiving the information about the train arrival from the nearer station. When the train starts to leave the station, the particular station delivers the information to give the signal for gate keeper to get ready.
This is the operation are followed for operating the railway gates. In addition, this automatic railway gate system can contribute a lot of benefit either to the road user or to the railway management. This type of gate can be implementing in the level crossing where the chances of accidents are higher. The computer integration will be use to provide addition in the latest technology. 7 2. 2 Block Diagram Description Figure 2. 2. 1: Block diagram of the system This prototype of project demonstrated the Automatic Railway Gate Control by Using Microcontroller (PIC16F877A).
The sensors are fixed at the certain distance on both sides of the gate, that is before the train arrive and after the train departure. The sensed signal is send to the microcontroller (PIC16F877A) and checked whether there are vehicles or people between the gate. At the same time, alarm and indication light signal are provided to the road users to warn the closing of gates. In sequences, the gate motor will move forward direction to close the gate. It will stay closed at certain time until the train has crossed the gate and reached the second sensor activate the motor in backward direction so the gate will open.
Lighting signal also provided at the certain distance as pre cautionary step for driver. Meanwhile, the nearer station also will provide an indication alarm to remind them about the crossing train. If anything happened at the gates, this alarm will alert the station. LCD display will show the arrival of the train to cross the gate as additional features of this system.