Embedded system


Published on

Published in: Education
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Embedded system

  1. 1. APREENTATIONonEmbedded SystemBY:-VISHWAS JANGRA5909407ECE(7TH SEM)
  2. 2. EMBEX ProfileTrainingEmbedded TrainingVLSI TrainingPLC & SCADATrainingProject TrainingIndustrial TrainingProductsTraining KitsProjectBoardsDevelopmentKitsConsumerProductsServicesCircuit DesignPCB DesignFirmwareDevelopmentEmbeddedTesting
  3. 3. Embedded systemAn embedded system is a computer systemdesigned for specific task .It is a combination ofhardware and software
  4. 4. Why a microcontroller ?A microcontroller is a single silicon chip withmemory and all Input/Output peripherals on it.Hence a microcontroller is also popularlyknown as a single chip computer.
  5. 5. Difference between MicroProcessorand MicroController
  6. 6. Features of microcontrollerNormally, a single microcomputer has the following features :Arithmetic and logic unitMemory for storing programEEPROM for nonvolatile data storageRAM for storing variables and special function registersInput/output ports .Timers and countersAnalog to digital converter Circuits for reset, power up,serial programming, debugging Instruction decoder and atiming and control unit Serial communication portExpanded interrupt handling capabilities
  7. 7. PIN diagram Of 8051
  8. 8. SoftwareVarious software used during our training are :-Keil 3ProteusFlash magicAVR StudioKeil 4Orcad
  9. 9. KEILU.S. companyKeil is first C compiler designed for the 8051.Convert a High Level Language to object code.A cross compiler is similar to the compilers but wewrite a program for the target processor on the hostprocessor.Keil is a German based Software developmentcompany. It provides several development tools like• IDE (Integrated Development environment)• Project Manager• Simulator• Debugger• C Cross Compiler , Cross Assembler, Locator/Linker
  10. 10. ProteusBasically a simulation softwareUsed to check the feasibility of the hardware and software.In Proteus we design the hardware as per ourrequirement and use the software for simulation to obtainthe desired result.If the simulation doesnt works then we check forvarious options which should be used for running the projectproperly.
  11. 11. FlashmagicFlash magic is used to burn the program in themicrocontroller using communication kit.we use the serial cable to burn the program inmicrocontroller by setting up specified baud rate.Baud rate stands for number of bits transferred byserial cable per second . This serial cable is connectedto controller through a DB9 Connecter.
  12. 12. OrCADOrCAD is a suite of tools from Cadence for the designand layout of printed circuit boards (PCBs). We arecurrently using version 9.2 of the OrCAD suite.OrCAD consists of two tools.1) Capture is used for design entry in schematic form.2) Layout is a tool for designing the physical layout ofcomponents and circuits on a PCB.
  13. 13. Burner circuit of 8051
  14. 14. InterfacingsVarious interfacing done during our training1) LED Interfacing2) LCD Interfacing3) Seven segment Interfacing4) LDR (Light Dependent Resistor)5) MOC(Motorola Opto Coupler)6) TSOP(Thin Small Outline Package)7) Relay Interfacing8) Buzzer interfacing
  16. 16. Led Interfacing
  17. 17. MY PROJECT ON EMBEDDEDline follower robot
  18. 18. ROBOTICSA Robot is a mechanicaldevice which performsautomated physical tasks,either according to directhuman supervision, a pre-defined program, or a set ofgeneral guidelines usingartificial intelligencetechniques.
  19. 19. Introduction:It is a robot which traces or follows a specific path .The principleof the line follower is based on sensing the background surface bymaking use of IR sensor.Basically IR sensor takes input by detecting the reflectionof the IR rays from the surface and accordingly gives its output tothe motors. The output of the sensors are not directly fed to themotors instead a L293D IC is used in between the sensors outputand motors input.
  20. 20. COMPONENTS OF LINE FOLLOWER8051 MICROCONTROLLER(P89V51RD2BN)IR SensorIC LM 324 (Comparator)IC L293D (Motor Driver)IC 7805 (Voltage regulator)1 Kohm resistor10 kohm resister220 ohm resisterVariable resistorBattery(6v)
  21. 21. LED2 dc gear motorsWheelsCaster wheelPCBChasisConnecting wires
  22. 22. IR Sensors:Sensors are basically electronic deviceswhich are used to sense the IR changes that occur in theirsurroundings. The change may be in color, temperature,moisture, sound, heat etc. They sense the change and workaccordingly. In IR sensor there is emitter and detector.Emitter emits the IR rays and detector detects it.
  23. 23. LM324LM324 is a 14pin ICFour independent op-amps compensatedin a single package.Compare difference between input terminals.Operated by a single power supply.They can be used as amplifiers,comparators etc.
  24. 24. MOTOR DRIVER IC (L293D)L293D is a 16 pin ICIt is a dual H-bridge motor driver IC.One H-bridge is capable to drive a dc motorin bidirection.L293D IC is a current enhancing IC as theoutput from the sensor is not able to drivemotors itself so L293D is used for thispurpose. having two enables pins whichshould always be remain high to enable boththe H-bridges.
  25. 25. Intrfacing of DC motor
  26. 26. #INCLUDE<REG51.H>SBIT M1=P2^0;SBIT M2=P2^1;SBIT M3=P2^2;SBIT M4=P2^3;VOID DELAY(INT TIME){INT I,J;FOR(I=0;I<=TIME;I++)FOR(J=0;J<=1275;J++);}VOID MAIN(){WHILE(1){M1=1;M2=0;M3=0;M4=1; // CLOCKWISEDELAY(100);M1=0;M2=1;M3=1;M4=0; // ANTICLOCKWISEDELAY(100);}}Program for DC motor
  27. 27. IR Transmitter-Receiver circuitusing comparator IC 324
  28. 28. Working-Block diagram of working of line follower
  29. 29. Design on proteus
  30. 30. C-code for line follower#include<reg51.h>sbit in1=P0^0; // Left Motorsbit in2=P0^1;sbit in3=P0^3; // Right Motorsbit in4=P0^4;sbit en1=P0^2; // Enable for Left Motorsbit en2=P0^5; // Enable for Right Motorsbit t1=P1^0; // Left Sensorsbit t2=P1^1; // Centre Sensorsbit t3=P1^2; // Right Sensorvoid main(){t1=1;t2=1;t3=1;en1=0;en2=0;if(t1==1 && t2==0 && t3==1){en1=1; // Left Motorin1=0;in2=1;
  31. 31. en2=1; // Right Motorin3=0;in4=1;}if(t1==0){en1=0; // Left Motorin1=0;in2=1;en2=1; // Right Motorin3=0;in4=1;}if(t3==0){en1=1; // Left Motorin1=0;in2=1;en2=0; // Right Motorin3=0;in4=1;}}
  32. 32. 1) Being on a line…The simplest case is when both sensorsare above a guideline and a robotfollows it going straight on. Being on lineWORKING
  33. 33. 2) Loosing a line…Approaching a curve, a right sensorlooses contact with a line. The robotunclutches its left engine, thereby itbegins to turn left to return to the line.Loosing a line
  34. 34. Future scope inEMBEDDED SYSTEMDue to their compact size, low cost and simple designaspects embedded systems are very popular intohuman lives and have become indispensable. Theyare found everywhere from kitchen ware to spacecraft.
  35. 35. REFERENCEShttp://www.ingeniouslabz.com/e.bmphttp://www.cadence.com/products/orcad/pages/default.aspxhttp://www.engineersgarage.com/microcontroller/8051projects/digital-clock-AT89C51-circuithttp:/electrofriends.com/articles/electronics/microcontroller-electronics-articles/8051- 8951/interfacing-7segment- display-using 7447-decoder/