Presentation is loading. Please wait.

Presentation is loading. Please wait.

Under the Guidance of Submitted by

Similar presentations


Presentation on theme: "Under the Guidance of Submitted by"— Presentation transcript:

1 Under the Guidance of Submitted by
Project Title Under the Guidance of Submitted by MODERN VEHICLE SYSTEM MANAGEMENT IN SEMI CAN, CONTROL AREA NETWORK

2 contents Introduction Problem definition Block diagram Power supply
Microcontroller Technical specifications – hardware requirements Keypad Relay Buzzer

3 Schematic & Working of the project
Software requirements Applications Results Buzzer

4 INTRODUCTION The project describes a security system consisting of a keypad to enter the password. If the password is correct the load will be accessed. If any wrong password is entered to access the load, then the user is intimated by making buzzer ON.

5 PROBLEM DEFINITION In automobile, a modern one containing tens of microcontrollers. As their number increased the communication between them became necessary. The serial solution was preferred and a lot of serial buses and protocols were developed optimizing different parameters the communication Several examples are: RS232, LIN, SPI, CAN and so on

6 Block Diagram

7 POWER SUPPLY Bridge rectifier 5v Regulator 230 V AC 50 Hz 5V DC
Filter(470µf) 12V step down transformer

8 It is a smaller computer Has on-chip RAM, ROM, I/O ports...
MICROCONTROLLER It is a smaller computer Has on-chip RAM, ROM, I/O ports... RAM ROM I/O Port Timer Serial COM Port Microcontroller CPU A single chip

9 INTERNAL STRUCTURE OF A MICRO CONTROLLER-AT89S52/51
CPU On-chip RAM On-chip ROM for program code 4 I/O Ports Timer 0 Serial Port OSC Interrupt Control External interrupts Timer 1 Timer/Counter Bus Control TxD RxD P0 P1 P2 P3 Address/Data Counter Inputs

10 Features of AT89S51/52 Compatible with MCS®-51 Products
8K Bytes of In-System Programmable (ISP) Flash Memory Endurance: 10,000 Write/Erase Cycles 4.0V to 5.5V Operating Range Fully Static Operation: 0 Hz to 33 MHz 256 x 8-bit Internal RAM 32 Programmable I/O Lines Three 16-bit Timer/Counters Eight Interrupt Sources Full Duplex UART Serial Channel Interrupt Recovery from Power-down Mode Watchdog Timer Dual Data Pointer

11 Pin Description

12 RELAY IT IS A ELECTRO MAGNETIC SWITCH
USED TO CONTROL THE ELECTRICAL DEVICES COPPER CORE MAGNETIC FLUX PLAYS MAIN ROLE HERE

13 The relay's switch connections are usually labeled COM, NC and NO:
COM = Common, always connect to this; it is the moving part of the itch. NC = Normally Closed, COM is connected to this when the relay coil is off. NO = Normally Open, COM is connected to this when the relay coil is on

14 BUZZER Piezo Buzzer This buzzer is an piezo type audio signaling device, which has a piezo element and a oscillating circuit inside which oscillates the piezo brass base plate, which when given voltage difference produces sound of a predefined frequency. Features These high reliability piezo buzzers are applicable to general electronics equipment. Compact, pin terminal type Piezo buzzer with 4 KHz output. Pin type terminal construction enables direct mounting onto printed circuit boards.

15 BC547 (NPN –Transistor) The BC547 transistor is an NPN Epitaxial Silicon Transistor. It is used in general-purpose switching and amplification BC847/BC547 series 45 V, 100 mA NPN general-purpose transistors. The ratio of two currents (Ic/Ib) is called the DC Current Gain of the device and is given the symbol of hfe or nowadays Beta, (β).

16 The current gain from the emitter to the collector terminal, Ic/Ie, is called Alpha, (α), and is a function of the transistor itself

17 LIQUID CRYSTAL DISPLAY (LCD)
Most common LCDs connected to the microcontrollers are 16x2 and 20x2 displays. This means 16 characters per line by 2 lines and 20 characters per line by 2 lines, respectively. The standard is referred to as HD44780U, which refers to the controller chip which receives data from an external source (and communicates directly with the LCD.

18 If an 8-bit data bus is used the LCD will require 11 data lines
LCD BACKGROUND If an 8-bit data bus is used the LCD will require 11 data lines (3 control lines plus the 8 lines for the data bus) The three control lines are referred to as EN, RS, and RW EN=Enable (used to tell the LCD that you are sending it data) RS=Register Select (When RS is low (0), data is treated as a command) (When RS is High(1), data being sent is text data ) R/W=Read/Write (When RW is low (0), the data written to the LCD) (When RW is low (0), the data reading to the LCD)

19 Working of project In this project CAN (Control Area Network) generally used in cars, automobiles & industries. As the name implies control area N/W means that Microcontroller are connected in a N/W fashion like computers so that it can exchange data (or) information among themselves here we are using 3 Microcontrollers connected in a N/W fashion by a 2 pairs of wire connected to pin 10 & 11(i.e., 3.0, 3.1) of port 3 of each Microcontroller (i.e., Rx & Tx) pins for the transformation & reception of information among themselves with the help of RS232 serial communication using 2 pairs of wire. Where first Microcontroller is interface to 3x4 keypad which is connected to I/O ports of 1st Microcontroller and second Microcontroller is interfaced to an LCD to display Received data (or) information from first Microcontroller.

20 An LCD which we are using is 16x2 which means it can display 16 characters and two lines. For each Microcontroller separate programs are written in C & Hex files it interface Microcontroller’s with keypad ,LCD and Transistor to drive the load. When we apply power to the ckt. The LCD displays a message “WAITING” which means it is waiting for some information when 1 is pressed from keyboard then LCD displays 1 & when 2 is pressed it displays 2 and same for 3 but when 4 is pressed from keyboard it 4 at the display and also transfer the data to third Microcontroller as per the written program through serial communication and make transistor to conduct and make Relay in to contact and the Bulb will glow. If we enter wrong password then it will send that data to 3 microcontroller. So that buzzer will sound.

21 SOFTWARE Requirements
Keil an ARM Company makes C compilers, macro assemblers, real-time kernels, debuggers, simulators, integrated environments, evaluation boards, and emulators for ARM7/ARM9/Cortex-M3, XC16x/C16x/ST10, 251, and 8051 MCU families. Compilers are programs used to convert a High Level Language to object code. Desktop compilers produce an output object code for the underlying microprocessor, but not for other microprocessors.

22 i.e the programs written in one of the HLL like ‘C’ will compile the code to run on the system for a particular processor like x86 (underlying microprocessor in the computer). For example compilers for Dos platform is different from the Compilers for Unix platform  So if one wants to define a compiler then compiler is a program that translates source code into object code.

23 BIBILOGRAPHY “The Microcontroller and Embedded systems” by Muhammad Ali Mazidi and Janice Gillispie Mazidi , Pearson Education. ATMEL 89S52 Data Sheets.

24 THANKYOU


Download ppt "Under the Guidance of Submitted by"

Similar presentations


Ads by Google