# INTRODUCTION n the paper two mobiles are employed one at user side which is carried by the user and second at the receiver part. At receiver part the mobiles DTMF output is fed thought the ear phone jack to the receiver circuit. When the DTMF tone is fed to the receiver circuit It converts the analog DTMF signal to digital output and this digital output is fed to the Microcontroller 892051. In Microcontroller a specific code is written to process the details of the digital output from the decoder chip MT8870. For every input from MT8870 there is a specific command is written in the Microcontroller 892051 and corresponding to the input code makes one of the output pin of Microcontroller 892051 high which commands the relay driver IC chip II. # WORKING Before starting with Motorola IC MT8870 it should be configured properly. Power supply is connected on +5v on pin 18 and ground on pin 9. The DTMF input is supplied to the pin 3 through a resistance of 100k so that a proper amount of current is drawn to the pin 3 for operating the IC. Crystal oscillator of frequency 3.57MHz is deployed between pin 7 and pin 8. Output is taken from pin 11, 12, 13, 14 through pull up resistors. # III. # MICROCONTROLLER 89C51 The use of microcontroller ensures the reliability of the system. Before starting with the working of Microcontroller 892051 it should be configured properly. Pin 20 is connected with Vcc and Pin 10 with Ground. An oscillator of 11.0592 MHz is deployed between the pin 4 and pin 5. Input from the MT8870 is fed to the pin 6, 7, 8, 9 which are general purpose input/output pins. These pins are also considered as Port 3, so while programming the controller programmer consider input Port as P3 here. And output is taken from general purpose input/output Port 1. The out put is a 8 bit output so that it can control the eight pins of relay driver IC. The Microcontroller code according to the input of MT8870 is given as: Coding of motion of the train is controlled by the stepper motor, for displaying the message in the train we are using intelligent LCD display of two lines. The coding of the metro train prototype is given in the assembly language. The Programmer main routines are the routines for running of stepper motor in forward Direction and in reverse direction Message on the LCD data e q u p1 busy e q u p1.7 r s e q u p3.5 r w e q u p3.4 en e q u p3.3 B z r e q u p0.2 led f e q u p0.0 led b e q u p0. ![Fig I : Circuit diagram of Mobile Automation circuit](image-2.png "Application") ![. The routines for this purpose are Stepper f and stepper b. The routines display and command are used in conjunction with LCD display. Program for a stepper having connected at p2 (from p2.0 to p2.3) & to show v v v II Version I](image-3.png "") © 2012 Global Journals Inc. (US) Author : Department of Electronics and Communication, Amity School of Engineering and Technology, Amity University Rajasthan, Jaipur-302002. Email : ashu20034@gmail.com IV. ## RESULTS AND CONCLUSION The whole system is perfectly developed and tested under the laboratory. This system is very cost effective and easy to deploy in the existing systems. This * An Embedded Software Primer by David E. Simon Pearson Education * Designing Embedded Hardware by John Catsoulis, O'reilly 3. Embedded System Design by Frank Vahid, Tony Givargis John Wiley & Sons, Inc * Building Embedded Linux Systems by Karim Yaghmour O'reilly * Real-time systems & software by Alan C. Shaw John Wiley & sons, Inc * Embedded System Design by Peter Marwedel Kluwer Acadeemic Pub * Programming and Customizing the AVR Microcontroller by Dhananjay Gadre, MGH 10. Fundamental of Embedded software by F Daniel W. Lewis, PHI * Design with Microcontroller John B PeatMan 1998 Pearson education Asia * Real-Time Systems and Programming Languages AlanBurns AndyWellings 1997 Addison-Wesley-Longman Harlow Second Edition * An Introduction to real time systems: Design to networking with C/C++ JARaymond DonaldLBhur Bialey 1999 Prentice Hall Inc. New Jersey * Real time Programming: A guide to 32 Bit Embedded Development. Reading GrehanMoore Cyliax 1998 Addison-Wesley-Longman * Embedded Systems Design SteveHeath 1997 Newnes