You are on page 1of 12

Project Introduction Abbreviated CAN, a serial bus network of microcontrollers that connects devices, sensors and actuators in a system

or sub-system for real-time control application. There is no addressing scheme used in controller area networks, as in the sense of conventional addressing in networks (such as Ethernet). All the indusries are provided with a single security control room that receives the graphic interface of the place, implemented with security system in the form of map showing the interior layout. We are designing this project because of its centralization feature and it can give effective performance in any environment. Intercom and security project have been designed and operated effectively but they will never centralize with each other. Our project has the unique combination of security intercom system. Our project is the most demanding system of today. This has great future value. Project Overview Control Area Network controls the security of the Electronic equipments using the RS-485 protocol. We use CAN for Monitoring Sensors. Data can be stored in the System and the software is used for backup. We can get reports on hourly, weekly and monthly basis. The Controller Area Network (CAN) bus is a multi-master message broadcast system that is suitable for systems where data contained in short messages are needed to be received at multiple locations simultaneously. Because messages are sent to all the nodes in a system, CAN is especially suited to systems where

consistency in the received messages at all the receiving nodes is needed. In this case, all nodes are notified of the rejection, ensuring the data consistency across the network. Messages are sent to all nodes, but their message identifiers indicate whether each node should act on the message. However, all nodes participate in indicating whether the message was sent correctly, increasing the reliability of the bus. Designing and development process can be divided in to three Section. Primarily Design Embedded System Monitoring Software

Primarily Design First section of the designing and development process is primarily design. That can be termed as theoretical segment. This comprises principal study, sketching block diagram and designing schematic of the embedded system.

Embedded System Second section of the designing and development process is embedded system that will be in shape of the Master and Slave Circuits. This segment is all regarding implementation of the designed schematic in terms of electronic components and troubleshooting hardware miscalculation.

Monitoring Software Design Third section of the designing and development process is monitoring software design. That can be termed as programming segment.

Project Objectives
Aspire of designing and developing CAN is to provide a cheaper, reliable and high performance monitoring system that not only accomplish the existing need but also meet the future challenges. We have provided the following provision in our system. Measure the RPM Measure the Temperature Rotate the angle of Stepper Motor

Block Diagram
Block diagram illustrate the theme of the project.

S y s te m

M o d-1 le u M a s te r

M o d -2 le u S la v e

D e v -1 e ic TACHOM ETER

R -S 8 C o m m u n i c a t i o n 4 5 C a b le

M o d -3 le u S la v e

D e v -2 e ic TEM PERATURE SENSOR

M o d -4 le u S la v e

D e v -3 e ic STEPPER MOTOR

Module -1
This relates to Master circuits. (master Circuit)

Module -2
The module-2 is used to measure the RPM of the motor using the TACHOMETER which gives the voltages.

Module -3
The module-3 is used to measure of the Temperature of the motor using a TEMPERATURE SENSOR.

Module -4

The module-4 is used to rotate the angle of STEPPER MOTOR with the help of V.B. programming.

CIRCUIT OPERATION Master Circuit:The function of this unit is to convert RS232 protocol into RS485 protocol MAX232 Circuit Description The MAX232 requires 4 capacitors, each of 10uF. These are used by the internal charge pump to create +10 volts and -10 volts. The values of capacitor are specified in the data sheet of MAX232 and these values necessary to get required output. For the first capacitor, the negative leg goes to 5 volts and the positive leg goes to pin 2. For the second capacitor, the negative leg goes to pin 3 and the positive leg goes to pin 1. For the third capacitor, the negative leg goes to pin 5 and the positive leg goes to pin 4. For the fourth capacitor, the negative leg goes to pin 6 and the positive leg goes to ground. The MAX232 includes 2 receivers and 2 transmitters so two serial ports can be used with a single chip. In order to communicate microcontroller to RS232, the Microcontroller 89C51 has building USART. The Universal Synchronous Asynchronous Receiver Transmitter (USART) module is one of the two serial I/O modules. The USART can be configured for asynchronous operation (UART) for communication with a PC or synchronous operation for communicating with peripheral devices such as DAC or DAC integrated circuit. The two connections must be made for communication that is pin 25 and 26 of microcontroller to pin 11 and 12 of MAX232 respectively

CIRCUITRY for RS-485

This part of circuit is used as stabilizer in transmitter and receiver this is basically TTL (transistor transistor logic) to RS485 protocol portion its work in the form of pair one for transmitter (TX) and other for receiver (RX) because SN75176 is only work on simplex mod either transmitter (TX) or receiver (RX)

XR4151 or LM331

+ 1 C 1 1 U F / 2 5 V

2 V R 6 6 K 8 R / 0 W 2 5

+ 5 J 2 3 2 1 1

V R 3 1 6 R 11 0 0 K R / 0 W 2 5 7 0 0 K R / 0 W 2 5 R C 0 U 2 0 1 F / 2 5 V 2 0 5 K X R 4 1 2

C S O T R S H O U I N P V Vcc S C F AR C

3 T L

5 1

G N D

3 3

1 C 0 U

3 0 1 F / 2 5 V

This is an 8bit IC. We use this IC to convert ANALOG to DIGITAL conversion because micro controller read only in DIGITAL input we use reference voltage 1.25 or 10 mV step size to match the step size of temperature sensor LM35.

RELAY DRIVING CIRCUITRY

This is relay-driving circuitry this circuit consist of Darlington pair indicator LED relay and free will diode the function Darlington pair is to increase the current to operate the relay because the port current of micro processor is insufficient to operator relay and the function of free will diode is to protect the relay.

BUZZER

It is normally used to indication or alarm purpose so we are also used the buzzer in our project to activate or indicate in case of alarm. LCD OPERATION

We use LCD control and LCD display to receive the massage or display the massage about KEY PAD or about lock code LCDD (Liquid crystal display data) is 8 pins for D0, D1, D2, D3, D4, D5, D6, and D7 LCDC (Liquid crystal display control) is 6 pins. Pin 1connected to 5volt, pin 2 is connected to ground, pin 3 is enable, pin 4 is reset, pin5 is connected to counter.

SCHEMATIC OF MASTER UNIT


+ R 14 1 7 5 V

+ P 1 1 6 2 7 3 8 4 9 5 C O N N E C T O R

V U S 8 K

2 5

/ 0 W 1 7 6

U R X

5 U U T T TU X T U T

4 3 D D 1 2 R R

AE B E

VCC

6 7 1

1 1 1 4 1 T 0 1 T I N1 7 O T 2 T I N2 O D 1 8 R R B3 9 1 1 R I N19 2 R I N2 1 V1 2 2 + 2 3 2 + + 2 O O

/ 0

GND

J R 1 K 3 2 / 0 W 2 5 A B A B 1 1 1 2 2 2 1 2 3 4 5 6

C 1

1 3 C / 2 C5 4 5 C C 2 6 V V

G +

R
+ 5 V

C 1

/ 2 I 5C V L

U S V c Cc 7 1 0 U C 1 F / 2 5 0 U F 8 V 4 3 D D 1 2 R R 8

7 6 7 E 1

/ 2

AE B

VCC

/ 0

GND

T S D

it l e

M
iDz e o A <3 D a t e

A
c o : u c

S
m > S

T
e n

E
t

R
N R u em v

C
b e

A
r

h 1 e o e f1 t

2.5

SCHEMATIC OF SLAVE UNIT

+ C 1 1 U F / 2 5 V

V R 6 6 K 8 R / 0 W 2 5

+ J 2 3 2 1

V R 3 R 11 0 0 K R / 0 W 2 5

U 1 6 7 2 R C 0 U 2 0 1 F 5 X R 4 1 5 C T I N S R

8 Vcc S O V FR H 3 UR T 2 L 0 F R E Q S O P C

/ 0

2 0 K / 2 5 V

GND

A2 C 7

L C M 3 3 3 0 U 0 1

1 F

/ 2 5

R
+ 1 2 3

P
1 2 R 1

M
V 2 1 U

S
7

e n

+ 5

s o
R 1 1 0 1 k

r
/ 0 I N W 2 - 1 5

4 1 K R 2/ 0 W P C 8 2 53 1 7

J 1 2 3 4 5 6 7 8 9 1 1 1 1 1 1 1 0 1 2 3 4 5 6

3 1 2 3 4 5 6 7 8 9 4 7 K R / 0 W 2 5 3 3 3 3 3 3 3 3 1 2 3 4 5 6 7 8 1 1 3 Y 1 + 5 A V 9 8P 7P 6P 5P 4P 3P 2P P P P P P P P P P 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 . . . . . . . . . . . . . . . .

40

5 V

R D D D D D D D D 0 E 1 2 3 4 5 6 7 N

0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7

/ / / / / / / /

AP AP AP AP AP AP AP AP

D2 D2 D2 D2 D2 D2 D2 D2

. . . . . .

2 . 0 02 . 1 12 222 332 442 552 662 77

1 2/ 3/ /4 /5 /6 /7 /8 /

A A A A A A A A X 1 1 1 1 1 1 X

8 9 0 1 2 3 4 5 D D O T 1 R D

VCC

1 0 / PT 23 . 0 1 / 1R / PT 2 3 - . E1 1 /X 2 T P 3 . 2 1 / I3 N P 3 . 3 1 / 4I N P 3 . 14 5/ T P 3 . 15 6/ T P 3 . 61 / 7 W P 3 . 7 / R

T O 1

S S

W W

3 4

9 2 9 8X T A L 1 P S E N 9 X T A L 2 3 0 R S T A L E / P R E 8 A 9 GND 1 T / V C P 5 2 P

G + 5 V

1 C 3

. 0

2 C 1 R 1 7 0 K R 0 1 3 U R / 0 E W F R/ 1 S 6 W V S E 2 T 5 S W I T C H T X S N 4 3 1 2 D D R R 7 5 8 U 1 7 6 7 1 2 R 0 7 R / 0 W 2 5 A B A B G + 1 1 2 2 N D 1 2 V 1 2 3 4 5 6 J 1 0 1 6 0

1C 1 1 2 0 3P 0 F P F

20

VCC 5 GND E

E A B

+ 5

V P U L L U P 1 0 K

I / O 2 3 4 5 6 7 8 9 D O I R E 7 1 1 4 H A A A A A A A A 9D O C 0 1 2 3 4 5 6 7 B B B B B B B B 1 01 11 21 31 41 51 61 7 8 7 6 5 4 3 2 1 1 1 1 1 1 1 1 1 U 4 5 1 2 3 4 5 6 7 8 GND C IT IT IT IT IT IT IT IT 2 N N N N N N N N O 8 7 6 5 4 3 2 1 20 O O O O O O O O U U U U U U U U

1 0 M 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 3

R I I I I S S S S / / / /

* 8 O O O O t e p t e p t e p t e p 1 2 3 4 p p p p e e e e r r r r 1 2 3 4 8 + 5 V + 5 R 4 U 4 3 R X 1 2 S N D D R R 7 1 2 R 1 7 2 8 0 R / 0 W 2 5 V 2 7 K 2

VC C I R E 2

GND

L N

8 0

10

VCC GND E 5

E A B

R 4

T S D

it l e

S
:

L A
o c 0 1 u m

V
e

E
n t N

C
S h

A
u m b

R
e r

D
R f 1 A e v

i z eD 0 a t e

e 1e t o

You might also like