Anda di halaman 1dari 12

Submitted By: S.Deepak Girish Kumar Bellenavar Sagar.N.

Simha Narender Singh

Project Guide: Sudha Thimmaiah

OBJECTIVE:
The Main Aim of the project is to Implement the

various modules for automotive applications


And facilitate communication between them

using the CAN Protocol without a host computer.

CAN Bus

CAN TX/RX

CAN TX/RX

Temperature Sensor PIC-S (Node-1) Pressure Switch PIC-M (Node-2)

LCD

Buzzer

Relay

MAX232 Driver Circuit

Fuel Level

Air Bag Indicator

GSM Modem

Various Hardware modules used are: PIC Microcontrollers (Master and Slave) CAN Transceivers with CAN Bus Air Bag Sensors Relay TTL-RS232 Driver Circuit GSM Modem Temperature sensor Fuel Sensor Buzzer LCD

Software Modules used: CCS Compiler 4.0v This is a C compiler in which we build and compile the code. Boot Loader This is the program used for burning the code on to the hardware for interfacing. MP LAB 7.4v This provides a GUI platform to the user to handle the various Hex Files.

ADVANTAGES: Saving the drivers head from hitting the steering wheel by releasing Air bag in case of head on collision. Intimating about the accident to the owner. Monitoring the Fuel level in the car, and informing the driver about the status. Displaying the data of the typical sensors on a single dashboard. Decreasing the Wiring Harness by implementing the CAN protocol. Since PIC microcontrollers are used, system consumes lesser power.

Applications:
Mainly in the field of Automotive applications Industrial Automation and control

Medical Applications
Military Equipment Airplane and Ship Embedded systems

CAN bus is a vehicle bus standard designed to allow microcontrollers and devices to communicate with each other within a vehicle without a host computer. Development of CAN bus started in 1983 at Robert Bosch GmbH.

It was designed specifically for

automotive applications. Various electronic units can be interfaced to the CAN bus which can communicate with each other. It is a message based protocol.

Any node can initiate a message. The message is broadcast to all other stations.

Each message contains an ID that is used to assign a priority to the message. When more than one nodes transmit at the same time the one with the higher priority wins using a non destructive arbitration system CSMA with collision detection.
Normally up to 64 nodes can be connected. The supported bit rate decreases as the length of the bus increases.

Each node requires a 1)Host processor: to which the modules are connected. 2) CAN controller: Receiving: the CAN controller stores received bits Serially from the bus until an entire message is available, which can then be fetched by the host processor (usually after the CAN controller has triggered an interrupt). Sending: the host processor stores its transmit messages to a CAN controller, which transmits the bits serially onto the bus. 3) Transceiver Receiving: it adapts signal levels from the bus to levels that the CAN controller expects and has protective circuitry that protects the CAN controller. Transmitting: it converts the transmit-bit signal received from the CAN controller into a signal that is sent onto the bus.

CANH and CANL drive the CAN

differential bus. A logical 0 on the TXD pin drives the CAN bus into dominant mode (typically 1.2 V) and a logical 1 on the TXD pin drives the CAN bus into recessive mode(0 V). A dominant state initiated by another CAN node will override a recessive state on the CAN bus and is said to be of higher priority. The Rs pin is used to select high speed mode by biasing it with appropriate voltage.

A CAN system is usually closed, and does not need to account for system security, presenting data in a user interface, or monitoring network logins or sessions. Hence only layers 1and 2, Physical and Data Link, are included.
The physical layer governs the connection between the nodes in a

network, and the actual transmission of electrical impulses across a copper wire, coax or fiber optic cable, or wireless signal. The data link layer builds data framesor packetsto hold data and control information. This control information is used to identify frames, determine access to the bus, and to detect errors.

Anda mungkin juga menyukai