SMS & NET O M C

forestevanescentΗλεκτρονική - Συσκευές

2 Νοε 2013 (πριν από 3 χρόνια και 9 μήνες)

60 εμφανίσεις

SMS & NET O
PERATED

M
ONITORING

AND

C
ONTROL

SYSTEM

B
Y
:

M
ANSOUR

A
LRAMLAWI

M
AHMOUD

A
LALAWI

M
OHAMMED

A
LFEQAWI

J
ALAL

A
LROUMI

H
AMDI

J
OUDEH


S
UPERVISOR
: D
R
.
H
ATEM

E
LAYDI

I
NTRODUCTION



Rapid Growth in technology.



Fields of Industry, Communications, Control,
Internet technology ….. And more.



You can be anywhere anytime. You want to know
Anything happening everywhere.






O
NE

OF

THE

B
ENEFITS






Space
Applications

Remote Monitoring

& Controlling

Home
Applications

Industrial, Natural Resources, Agriculture and
others.

O
UR

SYSTEM


F
UNCTIONALITY



As a monitoring & control system for simple
applications.

F
UNCTIONALITY



As part of a large DCS.

F
EATURES




Title

Stand Alone System

Blocks

Approach


SMS & Net
Operated

PIC MCU Based


S
YSTEM

B
LOCK

D
IAGRAM



Saves time and effort.


Easier to upgrade.


Allows reuse of blocks.

SMS


SMS stands for( Short Message Service).



Features of SMS:


1
-
can be Sent and Read at Any Time.



2
-
can
be Sent to an Offline Mobile
Phone.



3
-
Supported
by 100% GSM Mobile Phones
.



SMS
IN

OUR

PROJECT

C
ONNECT

SMS
TO

MCU


F
-
Bus

-
full duplex

-
Runs
at bit
rate of 115,200
bps.



Type of


connection


M
-
Bus

-
half
duplex

-
Runs
at bit rate
of 9600
bps.

AT
COMMAND


commands
are the application layer of MBUS or
FBUS
commands



AT
commands work on devices that have a built
-
in GSM modem


AT
COMMAND

V
S
. F
-
B
US


Send message


AT command

AT+CMGS 972599378166


F
-
Bus




S
O

WHY

F
-
B
US




F
-
Bus work with all kind of mobile devices
especially old devices.


AT commands don’t work with devices that don’t
have built in GSM modem.




M
ICROCONTROLLER

PIC18F4550



M
ICROCONTROLLER

PROGRAM


Receive
M
essage:

Transfer order to central PIC

Check sender number

If correct get order from message

store message frame

Wait until message receive

synchronize the USART in the phone with microcontroller

S
END

M
ESSAGE

Send message

Transfer input to mobile through
F
-
Bus

If input change, change message frame
according to number of input

Monitoring incoming data from central
PIC

C
ONTROL

REMOTE

DEVICES

OUTPUT

M
ONITORING

REMOTE

UNIT

INPUT

N
ETWORK

SUPPORT

IN

OUR

SYSTEM




First time to support stand alone Ethernet.


No software needed to run the system.


No extra hardware to connect with PC.


Flexibility.


Very short start up time.


Can be improved to connect to the internet.

E
THERNET

MODULE

A
RCHITECTURE


PC
NEEDS

NIC
AND

PIC
NEEDS

ENC


ENC
28
J
60
A
DVANTAGES


Supporting
10
base_T
10
Mbps speed.


Simpler interfacing with Microcontroller.



connectable via SPI.


Need only
5
pins to connect with PIC.


Attractive price.

M
ICROCONTROLLER

OF

MODULE


Pic
18
F
452
is installed.


Full support for SPI module.


Sufficient ram space.


support enough speed for its duty.


WEB P
AGE

PROGRAMMING


WEB page is programmed as HTML code.



Html code is saved in MCU as characters array
in PIC Memory.



The

code

Can

be

edited

in

the

MCU

to

meet

the

coming

request

.

W
EB

PAGE

INTERFACING

W
EB

PAGE

INTERFACE

C
ONTROL

PAGE

M
ONITORING

PAGE

C
ONTROL

OPERATION

Step
2

Step
3

Step
4

Step
1

Sending
control
order

ON/OFF

Change
the state
of the
output
port

Modify
the
HTML
page


Return
modified
page

M
ONITORING

OPERATION


Refreshing the value of input.



Auto refresh in the web page.



Changing the unit color if input status is
changed.

C
ONNECTING

WITH

INTERNET

What we need ?


Public IP address.


Web
-
server with known IP.


Reliable security.




Wireless Block



W
HY

WIRELESS
?



1
-

Easy to deploy.


2
-

Easy to distribute.


3
-

No infrastructure required.



W
IRELESS

B
LOCK

W
IRELESS

CONTROLLER


The encoder and decoder are used in interfacing the TX
and RX to the MCU and in addressing different
devices.

R
EMOTE

DEVICE

A
DDRESSING


The Encoder allows address assignment.


Each device has its own address.




I
NTERFERENCE



Interference occurs since the channel is a half
duplex

S
ENDING

C
ONTROL

DATA

Control data

R
EQUESTING

MONITORING

DATA

Monitoring
data


C
ENTRAL

B
LOCK

I
NTRODUCTION


Task
:


-

To get the other blocks working all together.


-

To organize the flow of data among blocks.



Features:


-

The heart of the system.


-

Acts like Master while the other PICs act like
slaves.






H
ARDWARE

C
ONNECTION

W
AREHOUSE

A
PPROACH



Main Concept:

-

Using the Central PIC as a warehouse.

-

Whenever a block has data to deliver or needs
data, it stores it in or takes it from the
warehouse.

-

Each

block

has

its

own

functionality

and

its

own

manner

in

requesting

data
.

T
YPES

OF

C
ONNECTION



Two types of connection are used:

1
-

Parallel Connection:

To connect the Central PIC to the SMS PIC.


2
-

USART module:

To

connect

the

Central

PIC

to

both,

the

Wireless

PIC

and

the

Ethernet

PIC
.

B
USY

L
INE


Other blocks may communicate with the Central
Block at the same time.


Busy line is used to indicate that the Central PIC
is in the middle of a session with one of the PICs.

P
ARALLEL

C
ONNECTION


It consists of
10
lines, two way
8
-
pin data port and two
control lines.



USART O
PERATION


Wireless

PIC

&

Ethernet

PICs

share

the

Central

PIC’s

RX
.



Connecting

them

together

causes

interference
.


AND

gate

is

used

for

isolation
.



USART O
PERATION

N
UMBER


The

Central

PIC

receives

data

from

both

Ethernet

and

Wireless

PICs

but

can’t

recognize

from

which

one
.



USART

Operation

Number

is

used

which

upon

it

the

Central

PIC

determines

the

source

of

the

data
.



R
ESULTS


The

system

was

successfully

designed

and

implemented
.


The

system

was

successfully

operated

using

SMS
.


It

sent

feedback

SMS

on

the

user

number

indicating

changes

in

Inputs
.


The

system

was

successfully

operated

on

a

Local

Network

by

accessing

its

HTML

page
.


C
ONCLUSION


Nothing

such

as

PERFECTION
.

(No

ideal

System)
.


More

work

should

be

done
.


Block

approach

allows

upgrading

and

improvement
.


Many

improvements

crossed

our

mind
.

F
UTURE

W
ORK


Supporting

dynamic

IP

addressing

that

allows

the

system

to

adapt

to

different

LANs

without

the

need

to

pre
-
define

the

Network
.


Connecting

the

system

to

the

Internet

and

allowing

wider

range

of

monitoring

and

control
.


Developing

a

mobile

phone

application

making

monitoring

and

control

using

SMS

an

easier

task
.





F
UTURE

W
ORK


Implementing

dynamic

allocation

of

Remote

Devices

allowing

a

larger

number

of

Remote

Devices

to

be

installed

easily
.


Adding

storage

devices

and

creating

data

base

for

operation

history
.


Interfacing

our

system

to

other

devices

such

as

Programming

Logic

Controllers

(PLCs),

Soft

Starters

and

other

systems

allowing

more

complex

operations
.





C l i c k

t o

e d i t

c o m p a n y

s l o g a n

.

www.themegallery.com