Controller Area Network Project over RS485 protocol


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.

  1. Primarily Design
  2. Embedded System
  3. 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.


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
Download Everything Related to the Project (VB code, seminar report, circuitry diagram etc) here:
Password : betaengineers.net

Share on Google Plus

About Unknown

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.

0 comments:

Post a Comment

Thanks for your Valuable comment