SlideShare a Scribd company logo
Mayuri S. Sonar et al Int. Journal of Engineering Research and Applications www.ijera.com
ISSN : 2248-9622, Vol. 4, Issue 4( Version 8), April 2014, pp.17-20
www.ijera.com 17 | P a g e
Controlling and Monitoring Of GUI Based Devices Using
MATLAB
Nidhi Mishra1
, Mayuri S. Sonar2
, Shruti V. Kulkarni3
, Shweta S. Dabhole4
1
Asst. Prof. Dept. of Electrical engineering, Bhivarabai Sawaant of Inst. Of Tech. & Research (W) Pune, India
2
Student, Dept. of Electrical engineering, Bhivarabai Sawaant of Inst. Of Tech. & Research (W) Pune, India
3
Student, Dept. of Electrical engineering, Bhivarabai Sawaant of Inst. Of Tech. & Research (W) Pune, India
4
Student, Dept. of Electrical engineering, Bhivarabai Sawaant of Inst. Of Tech. & Research (W) Pune, India
Abstract
in this project we have made a PC based system which will control various devises like Motor, Light, and Fan
etc. with the help of PC. In this project we have designed a special GUI (Graphical User Interface) on MAT-
LAB software which will help us to give commands to system. We have used Microcontroller in order to re-
ceive commands form PC and accordingly control the devices connected to it. In this way this system is
completely controlled by PC from remote location. In today’s world .there is high a demand for PC based con-
trol system because of its various advantages over manual control system, PC based control systems are highly
reliable , accurate and time saving systems, they provide number of features like quick data storage , data trans-
fer and data security which help industries to work in efficient manner.
Index Terms — MATLAB, GUI, Microcontroller AT89C51
I. INTRODUCTION
This Automation is today’s fact, where more
things are being completed every day automatically,
usually the basic tasks of turning ON or OFF certain
devices and beyond, either remotely or in close prox-
imity. The control of the devices when completely
taken over by the machines, the process of monitor-
ing and reporting becomes more important. Depend-
ing on the location of its usage, automation differs in
its name as industrial automation, home automation
etc. With the development of low cost electronic
components home automation migrated from being
an industrial application to home automation. The
home automation, our point of concern deals with the
control of home appliances from a central location.
Market researches claim that most of the homes will
be equipped with home automation systems in the
very near future. The whole process of supervising,
controlling and monitoring electrical devices and
equipment’s from electric power stations and the dis-
tribution grids is based on automation, protection,
data acquisition and equipment control. A popular
application in this field, which is in highly demand,
involves controlling the power equipment in the
building, such as the motor, heater, lamp and air con-
ditioner.
In this project the user specified embedded
program is entered into the computer and
downloaded from the computer to the microcontroller
using serial connection between them. Further the
computer acts as a host for an interactive GUI for the
user so as to control the various devices connected to
the microcontroller.
The problem of power management is the
remote control adjustment, which is a result from
consumers’ carelessness. Microcontrollers are suita-
ble in low-cost control applications. There are many
trade-offs that are addressed during the control sys-
tem design, of which control allocation is an integral
part, dictate the need for a reliable, computer-based
design tool. The proposed system architecture, consi-
dering both the hardware and software elements in-
volved is essential in this new era. There are various
applications with built in controllers and ready for
internet access which may be too expensive and
complicated to build whereas this is a dedicated ap-
plication which is cost effective. The next section will
briefly introduce the units in the automation system.
The device controller consists of two sec-
tions of software and hardware. As software MAT-
LAB is used because it already consists of Graphical
User Interface (GUI) tool. The microcontroller reads
the data from the computer therefore turning on the
devices accordingly. IC is used to activate the relays
to turn ON/OFF the home appliances. A pair of tran-
sistor is required by every relay to operate in order to
provide high current. Using relay isolation form ac to
dc is carried out and also the switching is done easi-
ly.The device controller generally can be referred as
an example of master slave communication where all
devices act as slave being controlled by the single PC
acting as master. Here the computer is the main con-
trolling unit that the operation of RS232 convertor
with the AT89C51 microcontroller circuit system that
RESEARCH ARTICLE OPEN ACCESS
Mayuri S. Sonar et al Int. Journal of Engineering Research and Applications www.ijera.com
ISSN : 2248-9622, Vol. 4, Issue 4( Version 1), April 2014, pp. 17-20
www.ijera.com 18 | P a g e
is referred to as a slave unit. To interface the USB
port of the computer with the system developed, the
USB-to-RS232 convertor is used. The USB port as a
serial port protocol is initialized by the driver of
USB-to-RS232 convertor. By transforming the
RS232 levels back to 0 and 5 Volts with the use of
common level connector that is MAX232 the CMOS
level is converted into Transistor Transistor Logic.
The receiver transmitter pin of MAX 232 is con-
nected to receiver transmitter pin of microcontroller.
The MAX232 is used with five 1 µF capacitors to
adjust the voltage level difference between the PC
based logic and controller based logic.
II. 2 HARDWARE
1) Computer: We have used computer in order to
give commands to the system with the help of RS
232 protocol commands will be given through special
GUI.
2) RS 232 Protocol: it has been used in order to do
serial communication with for this we have used
MAX 232 as level converter.
3) MICRO-CONTROLLER (8051): this is the
most important segment of the project. The controller
is responsible for detection and polling of the peri-
pherals status. It is responsible for making. It is re-
sponsible for prioritizing all the devices attached to it.
We have used the P89C51 microcontroller. The
P89C51 is a low-power, high-performance CMOS 4-
bit microcontroller with 64K bytes of in-system pro-
grammable Flash memory. It has got 32 I/O lines two
Mayuri S. Sonar et al Int. Journal of Engineering Research and Applications www.ijera.com
ISSN : 2248-9622, Vol. 4, Issue 4( Version 1), April 2014, pp. 17-20
www.ijera.com 19 | P a g e
data pointers, two 16-bit timer/counters, six-vector
two-level interrupt architecture, a full duplex serial
port, on-chip oscillator, and a clock circuitry.
Features of microcontroller AT89C51
4K Bytes of In-system Programmable Flash
Memory Endurance. 1,000 Write / Erase Cycles.
Fully Static Operation: 0 Hz to 24 MHz. Three-level
Program Memory Lock. 128 x 8-bit Internal RAM.
32 Programmable I / O Lines. Two 16-bit
Timer/Counters. Six Interrupt Sources. Programma-
ble Serial Channel. Low-power Idle and Power-down
Modes. 64 KB of on-chip flash program memory
with ISP (In-System Programming) &IAP (In Appli-
cation Programming). 5V operating voltage from 0 to
40 MHz.SPI (Serial Peripheral interface). 1 KB
RAM. 32 I/O lines. Programmable counter array.
Eight interrupt sources with four priority levels. Four
8-bit I/O ports. Low EMI mode (ALE inhibit). Sys-
tem Application Three 16-bit Timer/Counter Accu-
mulator
4) Light: We have used LED s in order to represent
lamp in the normal day to day life and showing the
current situation of device whether is ON or OFF.
5) RELAY: We have used relay. It will perform the
function of switch; it can be used in various applica-
tions. A relay will switch one or more poles, each of
whose contacts can be thrown by energizing the coil
in one of three ways:
1. Normally- open (NO) contacts - Normally-
open (NO) contacts connect the circuit when the re-
lay is activated; the circuit is disconnected when the
relay is inactive. It is also called a Form A contact or
"make" contact. NO contacts can also be distin-
guished as "early-make" or NOEM, which means that
the contacts will close before the button or switch is
fully engaged.
2. Normally-closed (NC) contacts - Normally-closed
(NC) contacts disconnect the circuit when the relay is
activated; the circuit is connected when the relay is
inactive. It is also called a Form B contact or "break"
contact. Contacts can also be distinguished as "late-
break" or NCLB, which means that the contacts will
stay, closed until the button or switch is fully disen-
gaged.
3. Change-over (CO), or double-throw (DT),
contacts control two circuits - one normally-open
contact and one normally-closed contact with a
common terminal. It is also called a Form C contact
or "transfer" contact ("break before make"). If this
type of contact utilizes ―make before break" func-
tionality, then it is called a Form D contact.
Functions of the relays -
Relays are used throughout the automobile. Re-
lays which come in assorted sizes, ratings, and appli-
cations, are used as remote control switches. A typi-
cal vehicle can have 20 relays or more since relays
are switches, the terminology applied to switches is
also applied to relays.
6) Interfacing the Serial / RS232 Port: The Serial
Port is harder to interface than the Parallel Port. In
most cases, any device you connect to the serial port
will need the serial transmission converted back to
parallel so that it can be used. This can be done using
a UART.
7) Power Supply: There are many types of power
supply. Most are designed to convert high voltage AC
mains electricity to a suitable DC voltage supply for
electronic circuits and other devices. We have used 5
Volt power supply. we have designed a special GUI
on PC, For this we have used Visual C language this
GUI contains various Tabs for various instruments
connected in the system, for example the Button No 1
can be used to control the device which is connected
in the system at position 1. Once any Button is
pressed by user PC will send command to Microcon-
troller with the help of standard serial communication
protocol
The RS 232 standard is used in order to per-
form serial communication with Microcontroller
standard 9600 baud rate is used in order to perform
the serial communication
III. Advantages
This project can be effectively and conve-
niently utilized for the control of different appliances.
As this project could be extended to control about 4
devices, this could be used for computerization of an
office, home, or a firm. Though it is quiet costlier, the
circuit is simple and the working mechanism could
be easily understood. An added advantage of this
project is that we are able to know the status of the
device to be controlled. The program to control the
appliances is written in C language which is more
users friendly and easy to understand than other pro-
gramming languages. In today’s world there is high a
demand for PC based control system because of its
various advantages over manual control system. PC
based control systems are highly reliable, accurate
and time saving systems; they provide number of
features like quick data storage, data transfer and data
securities which help industries to work in efficient
manner. By using remote system that is PC or Laptop
we can save time. The circuit is very simple and
hence it requires very less maintenance is required.
IV. Conclusion
The project was aim the objective to control
and monitor a device in several location then display
Mayuri S. Sonar et al Int. Journal of Engineering Research and Applications www.ijera.com
ISSN : 2248-9622, Vol. 4, Issue 4( Version 1), April 2014, pp. 17-20
www.ijera.com 20 | P a g e
at computer. Besides, success to develop a GUI by
using visual basic for measurement.
Where more things are being completed
every day automatically, usually the basic tasks of
turning on or off certain devices and beyond, either
remotely or in close proximity. The control of the
devices when completely taken over by the machines,
the process of monitoring and reporting becomes
more important. The device controller generally can
be referred as an example of master slave communi-
cation where all devices act as slave being controlled
by the single PC acting as master. Here the computer
is the main controlling unit that governs the operation
of RS232 convertor with the AT89C51 microcontrol-
ler circuit system that is referred to as a slave unit.
V. Acknowledgement
Foremost, we would like to express our sin-
cere gratitude to Prof. Mrs. Nidhi Mishra for her con-
tinuous support, patience, motivation, enthusiasm and
immense knowledge.
Her invaluable guidance helped us a lot. Be-
sides him we would like to thank our faculties, lab
technicians and our respected HOD for their valuable
advices and their significant contribution. The prod-
uct of this research paper would not be possible with-
out all of them. Last but not the least; we would like
to thank our family and God.
References
[1] Mat lab-Based GUI Development for Basic
Stamp 2 Microcontroller Projects - Proceed-
ing of the 2004 American Control Confe-
rence Boston, Massachusetts June 30 - July
2, 2004
[2] GUI of System Identification Toolbox for
MATLAB - Hiroyuki Takanashi and Shui-
chi Adachi. Akita Prefectural University
Keio University, Japan.
[3] GUI Based Device Controller Using MAT-
LAB - International Journal of Scientific &
Engineering Research, Volume 4, Issue 6,
June-2013 903 ISSN 2229-5518
[4] GUI Based Remote ON/OFF Control and
Monitoring Single Phase Lamp Using Mi-
crocontroller – Mohd Suhaimi B. Sulaima-
net. al. / (IJCSE) International Journal on
Computer Science and Engineering Vol. 02,
No. 04, 2010, 1401-1405

More Related Content

PDF
Automatic Street Light Operating System
PDF
Design and Implementation of a Stand-Alone Remote Terminal Unit
PPTX
Gsm based garbage disposal
PDF
A low cost short range wireless embedded system for multiple parameter control
PDF
A low cost short range wireless embedded system for multiple parameter control
PDF
Lecture 10.cont,11 (plc)
PDF
IRJET- Transformer Monitoring and Protection System using AVR Atmega16 Mi...
PDF
D041121722
Automatic Street Light Operating System
Design and Implementation of a Stand-Alone Remote Terminal Unit
Gsm based garbage disposal
A low cost short range wireless embedded system for multiple parameter control
A low cost short range wireless embedded system for multiple parameter control
Lecture 10.cont,11 (plc)
IRJET- Transformer Monitoring and Protection System using AVR Atmega16 Mi...
D041121722

What's hot (20)

PDF
substation automation
PDF
Process monitoring, controlling and load management system in an induction motor
PPTX
Presentation on home automation system
PDF
training report on embedded system and AVR
PDF
Touch screen home automation
DOCX
Training report on embedded sys_AVR
PDF
11.[106 118]design and implementation of a short message service based remote...
PDF
PC Based Industrial Automation With AVR Atmega 16 - Project Report
PPTX
DOCX
PLC & SCADA
PPT
PPTX
Scada substation automation prnsnt
PDF
Microprocessor project
DOCX
Home Automation with MATLAB and ARDUINO Interface
PPTX
basic embedded system presentation
PDF
Design and development of programmable controller for air sampling machine
PDF
Microprocessors
DOCX
Service industry internship (2016) report (plc traning)
PDF
Ijecet 06 06_004
PDF
Traffic Sign recognition And Auto Indication System
substation automation
Process monitoring, controlling and load management system in an induction motor
Presentation on home automation system
training report on embedded system and AVR
Touch screen home automation
Training report on embedded sys_AVR
11.[106 118]design and implementation of a short message service based remote...
PC Based Industrial Automation With AVR Atmega 16 - Project Report
PLC & SCADA
Scada substation automation prnsnt
Microprocessor project
Home Automation with MATLAB and ARDUINO Interface
basic embedded system presentation
Design and development of programmable controller for air sampling machine
Microprocessors
Service industry internship (2016) report (plc traning)
Ijecet 06 06_004
Traffic Sign recognition And Auto Indication System
Ad

Viewers also liked (20)

PDF
B044031117
PDF
Degradation and Microbiological Validation of Meropenem Antibiotic in Aqueous...
PDF
N046068589
PDF
Dynamic Topology Re-Configuration in Multihop Cellular Networks Using Sequent...
PDF
D48073646
PDF
N0460284100
PDF
Enhanced Skewed Load and Broadside Power Reduction in Transition Fault Testing
PDF
Tumor Detection Based On Symmetry Information
PDF
Rack And Pinion Mechanism for Continuous Variable Valve Timing of IC Engines
PDF
Comparative Ethanol Productivities of Two Different Recombinant Fermenting St...
PDF
Characterization and DC Conductivity of Novel CuO doped Polyvinyl Alcohol (PV...
PDF
Synthetic Flow Generation
PDF
O046038489
PDF
A Study on Mechanical Properties of Vinylester Based BioComposite Material wi...
PDF
Remaining Life Analysis of Boiler Tubes on Behalf of Hoop Stresses Produced D...
PDF
Synthesis and Characterization of Nano Hydroxyapatite with Poly Vinyl Pyrroli...
PPTX
Práctica 3
PDF
Arthur besen soprano trabalho eletrotecnica
PDF
ಮಾಯಾವಿ ಮೊಬೈಲ್ - ಸುಧಾ ಲೇಖನ - ಸೆಪ್ಟೆಂಬರ್ ೧೯, ೨೦೧೩
PPTX
Diagnóstico de fatores que podem bloquear a criatividade aplicada ao desenvol...
B044031117
Degradation and Microbiological Validation of Meropenem Antibiotic in Aqueous...
N046068589
Dynamic Topology Re-Configuration in Multihop Cellular Networks Using Sequent...
D48073646
N0460284100
Enhanced Skewed Load and Broadside Power Reduction in Transition Fault Testing
Tumor Detection Based On Symmetry Information
Rack And Pinion Mechanism for Continuous Variable Valve Timing of IC Engines
Comparative Ethanol Productivities of Two Different Recombinant Fermenting St...
Characterization and DC Conductivity of Novel CuO doped Polyvinyl Alcohol (PV...
Synthetic Flow Generation
O046038489
A Study on Mechanical Properties of Vinylester Based BioComposite Material wi...
Remaining Life Analysis of Boiler Tubes on Behalf of Hoop Stresses Produced D...
Synthesis and Characterization of Nano Hydroxyapatite with Poly Vinyl Pyrroli...
Práctica 3
Arthur besen soprano trabalho eletrotecnica
ಮಾಯಾವಿ ಮೊಬೈಲ್ - ಸುಧಾ ಲೇಖನ - ಸೆಪ್ಟೆಂಬರ್ ೧೯, ೨೦೧೩
Diagnóstico de fatores que podem bloquear a criatividade aplicada ao desenvol...
Ad

Similar to E044081720 (20)

PDF
Implementation and Controlling of Electrical Appliances by using Bluetooth
DOC
Project
PDF
Power house automation using wireless communication
PDF
Power house automation using wireless communication
PDF
Design and Implementation of Secured Wireless Communication Using Raspberry Pi
PDF
A remote monitoring system for a three phase 10-kva switchable distribution t...
PDF
A remote monitoring system for a three phase 10-kva switchable distribution t...
PPTX
Numerical-Relay-PPT-1-convvffverted.pptx
PDF
Introduction of Programmable Logic Controller to Electric Overhead Travelling...
DOCX
Wireless energy meter monitoring with automated tariff calculation
PDF
Mobile robotic platform to gathering real time sensory data in wireless perso...
PPTX
gui based device controller using matlab Major presentation
DOCX
Design of wireless sensor network for building management systems
PDF
IRJET- Password based Circuit Breaker using DTMF
PDF
IRJET- Automation in Substation using Programmable Logic Controller (PLC)
PDF
I45015153
PDF
Minor Project Report on - short range personal 'RADAR'.
PDF
IRJET- Smart Energy Management System
DOCX
4 Way traffic controll new
Implementation and Controlling of Electrical Appliances by using Bluetooth
Project
Power house automation using wireless communication
Power house automation using wireless communication
Design and Implementation of Secured Wireless Communication Using Raspberry Pi
A remote monitoring system for a three phase 10-kva switchable distribution t...
A remote monitoring system for a three phase 10-kva switchable distribution t...
Numerical-Relay-PPT-1-convvffverted.pptx
Introduction of Programmable Logic Controller to Electric Overhead Travelling...
Wireless energy meter monitoring with automated tariff calculation
Mobile robotic platform to gathering real time sensory data in wireless perso...
gui based device controller using matlab Major presentation
Design of wireless sensor network for building management systems
IRJET- Password based Circuit Breaker using DTMF
IRJET- Automation in Substation using Programmable Logic Controller (PLC)
I45015153
Minor Project Report on - short range personal 'RADAR'.
IRJET- Smart Energy Management System
4 Way traffic controll new

Recently uploaded (20)

PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPT
Teaching material agriculture food technology
PDF
Machine learning based COVID-19 study performance prediction
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
cuic standard and advanced reporting.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Empathic Computing: Creating Shared Understanding
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Understanding_Digital_Forensics_Presentation.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Teaching material agriculture food technology
Machine learning based COVID-19 study performance prediction
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
NewMind AI Weekly Chronicles - August'25 Week I
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
cuic standard and advanced reporting.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
The Rise and Fall of 3GPP – Time for a Sabbatical?
Reach Out and Touch Someone: Haptics and Empathic Computing
Empathic Computing: Creating Shared Understanding
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Unlocking AI with Model Context Protocol (MCP)
Dropbox Q2 2025 Financial Results & Investor Presentation
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Encapsulation_ Review paper, used for researhc scholars
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
CIFDAQ's Market Insight: SEC Turns Pro Crypto

E044081720

  • 1. Mayuri S. Sonar et al Int. Journal of Engineering Research and Applications www.ijera.com ISSN : 2248-9622, Vol. 4, Issue 4( Version 8), April 2014, pp.17-20 www.ijera.com 17 | P a g e Controlling and Monitoring Of GUI Based Devices Using MATLAB Nidhi Mishra1 , Mayuri S. Sonar2 , Shruti V. Kulkarni3 , Shweta S. Dabhole4 1 Asst. Prof. Dept. of Electrical engineering, Bhivarabai Sawaant of Inst. Of Tech. & Research (W) Pune, India 2 Student, Dept. of Electrical engineering, Bhivarabai Sawaant of Inst. Of Tech. & Research (W) Pune, India 3 Student, Dept. of Electrical engineering, Bhivarabai Sawaant of Inst. Of Tech. & Research (W) Pune, India 4 Student, Dept. of Electrical engineering, Bhivarabai Sawaant of Inst. Of Tech. & Research (W) Pune, India Abstract in this project we have made a PC based system which will control various devises like Motor, Light, and Fan etc. with the help of PC. In this project we have designed a special GUI (Graphical User Interface) on MAT- LAB software which will help us to give commands to system. We have used Microcontroller in order to re- ceive commands form PC and accordingly control the devices connected to it. In this way this system is completely controlled by PC from remote location. In today’s world .there is high a demand for PC based con- trol system because of its various advantages over manual control system, PC based control systems are highly reliable , accurate and time saving systems, they provide number of features like quick data storage , data trans- fer and data security which help industries to work in efficient manner. Index Terms — MATLAB, GUI, Microcontroller AT89C51 I. INTRODUCTION This Automation is today’s fact, where more things are being completed every day automatically, usually the basic tasks of turning ON or OFF certain devices and beyond, either remotely or in close prox- imity. The control of the devices when completely taken over by the machines, the process of monitor- ing and reporting becomes more important. Depend- ing on the location of its usage, automation differs in its name as industrial automation, home automation etc. With the development of low cost electronic components home automation migrated from being an industrial application to home automation. The home automation, our point of concern deals with the control of home appliances from a central location. Market researches claim that most of the homes will be equipped with home automation systems in the very near future. The whole process of supervising, controlling and monitoring electrical devices and equipment’s from electric power stations and the dis- tribution grids is based on automation, protection, data acquisition and equipment control. A popular application in this field, which is in highly demand, involves controlling the power equipment in the building, such as the motor, heater, lamp and air con- ditioner. In this project the user specified embedded program is entered into the computer and downloaded from the computer to the microcontroller using serial connection between them. Further the computer acts as a host for an interactive GUI for the user so as to control the various devices connected to the microcontroller. The problem of power management is the remote control adjustment, which is a result from consumers’ carelessness. Microcontrollers are suita- ble in low-cost control applications. There are many trade-offs that are addressed during the control sys- tem design, of which control allocation is an integral part, dictate the need for a reliable, computer-based design tool. The proposed system architecture, consi- dering both the hardware and software elements in- volved is essential in this new era. There are various applications with built in controllers and ready for internet access which may be too expensive and complicated to build whereas this is a dedicated ap- plication which is cost effective. The next section will briefly introduce the units in the automation system. The device controller consists of two sec- tions of software and hardware. As software MAT- LAB is used because it already consists of Graphical User Interface (GUI) tool. The microcontroller reads the data from the computer therefore turning on the devices accordingly. IC is used to activate the relays to turn ON/OFF the home appliances. A pair of tran- sistor is required by every relay to operate in order to provide high current. Using relay isolation form ac to dc is carried out and also the switching is done easi- ly.The device controller generally can be referred as an example of master slave communication where all devices act as slave being controlled by the single PC acting as master. Here the computer is the main con- trolling unit that the operation of RS232 convertor with the AT89C51 microcontroller circuit system that RESEARCH ARTICLE OPEN ACCESS
  • 2. Mayuri S. Sonar et al Int. Journal of Engineering Research and Applications www.ijera.com ISSN : 2248-9622, Vol. 4, Issue 4( Version 1), April 2014, pp. 17-20 www.ijera.com 18 | P a g e is referred to as a slave unit. To interface the USB port of the computer with the system developed, the USB-to-RS232 convertor is used. The USB port as a serial port protocol is initialized by the driver of USB-to-RS232 convertor. By transforming the RS232 levels back to 0 and 5 Volts with the use of common level connector that is MAX232 the CMOS level is converted into Transistor Transistor Logic. The receiver transmitter pin of MAX 232 is con- nected to receiver transmitter pin of microcontroller. The MAX232 is used with five 1 µF capacitors to adjust the voltage level difference between the PC based logic and controller based logic. II. 2 HARDWARE 1) Computer: We have used computer in order to give commands to the system with the help of RS 232 protocol commands will be given through special GUI. 2) RS 232 Protocol: it has been used in order to do serial communication with for this we have used MAX 232 as level converter. 3) MICRO-CONTROLLER (8051): this is the most important segment of the project. The controller is responsible for detection and polling of the peri- pherals status. It is responsible for making. It is re- sponsible for prioritizing all the devices attached to it. We have used the P89C51 microcontroller. The P89C51 is a low-power, high-performance CMOS 4- bit microcontroller with 64K bytes of in-system pro- grammable Flash memory. It has got 32 I/O lines two
  • 3. Mayuri S. Sonar et al Int. Journal of Engineering Research and Applications www.ijera.com ISSN : 2248-9622, Vol. 4, Issue 4( Version 1), April 2014, pp. 17-20 www.ijera.com 19 | P a g e data pointers, two 16-bit timer/counters, six-vector two-level interrupt architecture, a full duplex serial port, on-chip oscillator, and a clock circuitry. Features of microcontroller AT89C51 4K Bytes of In-system Programmable Flash Memory Endurance. 1,000 Write / Erase Cycles. Fully Static Operation: 0 Hz to 24 MHz. Three-level Program Memory Lock. 128 x 8-bit Internal RAM. 32 Programmable I / O Lines. Two 16-bit Timer/Counters. Six Interrupt Sources. Programma- ble Serial Channel. Low-power Idle and Power-down Modes. 64 KB of on-chip flash program memory with ISP (In-System Programming) &IAP (In Appli- cation Programming). 5V operating voltage from 0 to 40 MHz.SPI (Serial Peripheral interface). 1 KB RAM. 32 I/O lines. Programmable counter array. Eight interrupt sources with four priority levels. Four 8-bit I/O ports. Low EMI mode (ALE inhibit). Sys- tem Application Three 16-bit Timer/Counter Accu- mulator 4) Light: We have used LED s in order to represent lamp in the normal day to day life and showing the current situation of device whether is ON or OFF. 5) RELAY: We have used relay. It will perform the function of switch; it can be used in various applica- tions. A relay will switch one or more poles, each of whose contacts can be thrown by energizing the coil in one of three ways: 1. Normally- open (NO) contacts - Normally- open (NO) contacts connect the circuit when the re- lay is activated; the circuit is disconnected when the relay is inactive. It is also called a Form A contact or "make" contact. NO contacts can also be distin- guished as "early-make" or NOEM, which means that the contacts will close before the button or switch is fully engaged. 2. Normally-closed (NC) contacts - Normally-closed (NC) contacts disconnect the circuit when the relay is activated; the circuit is connected when the relay is inactive. It is also called a Form B contact or "break" contact. Contacts can also be distinguished as "late- break" or NCLB, which means that the contacts will stay, closed until the button or switch is fully disen- gaged. 3. Change-over (CO), or double-throw (DT), contacts control two circuits - one normally-open contact and one normally-closed contact with a common terminal. It is also called a Form C contact or "transfer" contact ("break before make"). If this type of contact utilizes ―make before break" func- tionality, then it is called a Form D contact. Functions of the relays - Relays are used throughout the automobile. Re- lays which come in assorted sizes, ratings, and appli- cations, are used as remote control switches. A typi- cal vehicle can have 20 relays or more since relays are switches, the terminology applied to switches is also applied to relays. 6) Interfacing the Serial / RS232 Port: The Serial Port is harder to interface than the Parallel Port. In most cases, any device you connect to the serial port will need the serial transmission converted back to parallel so that it can be used. This can be done using a UART. 7) Power Supply: There are many types of power supply. Most are designed to convert high voltage AC mains electricity to a suitable DC voltage supply for electronic circuits and other devices. We have used 5 Volt power supply. we have designed a special GUI on PC, For this we have used Visual C language this GUI contains various Tabs for various instruments connected in the system, for example the Button No 1 can be used to control the device which is connected in the system at position 1. Once any Button is pressed by user PC will send command to Microcon- troller with the help of standard serial communication protocol The RS 232 standard is used in order to per- form serial communication with Microcontroller standard 9600 baud rate is used in order to perform the serial communication III. Advantages This project can be effectively and conve- niently utilized for the control of different appliances. As this project could be extended to control about 4 devices, this could be used for computerization of an office, home, or a firm. Though it is quiet costlier, the circuit is simple and the working mechanism could be easily understood. An added advantage of this project is that we are able to know the status of the device to be controlled. The program to control the appliances is written in C language which is more users friendly and easy to understand than other pro- gramming languages. In today’s world there is high a demand for PC based control system because of its various advantages over manual control system. PC based control systems are highly reliable, accurate and time saving systems; they provide number of features like quick data storage, data transfer and data securities which help industries to work in efficient manner. By using remote system that is PC or Laptop we can save time. The circuit is very simple and hence it requires very less maintenance is required. IV. Conclusion The project was aim the objective to control and monitor a device in several location then display
  • 4. Mayuri S. Sonar et al Int. Journal of Engineering Research and Applications www.ijera.com ISSN : 2248-9622, Vol. 4, Issue 4( Version 1), April 2014, pp. 17-20 www.ijera.com 20 | P a g e at computer. Besides, success to develop a GUI by using visual basic for measurement. Where more things are being completed every day automatically, usually the basic tasks of turning on or off certain devices and beyond, either remotely or in close proximity. The control of the devices when completely taken over by the machines, the process of monitoring and reporting becomes more important. The device controller generally can be referred as an example of master slave communi- cation where all devices act as slave being controlled by the single PC acting as master. Here the computer is the main controlling unit that governs the operation of RS232 convertor with the AT89C51 microcontrol- ler circuit system that is referred to as a slave unit. V. Acknowledgement Foremost, we would like to express our sin- cere gratitude to Prof. Mrs. Nidhi Mishra for her con- tinuous support, patience, motivation, enthusiasm and immense knowledge. Her invaluable guidance helped us a lot. Be- sides him we would like to thank our faculties, lab technicians and our respected HOD for their valuable advices and their significant contribution. The prod- uct of this research paper would not be possible with- out all of them. Last but not the least; we would like to thank our family and God. References [1] Mat lab-Based GUI Development for Basic Stamp 2 Microcontroller Projects - Proceed- ing of the 2004 American Control Confe- rence Boston, Massachusetts June 30 - July 2, 2004 [2] GUI of System Identification Toolbox for MATLAB - Hiroyuki Takanashi and Shui- chi Adachi. Akita Prefectural University Keio University, Japan. [3] GUI Based Device Controller Using MAT- LAB - International Journal of Scientific & Engineering Research, Volume 4, Issue 6, June-2013 903 ISSN 2229-5518 [4] GUI Based Remote ON/OFF Control and Monitoring Single Phase Lamp Using Mi- crocontroller – Mohd Suhaimi B. Sulaima- net. al. / (IJCSE) International Journal on Computer Science and Engineering Vol. 02, No. 04, 2010, 1401-1405