GUI BASED DEVICE
CONTROLLER USING
MATLAB
PREPARED BY:
Vandana Sharma
Palak sinha
Rohit Pandey
Rajan chauhan
CONTENTS
 Objective
 Introduction
 Block Diagram
 Working Principle
 Advantages
 Applications
 Limitations
 Future scope of work
 Conclusion
OBJECTIVE
The objective of this project is to develop the
graphical user interface of device control through
Matlab, interface the Matlab GUI that consist of
transmitter and receiver program with hardware via
serial communication and control various devices so
as to develop an automatic control system.
INTRODUCTION
Automation being today’s fact, the proposed system is based on
AT89C51microcontroller.
The device controller consists of two sections of hardware and
software.
As software Matlab is used because it already consists of GUI tool.
As the data is sent to USB port of computer the Universal
Asynchronous receiver transmitter module(UART) converts it in to
the TTL standard of microcontroller.
UART transmits data as bytes of sequential pattern that is read at
the hardware side to by the microcontroller turning on devices
accordingly.
BLOCK DIAGRAM
WORKING PRINCIPLE
 The Matlab code generated is sent from PC to the
USB port. This is converted in to TTL standard of
microcontroller where a bridge rectifier transforms
ac input to dc output.
 By using serial communication port to control the
devices, we can have a control over the devices at
remote locations using GSM module/ android
application.
 So, the microcontroller reads the input and activates
the relay driver so as to obtain automatic control.
MICROCONTROLLER -
AT89S52
 The AT89S52 is a low power, high performance,
CMOS 8-bit microcontroller with 8k bytes of
insystem programmable flash memory.
 It is a powerful microcontroller which provides a
highly flexible, cost effective solution to embedded
applications.
 The code written is downloaded to the
microcontroller chip using an universal programmer.
GSM MODEM
 GSM modem is a multifunctional, ready to
use , rugged unit that can be embedded or
plugged in to any application.
 The modem can be controlled and customized
to various level by using the AT commands.
RELAYS
 Relays use an electromagnetic coil to move the poles
of a switch when powered. There are three pairs of
connections known as common, normally open and
normally closed.
 The central terminal block is the common
connection(CO) and is connected to either the upper
or lower terminal block depending upon the state of
the relay.
 Switch on/off the devices according to
microcontroller commands.
ADVANTAGES
 The status of various devices can be monitored
and controlled from anywhere.
 The operation of the system is very simple and
can be used by anyone with a basic knowledge
of operating PC and mobile phones.
 Easy to upgrade as per the user requirement.
APPLICATIONS
 Home automation
 Industrial automation
 Office automation
 To control water pump
sets in agricultural
fields.
 The security system can
be employed in
household or any other
organization.
LIMITATIONS
 If the main module or handset is not in the
cellular range, we can’t control the devices.
 The sensors use RF transmitter and receiver
which has limited range, hence sensors have
to be in close vicinity of the main module.
FUTURE SCOPE OF WORK
 It can be used for high security in banks and
other organizations.
 Using real time clock, the appliances which need
response in real time can also be controlled
through the wireless link.
 Connecting more devices.
 Provision to store several mobile numbers.
 Video recording once alarm gets operated.
CONCLUSION
 GUI provides the process for transmission of ASCII
character data selected by the user to transcend the
information.
 The converter used provides the communication
between the RS232 port of PC and USB port of
microcontroller.
 All the load devices are connected via computer to
allow control by a PC and so with integration
information technology, home environment can be
controlled in an efficient manner.

gui based device controller using matlab Major presentation

  • 1.
    GUI BASED DEVICE CONTROLLERUSING MATLAB PREPARED BY: Vandana Sharma Palak sinha Rohit Pandey Rajan chauhan
  • 2.
    CONTENTS  Objective  Introduction Block Diagram  Working Principle  Advantages  Applications  Limitations  Future scope of work  Conclusion
  • 3.
    OBJECTIVE The objective ofthis project is to develop the graphical user interface of device control through Matlab, interface the Matlab GUI that consist of transmitter and receiver program with hardware via serial communication and control various devices so as to develop an automatic control system.
  • 4.
    INTRODUCTION Automation being today’sfact, the proposed system is based on AT89C51microcontroller. The device controller consists of two sections of hardware and software. As software Matlab is used because it already consists of GUI tool. As the data is sent to USB port of computer the Universal Asynchronous receiver transmitter module(UART) converts it in to the TTL standard of microcontroller. UART transmits data as bytes of sequential pattern that is read at the hardware side to by the microcontroller turning on devices accordingly.
  • 5.
  • 6.
    WORKING PRINCIPLE  TheMatlab code generated is sent from PC to the USB port. This is converted in to TTL standard of microcontroller where a bridge rectifier transforms ac input to dc output.  By using serial communication port to control the devices, we can have a control over the devices at remote locations using GSM module/ android application.  So, the microcontroller reads the input and activates the relay driver so as to obtain automatic control.
  • 8.
    MICROCONTROLLER - AT89S52  TheAT89S52 is a low power, high performance, CMOS 8-bit microcontroller with 8k bytes of insystem programmable flash memory.  It is a powerful microcontroller which provides a highly flexible, cost effective solution to embedded applications.  The code written is downloaded to the microcontroller chip using an universal programmer.
  • 9.
    GSM MODEM  GSMmodem is a multifunctional, ready to use , rugged unit that can be embedded or plugged in to any application.  The modem can be controlled and customized to various level by using the AT commands.
  • 10.
    RELAYS  Relays usean electromagnetic coil to move the poles of a switch when powered. There are three pairs of connections known as common, normally open and normally closed.  The central terminal block is the common connection(CO) and is connected to either the upper or lower terminal block depending upon the state of the relay.  Switch on/off the devices according to microcontroller commands.
  • 11.
    ADVANTAGES  The statusof various devices can be monitored and controlled from anywhere.  The operation of the system is very simple and can be used by anyone with a basic knowledge of operating PC and mobile phones.  Easy to upgrade as per the user requirement.
  • 12.
    APPLICATIONS  Home automation Industrial automation  Office automation  To control water pump sets in agricultural fields.  The security system can be employed in household or any other organization.
  • 13.
    LIMITATIONS  If themain module or handset is not in the cellular range, we can’t control the devices.  The sensors use RF transmitter and receiver which has limited range, hence sensors have to be in close vicinity of the main module.
  • 14.
    FUTURE SCOPE OFWORK  It can be used for high security in banks and other organizations.  Using real time clock, the appliances which need response in real time can also be controlled through the wireless link.  Connecting more devices.  Provision to store several mobile numbers.  Video recording once alarm gets operated.
  • 15.
    CONCLUSION  GUI providesthe process for transmission of ASCII character data selected by the user to transcend the information.  The converter used provides the communication between the RS232 port of PC and USB port of microcontroller.  All the load devices are connected via computer to allow control by a PC and so with integration information technology, home environment can be controlled in an efficient manner.