can protocol implementation for data communication (2)
DESCRIPTION
can protocolTRANSCRIPT
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
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
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.
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)
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.
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.
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…….
POWER SUPPLY
BLOCK DIAGRAM
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
CAN TRANSEIVERIt 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
AT89S52
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
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)
RS232Devices which uses serial cables for their communication are split into 2 categories DTE(data transmission encrypt) DCEA “space” logic 0 will be between +3v&+25vA “mark” logic 1 will be between -3v&-25vThe region between +3v&-3V is undefined.
INTERFACING B/W RS232 &MC
LCDLiquid 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.
CIRCUIT DIAGRAM
APPLICATIONS
Usage of CAN protocol in vehicles
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)
ADVANTAGES
Wiring complexity is less
Capability to solve bus access
CAN stations can be added and removed easily
Using of twisted pairs make this protocol easy.
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…
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.
CONCLUSIONThis 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…………