Sie sind auf Seite 1von 4

START

INITIALIZE TIMER IN TIMER MODE


SET SCON REGISTER
SET PCON REGISTER
START TIMER 1
ENABLE SERIAL INTERRUPT
A

IF
A PRESS

Select First Channle of ADC

Send SOC Pulse

IF
B PRESS

Select 2nd Channle of ADC

Wait For EOC


Send SOC Pulse

Read the Port DATA


Move into Sbuf

IF
S PRESS

Stop ALL

Wait For EOC


Read the Port DATA

A
Move into Sbuf

IF
L PRESS

Read the Port DATA

Move into Sbuf


C

IF
G PRESS

ON 1ST RELAY
A

IF
H PRESS

OFF 1ST RELAY


A

next

next
IF
E PRESS

ON 2ND RELAY
A

IF
F PRESS

OFF 2ND RELAY


A

IF
J PRESS

ON 3RD RELAY
A

IF
K PRESS

OFF 3RD RELAY


A

SOFTWARE USED
VISUAL BASIC:
We Used the Visual Basic as the front end of the project. In
addition to being graphical and simple to use, VB has become todays most
popular language. VB is both interpreted (it let you program as you write
them. Interpreted languages makes good platform because of its quick
feedback) and computerized. one can test a VB platform what one write by
running the program until the bugs are found .VB handle the more
complicated and difficult steps than other language something criptic called
link editing, which one must go through. VB program directly interacts with
the screen, keyboard mouse and printer graphically.
In Visual Basic, instead of drawing screens on the paper we can
design screens using Visual Basic tool. No code is needed to produce such a
screen .In VB programming it is possible to use various active X
controls .Even we can include the COM port functionalities by embedding it
in the software code. We have done the same in this project. As the COM
port can be used for interfacing with various other equipments .In this
project we have interfaced it with the Infrared transceiver which receives the
signals from the remote control and transfer them to COM port which

further performs the operations of remote controlling. Here in this project we


have developed the AUDIO SYSTEM .In this system any audio file can
be entered from any drive and can be played . This Audio system is operated
with the remote control. The operations such as load ,play ,pause, forward
,reverse and volume controlling of any track is done with the help of remote
control The Visual basic enables us to run the program effectively.
Advantages of the Visual Basic are as follows
i)

Visual Basic is graphical and simple to use .It reduces the effort
required on your part and makes programming as simple as dragging
graphics object and the screens with your mouse.

ii)

It is an integrated development environment that covers every aspect


of the programming from educational application to database and
financial application to internal component.

iii)

VB is interpreted so that it compiles fast and is secured.

iv)

VB has an interactive debugger that can turn on and off inside VB that
can help to locate statement.

Das könnte Ihnen auch gefallen