Can protocol implementation for data communication (2)
1. can protocol implementation for
data communication
Under the guidance of:
Internal guide: M.Niharika
External guide: G.purna chander rao
BY:
G.Vijay kumar
J.Divya
K.Karuna sri
K.Satyanarayana
2. CONTENTS
• AIM
• INTRODUCTION
• WHAT IS CAN?
• WHY IT IS USED?
• WHERE IT IS USED?
• POWER SUPPLY
• BLOCK DIAGRAM
• MAX232
• RS 232
• INTERFACING
• LCD
• CIRCUIT DIAGRAM
• ADVANTAGES
• APPLICATIONS
• RESULT
• FUTURESCOPE
• CONCLUSION
3. AIM OF THE PROJECT
• This main of this project is to implementation
for data communication based on CAN
protocol.
• Design and develop micro controller based
communication.
• The bit rate is 10mbps.
• Built in a high secure way of communication.
4.
5. CONTROLLER AREA NETWORK
• Implemented in 1983 officially released in 1986 at
SAE(Society of Automotive Engineers) .
• Introduced by Robert Bosch GmbH in Germany.
• It is asynchronous serial communication protocol
• Concept based on multi master
• CSMA/CA(carrier sense multiple access/collision
avoidance)
6. INTRODUCTION
Communication as the primary aspect.
Security of the level of communication
Can be utilized in various different types of
communication.
An access control system that allows only
authorized persons to access the received data.
7. Why it is used…….?
• Existing protocols didn’t support multi-
masters.
• It is Text based communication.
• Low baud-rates even at higher distances.
• Poor error detection & management.
8. WHERE IT IS USED………??
• During the journeys at night times it may fail
to know about the outer environment such
as vehicle data. The can protocol provides
interaction between them.
• used in automobiles, Industries, rail ways..
• some hospitals use CAN to manage complete
operating rooms.
• Also used in lifts, escalators, telescopes,
sportscameras, automatic door opens etc…….
11. CAN CONTROLLER
Every node of the can bus is controlled
by can controller
Stores received bits serially untill entire
messages available.
It transmits the message to a can
controller.
18 bit pin package
One shot mode ensures message
transmission is attempted only once
12. CAN TRANSEIVER
It provides protection to the can
controller.
It adopts signal level from the bus to
level of can controller
It converts the transmit signal
received from the can controller into
signal i.e. send on to the bus.
It supports 1mbps operation
Suitable for 12v &24v
14. DESCRIPTION OF AT89S52
• Compatible with MCS-51 products
• 8kb of in system reprogrammable flash
memory
• Fully static operation 0HZ to 33MHz
• 3 level program memory lock
• 4.0v to 5.5 v of operating range
15. MAX232
•It is also called as the TTL
converter.
•Operates with single 5v
power supply.
• 2 drivers and 2 receivers.
•Requires low supply current
8mA(typically)
16. RS232
Devices which uses serial cables for
their communication are split into 2
categories
DTE(data transmission encrypt)
DCE
A “space” logic 0 will be between
+3v&+25v
A “mark” logic 1 will be between -
3v&-25v
The region between +3v&-3V is
undefined.
18. LCD
Liquid Crystal display.
To send any command
to the LCD make that
RS=0 for data make
RS=1.
Then send a high to
low pulse to the E pin
to enable the Latch of
the LCD.
21. can protocol is multi master broad cast serial bus.
Message based protocol.
Can protocol is used in automotive& auto mobiles.
Low baud rates even at the higher distance.
Efficient error detection& protection management.
Flex CAN (an alternate implementation).
Flex RAY (a possible future direction)
23. RESULT
• The experimental results confirm the excellent
performance and robustness of the CAN protocol
when used in industrial applications. The main
advantages can be summarized as: reduced cabling
(by the use of several instruments over the same bus),
error detection capabilities, high immunity to external
noise signals (present in industrial processes),
robustness, capability to solve bus access collisions
without any retransmission requirements, distributed
control and hot-swapability…
24. FUTURESCOPE
• The CAN bus may be used in vehicles to connect
engine control unit and transmission, or (on a
different bus) to connect the door locks, climate
control, seat control, etc. Today, almost every new
passenger car manufactured in Europe is equipped
with at least one CAN network. Also used in other
types of vehicles, from trains to ships, as well as
in industrial controls, CAN is one of the most
dominating bus protocols – maybe even the
leading serial bus system worldwide.
25. CONCLUSION
This project can protocol implementation for data
communication has been successfully designed and
tested. Can protocol implementation has many
advantages and it can be used in various functions
such as data communication in a very secured
manner and is also very useful in private messages
and also used in various government
applications…………