SlideShare a Scribd company logo
1
A
PRESENTATION
ON
EMBEDDED SYSTEMS
CONTENTS
2
 ABOUT THE COMPANY
 ABOUT THE EMBEDDED SYSTEMS
 EXAMPLES OF EMBEDDED SYSTEMS
 DESCRIPTION OF SOFTWARES
 INTRODUCTION OF PROJECT
 WORKING OF PROJECT
 CODING OF PROJECT
ABOUT THE COMPANY
3
 It is an autonomous body of the Government of Rajasthan under the Department of
Technical Education.
 Foundation stone of CEG was laid down on 8th December 2006 at Jaipur.
 Rajasthan is the second state that is running this program after the highly acclaimed
and successful program "Jawahar Knowledge Centre" in Andhra Pradesh.
 Provides a conducive environment for creating industry employable IT professionals
by the way of arranging seminars lecturers, vocational trainings and industry relevant
software trainings.
 Provides training in embedded system, C++ , java ,CCNA networking, CCNP, VLSI
Technology, WAB Development etc.
ABOUT EMBEDDED SYSTEMS
4
 Embedded basically reflects the facts that they are an integral part of the system.
 It is a computer system that is built to control one or a few dedicated functions,
and is not designed to be programmed by the end user in the same way that a
desktop computer is.
 Contains processing cores that are either Micro-Controllers or Digital Signal
Processors.
 An embedded system is designed to run on its own without human intervention,
and may be required to respond to events in real time.
EXAMPLES OF EMBEDDED
SYSTEMS
5
KEY COMPONENTS OF EMBEDDED SYSTEMS
6
PROCESSORS:
 It is the central processing unit known as the heart of the embedded
systems.
 It is the hardware that executes the software and brings life to the
embedded system.
 Controls the activities of all the other circuits.
MEMORY:
 Used to store the software that the processor will run.
 Also provides storage for data such as program variables, intermediate
results, status information and any other data generated throughout the
operation.
DESCRIPTION OF SOFTWARE
7
 In this system use KEIL software. The Keil software 8051 development tools can be used by any
level of programmer to get the 8051 microcontroller architecture.
SOFTWARE DEVELOPMENT CYCLE: The Keil µVision project development cycle procedure is as follows:
 Create a project, select the target chip.
 Create source files in C or assembly.
 Build your application with the project manager.
 Correct errors in source files & also test the linked application.
INTRODUCTION OF PROJECT
8
COLLISION AVOIDANCE ROBOT
 A Robot is a mechanical device which performs automated physical tasks,
either according to direct human supervision, a pre-defined program, or a
set of general guidelines using artificial intelligence technique.
What is a Collision Avoidance System?
 A Collision Avoidance System can be defined as a device that detects
possible obstructions in the way of a host vehicle (i.e. the vehicle that has
the system installed in it), and helps in evading a collision.
BLOCK DESCRIPTION OF THE
SYSTEM
9
SENSORS
CONTROL
UNIT
ACTUATOR
SENSORS
10
 This part of the system contains the sensors which perceive the signals
reflected by the objects falling in the path of host vehicle. This is an
important part of the system as based on the signals received the
sensors the system is made to perform some scheduled tasks.
 There are different types of sensors that can be used for the purpose
viz., IR sensors, Radars and even digital cameras.
 The system here, being just a prototype uses two IR sensors with a
range of 1-3m. One sensor is placed in front of the vehicle and one at
the rear end. Based on the signals from these sensors the vehicle will
move.
 The sensors are interfaced with the microcontroller using the sensors
driving IC LM324.
DESCRIPTION OF LM324 IC
11
 The LM324 series consists of four independent, high gain, internally
frequency compensated operational amplifiers which were designed
specifically to operate from a single power supply over a wide range of
voltages.
CONTROL UNIT (8051 µP)
12
 The control unit consists of a microcontroller which receives signals from
sensors, and decides what operation to be performed by the system. The
microcontroller used here is 8051 core.
 The microcontroller here is interfaced with a DC motor whose motion is
controlled on the basis of the signals received from the sensors at the
front and rear of the vehicle.
 It is a low-power, high-performance CMOS 8-bit microcontroller with 4K
bytes of In-System Programmable Flash memory, 128 bytes of RAM, 32
I/O lines, Watchdog timer, two data pointers, two 16-bit timer/counters, a
five-vector two-level interrupt architecture, a full duplex serial port, on-
chip oscillator, and clock circuitry.
PIN DESCRIPTION OF 8051 µP
13
ACTUATORS
14
The actuator used in this system is a DC Motor.
The motor is interfaced with the microcontroller using the motor
driving IC L293D.
This IC has an H-bridge built into it, which allows the motor to be
run in both clockwise and anti-clockwise by changing the polarity.
This motor is responsible for the movement of the vehicle.
The L293D is designed to provide bidirectional drive currents of
up to 600-mA at voltages from 4.5 V to 36 V.
VOLTAGE REGULATORS
15
It is a member of 78xx series of fixed linear voltage regulator ICs. The
voltage source in a circuit may have fluctuations and would not give
the fixed voltage output.
The xx in 78xx indicates the fixed output voltage it is designed to
provide. 7805 provides +5V regulated power supply.
Capacitors of suitable values can be connected at input and output
pins depending upon the respective voltage levels.
These devices can be used with external components to obtain
adjustable voltages and currents.
If adequate heat sinking is provided, they can deliver over 1A output
current.
WORKING OF THE SYSTEM
16
SENSORS
CONTROL UNIT
(µC)
ACTUATORS
(DC MOTOR)
FORWARD
REVERSE
STOP
IF
SFRONT =1
IF
SREAR =1
IF
SFRONT =1
IF
SREAR =1
REVERSE
REVERSEFORWARD
FORWARD
STOP
NO
YES
NO NO
NO
YES YES
YES
WORKING OF PROJECT
17
 As per the flow diagram, the microcontroller receives signals from the sensors placed in
front (SFront) and at the rear end (SRear) of the vehicle. Based on the signals the vehicle is
moved forward and backward.
 If the signal from SFront is high (i.e. this sensor detects the object) then the microcontroller
turns the direction of the motor to make the vehicle move in reverse direction, else the
vehicle will continue moving in the forward direction.
 When signal from SFront is high and the vehicle starts moving back then, the signal from
SRear is checked by the microcontroller. Now if SRear is high then the vehicle stops,
otherwise the vehicle continues moving in reverse direction. This process takes place when
initially the vehicle was moving in the forward direction.
 If initially the vehicle was moving in reverse direction then SRear is checked first and then
SFront is analyzed for similar conditions as explained above.
CODING
18
 $MOD52
 ORG 0000H

 MAIN: MOV P0,#0FFH;
 MOV P1,#0FFH;
 MOV P2,#00H;

 CHECK: MOV C,P1.0;
 JC LINE;
 JNC CHECK;
 LINE: MOV C,P0.1;
 JNC LINE1:
 MOV C,P0.0;
 JC L1;
CONTINUED….
19
 $MOD52
 ORG 0000H

 MAIN: MOV P0,#0FFH;
 MOV P1,#0FFH;
 MOV P2,#00H;

 CHECK: MOV C,P1.0;
 JC LINE;
 JNC CHECK;
 LINE: MOV C,P0.1;
 JNC LINE1:
 MOV C,P0.0;
 JC L1;
CONTINUED….
20
 LINE2: MOV C,P0.2;
 JNC LINE3;
 ACALL LEFT;
 MOV C,P1.0;
 JC LINE;
 SJMP CHECK;

 LINE3: ACALL BACK;
 MOV C,P1.0;
 JC LINE;
 SJMP CHECK;
 FORWARD: MOV C,P0.3;
 JNC TURN;
 MOV P2,#1BH;
 ACALL DELAY;
 MOV P2,#12H;
 ACALL DELAY1;
 RET;

 RIGHT: MOV P2,#18H;
 ACALL DELAY;
 MOV P2,#10H;
 ACALL DELAY1;
 RET;

 LEFT: MOV P2,#03H;
 ACALL DELAY;
 MOV P2,#02H;
 ACALL DELAY1;
 RET;

 BACK: MOV P2,#2DH;
 ACALL DELAY;
 MOV P2,#24H;
 ACALL DELAY1;
 RET;21
 TURN: MOV P2,#2BH;
 ACALL DELAY2;
 MOV P2,#22H;
 ACALL DELAY1;
 SJMP FORWARD;

 DELAY: MOV R0,#77H;
 DELY1: DJNZ R0,DELY1;
 RET;

 DELAY1: MOV R0,#07H;
 DALY1: DJNZ R0,DALY1;
 RET;

 DELAY2: MOV R0,#02H;
 DLY1: MOV R1,#0FFH;
 DLY2: MOV R2,#0FFH;
 DLY3: DJNZ R2,DLY3;
 DJNZ R1,DLY2;
 DJNZ R0,DLY1;
 RET;

 END;
22
PROJECT
23
24

More Related Content

DOC
embedded system report
manish katara
 
PPTX
Embedded system
VishwasJangra
 
PDF
Speed checker on highway using 8051
Rkrishna Mishra
 
PDF
Micro Controller 8051 of Speedo Meter using KEIL Code
Sunil Kumar R
 
PDF
Speed checker for highway
Sumit Sharma
 
PPTX
Wireless Rash Driving Detection System
Kamlesh Mishra
 
PDF
Howto Design a Stepper Motor System Using an 8-bit Freescale microcontroller ...
Ionela
 
PPS
Speed checkers for highways
Rahul Kshirsagar
 
embedded system report
manish katara
 
Embedded system
VishwasJangra
 
Speed checker on highway using 8051
Rkrishna Mishra
 
Micro Controller 8051 of Speedo Meter using KEIL Code
Sunil Kumar R
 
Speed checker for highway
Sumit Sharma
 
Wireless Rash Driving Detection System
Kamlesh Mishra
 
Howto Design a Stepper Motor System Using an 8-bit Freescale microcontroller ...
Ionela
 
Speed checkers for highways
Rahul Kshirsagar
 

What's hot (19)

PPTX
Railway gate controlling using ir & laser
Tushara Chand
 
DOCX
Speed checker for highways
IUIUGU
 
PPT
Automatic railway gate control system
deepraj2085
 
PPTX
Hand Gesture Controlled Wireless Robot
siddhartha muduli
 
PPTX
Microcontroller based automatic engine locking system for drunken drivers
Vinny Chweety
 
DOCX
Alcohol Sensing Alert with Engine Locking Project
DINKAR MALI
 
DOC
Alcohol breath analyzer
Padmakar Mangrule
 
PPTX
Automatized railway gate controller
Aakash Varma
 
PPTX
automatic railway gate control using magnetic sensors
8688830413
 
PPTX
Automatic railway gate control using microcontroller
pukeshwar harmukh
 
DOCX
Synopsis for alcohol detection with vehicle controlling (1)
Pankaj Singh
 
PPT
8259
jemimajerome
 
PDF
8 sem final report print copy (1)
Jha Bhargav
 
DOC
Multi-Function Automatic Move Smart Car for Arduino
Wanita Long
 
PPTX
Automatic railway level crossing gate & slurry management.
Evans Belly
 
PPTX
Alcohol detector
Dhruv Agarwal
 
DOCX
Project report on Vehicle accident and Alcohol sensing alert with Engine Lock...
Hitesh Kumar Singh
 
PDF
Alcohol sensing alert with engine locking project
hemanth prudhvi jidugu
 
DOCX
Final Slot Car Report
Kyle Avery
 
Railway gate controlling using ir & laser
Tushara Chand
 
Speed checker for highways
IUIUGU
 
Automatic railway gate control system
deepraj2085
 
Hand Gesture Controlled Wireless Robot
siddhartha muduli
 
Microcontroller based automatic engine locking system for drunken drivers
Vinny Chweety
 
Alcohol Sensing Alert with Engine Locking Project
DINKAR MALI
 
Alcohol breath analyzer
Padmakar Mangrule
 
Automatized railway gate controller
Aakash Varma
 
automatic railway gate control using magnetic sensors
8688830413
 
Automatic railway gate control using microcontroller
pukeshwar harmukh
 
Synopsis for alcohol detection with vehicle controlling (1)
Pankaj Singh
 
8 sem final report print copy (1)
Jha Bhargav
 
Multi-Function Automatic Move Smart Car for Arduino
Wanita Long
 
Automatic railway level crossing gate & slurry management.
Evans Belly
 
Alcohol detector
Dhruv Agarwal
 
Project report on Vehicle accident and Alcohol sensing alert with Engine Lock...
Hitesh Kumar Singh
 
Alcohol sensing alert with engine locking project
hemanth prudhvi jidugu
 
Final Slot Car Report
Kyle Avery
 
Ad

Similar to Embeded system (20)

PPTX
Embeded system
sanjay joshi
 
PPTX
ppt on embedded system
manish katara
 
PPTX
Embedded system...
Sarvesh Hegde
 
PPTX
Embedded System for begners and good for seminar
Swaraj Nayak
 
PPTX
Wheelchaircontrolledbyheadmotionusingtilt sensorsrishi
Rishik kanth
 
PPTX
Autonomated active safety system
Haren Dodke
 
PDF
final project report_full edit
Sayam Roy
 
PPTX
Embedded systems presentation
Surender Singh
 
PPT
Line following robot - Mini project
Amit Upadhye
 
PPT
Varsha patil AISSMS IOIT Pune mca te pu book
Varsha Patil
 
PPTX
Fire Fighter Robot with Night Vision Camera (1).pptx
SyedMohiuddin62
 
PDF
Line following robot
Abhishek Patil
 
DOCX
Density based traffic light controlling (2)
hardik1240
 
PPTX
Obstacle Avoidance Robotic Vehicle
Edgefxkits & Solutions
 
PPTX
Eye blink sensing
Archana Rallapalli
 
PDF
Automatic collision detection for an autonomous robot using proximity sensing...
eSAT Publishing House
 
PPTX
Robocop final year project presentation by Abhimanyu Kumar
Abhimanyu Kumar
 
PPTX
Unmanned Ground Vehicle
Shashank Srivastava
 
PPTX
Tracking and breaking system for vehicles
kakanikings
 
PPTX
Can based collision aviodance system for automobiles
Purnima Kurella
 
Embeded system
sanjay joshi
 
ppt on embedded system
manish katara
 
Embedded system...
Sarvesh Hegde
 
Embedded System for begners and good for seminar
Swaraj Nayak
 
Wheelchaircontrolledbyheadmotionusingtilt sensorsrishi
Rishik kanth
 
Autonomated active safety system
Haren Dodke
 
final project report_full edit
Sayam Roy
 
Embedded systems presentation
Surender Singh
 
Line following robot - Mini project
Amit Upadhye
 
Varsha patil AISSMS IOIT Pune mca te pu book
Varsha Patil
 
Fire Fighter Robot with Night Vision Camera (1).pptx
SyedMohiuddin62
 
Line following robot
Abhishek Patil
 
Density based traffic light controlling (2)
hardik1240
 
Obstacle Avoidance Robotic Vehicle
Edgefxkits & Solutions
 
Eye blink sensing
Archana Rallapalli
 
Automatic collision detection for an autonomous robot using proximity sensing...
eSAT Publishing House
 
Robocop final year project presentation by Abhimanyu Kumar
Abhimanyu Kumar
 
Unmanned Ground Vehicle
Shashank Srivastava
 
Tracking and breaking system for vehicles
kakanikings
 
Can based collision aviodance system for automobiles
Purnima Kurella
 
Ad

More from sanjay joshi (20)

PPTX
Ccna security
sanjay joshi
 
PPTX
Array in c language
sanjay joshi
 
PPTX
Introduction to c programming language
sanjay joshi
 
PPTX
Cloud computing
sanjay joshi
 
PPT
Static and dynamic polymorphism
sanjay joshi
 
PPTX
Distributed database
sanjay joshi
 
PPTX
Vb and asp.net
sanjay joshi
 
PPTX
Angular js
sanjay joshi
 
PPTX
introduction to c programming language
sanjay joshi
 
PPTX
Oops in php
sanjay joshi
 
PPTX
Cascading Style Sheets
sanjay joshi
 
PPTX
Css3 responsive
sanjay joshi
 
PPT
Html ppt
sanjay joshi
 
PPT
Java script
sanjay joshi
 
PPT
Data Structure And Queue
sanjay joshi
 
PPTX
Introduction to java
sanjay joshi
 
PPT
Static and dynamic polymorphism
sanjay joshi
 
PPTX
Angularjs
sanjay joshi
 
PPT
Visual basic
sanjay joshi
 
PPTX
Distributed database
sanjay joshi
 
Ccna security
sanjay joshi
 
Array in c language
sanjay joshi
 
Introduction to c programming language
sanjay joshi
 
Cloud computing
sanjay joshi
 
Static and dynamic polymorphism
sanjay joshi
 
Distributed database
sanjay joshi
 
Vb and asp.net
sanjay joshi
 
Angular js
sanjay joshi
 
introduction to c programming language
sanjay joshi
 
Oops in php
sanjay joshi
 
Cascading Style Sheets
sanjay joshi
 
Css3 responsive
sanjay joshi
 
Html ppt
sanjay joshi
 
Java script
sanjay joshi
 
Data Structure And Queue
sanjay joshi
 
Introduction to java
sanjay joshi
 
Static and dynamic polymorphism
sanjay joshi
 
Angularjs
sanjay joshi
 
Visual basic
sanjay joshi
 
Distributed database
sanjay joshi
 

Recently uploaded (20)

PPTX
A Smarter Way to Think About Choosing a College
Cyndy McDonald
 
PPTX
HISTORY COLLECTION FOR PSYCHIATRIC PATIENTS.pptx
PoojaSen20
 
PPTX
Care of patients with elImination deviation.pptx
AneetaSharma15
 
PDF
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
DOCX
Unit 5: Speech-language and swallowing disorders
JELLA VISHNU DURGA PRASAD
 
PPTX
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
Celine George
 
PPTX
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
PDF
Antianginal agents, Definition, Classification, MOA.pdf
Prerana Jadhav
 
PPTX
Measures_of_location_-_Averages_and__percentiles_by_DR SURYA K.pptx
Surya Ganesh
 
PDF
Virat Kohli- the Pride of Indian cricket
kushpar147
 
PPTX
Sonnet 130_ My Mistress’ Eyes Are Nothing Like the Sun By William Shakespear...
DhatriParmar
 
PPTX
CARE OF UNCONSCIOUS PATIENTS .pptx
AneetaSharma15
 
PDF
The Minister of Tourism, Culture and Creative Arts, Abla Dzifa Gomashie has e...
nservice241
 
PPTX
Artificial Intelligence in Gastroentrology: Advancements and Future Presprec...
AyanHossain
 
PDF
The-Invisible-Living-World-Beyond-Our-Naked-Eye chapter 2.pdf/8th science cur...
Sandeep Swamy
 
PPTX
20250924 Navigating the Future: How to tell the difference between an emergen...
McGuinness Institute
 
PPTX
How to Apply for a Job From Odoo 18 Website
Celine George
 
PDF
Health-The-Ultimate-Treasure (1).pdf/8th class science curiosity /samyans edu...
Sandeep Swamy
 
PPTX
PROTIEN ENERGY MALNUTRITION: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
PDF
BÀI TẬP TEST BỔ TRỢ THEO TỪNG CHỦ ĐỀ CỦA TỪNG UNIT KÈM BÀI TẬP NGHE - TIẾNG A...
Nguyen Thanh Tu Collection
 
A Smarter Way to Think About Choosing a College
Cyndy McDonald
 
HISTORY COLLECTION FOR PSYCHIATRIC PATIENTS.pptx
PoojaSen20
 
Care of patients with elImination deviation.pptx
AneetaSharma15
 
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
Unit 5: Speech-language and swallowing disorders
JELLA VISHNU DURGA PRASAD
 
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
Celine George
 
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
Antianginal agents, Definition, Classification, MOA.pdf
Prerana Jadhav
 
Measures_of_location_-_Averages_and__percentiles_by_DR SURYA K.pptx
Surya Ganesh
 
Virat Kohli- the Pride of Indian cricket
kushpar147
 
Sonnet 130_ My Mistress’ Eyes Are Nothing Like the Sun By William Shakespear...
DhatriParmar
 
CARE OF UNCONSCIOUS PATIENTS .pptx
AneetaSharma15
 
The Minister of Tourism, Culture and Creative Arts, Abla Dzifa Gomashie has e...
nservice241
 
Artificial Intelligence in Gastroentrology: Advancements and Future Presprec...
AyanHossain
 
The-Invisible-Living-World-Beyond-Our-Naked-Eye chapter 2.pdf/8th science cur...
Sandeep Swamy
 
20250924 Navigating the Future: How to tell the difference between an emergen...
McGuinness Institute
 
How to Apply for a Job From Odoo 18 Website
Celine George
 
Health-The-Ultimate-Treasure (1).pdf/8th class science curiosity /samyans edu...
Sandeep Swamy
 
PROTIEN ENERGY MALNUTRITION: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
BÀI TẬP TEST BỔ TRỢ THEO TỪNG CHỦ ĐỀ CỦA TỪNG UNIT KÈM BÀI TẬP NGHE - TIẾNG A...
Nguyen Thanh Tu Collection
 

Embeded system

  • 2. CONTENTS 2  ABOUT THE COMPANY  ABOUT THE EMBEDDED SYSTEMS  EXAMPLES OF EMBEDDED SYSTEMS  DESCRIPTION OF SOFTWARES  INTRODUCTION OF PROJECT  WORKING OF PROJECT  CODING OF PROJECT
  • 3. ABOUT THE COMPANY 3  It is an autonomous body of the Government of Rajasthan under the Department of Technical Education.  Foundation stone of CEG was laid down on 8th December 2006 at Jaipur.  Rajasthan is the second state that is running this program after the highly acclaimed and successful program "Jawahar Knowledge Centre" in Andhra Pradesh.  Provides a conducive environment for creating industry employable IT professionals by the way of arranging seminars lecturers, vocational trainings and industry relevant software trainings.  Provides training in embedded system, C++ , java ,CCNA networking, CCNP, VLSI Technology, WAB Development etc.
  • 4. ABOUT EMBEDDED SYSTEMS 4  Embedded basically reflects the facts that they are an integral part of the system.  It is a computer system that is built to control one or a few dedicated functions, and is not designed to be programmed by the end user in the same way that a desktop computer is.  Contains processing cores that are either Micro-Controllers or Digital Signal Processors.  An embedded system is designed to run on its own without human intervention, and may be required to respond to events in real time.
  • 6. KEY COMPONENTS OF EMBEDDED SYSTEMS 6 PROCESSORS:  It is the central processing unit known as the heart of the embedded systems.  It is the hardware that executes the software and brings life to the embedded system.  Controls the activities of all the other circuits. MEMORY:  Used to store the software that the processor will run.  Also provides storage for data such as program variables, intermediate results, status information and any other data generated throughout the operation.
  • 7. DESCRIPTION OF SOFTWARE 7  In this system use KEIL software. The Keil software 8051 development tools can be used by any level of programmer to get the 8051 microcontroller architecture. SOFTWARE DEVELOPMENT CYCLE: The Keil µVision project development cycle procedure is as follows:  Create a project, select the target chip.  Create source files in C or assembly.  Build your application with the project manager.  Correct errors in source files & also test the linked application.
  • 8. INTRODUCTION OF PROJECT 8 COLLISION AVOIDANCE ROBOT  A Robot is a mechanical device which performs automated physical tasks, either according to direct human supervision, a pre-defined program, or a set of general guidelines using artificial intelligence technique. What is a Collision Avoidance System?  A Collision Avoidance System can be defined as a device that detects possible obstructions in the way of a host vehicle (i.e. the vehicle that has the system installed in it), and helps in evading a collision.
  • 9. BLOCK DESCRIPTION OF THE SYSTEM 9 SENSORS CONTROL UNIT ACTUATOR
  • 10. SENSORS 10  This part of the system contains the sensors which perceive the signals reflected by the objects falling in the path of host vehicle. This is an important part of the system as based on the signals received the sensors the system is made to perform some scheduled tasks.  There are different types of sensors that can be used for the purpose viz., IR sensors, Radars and even digital cameras.  The system here, being just a prototype uses two IR sensors with a range of 1-3m. One sensor is placed in front of the vehicle and one at the rear end. Based on the signals from these sensors the vehicle will move.  The sensors are interfaced with the microcontroller using the sensors driving IC LM324.
  • 11. DESCRIPTION OF LM324 IC 11  The LM324 series consists of four independent, high gain, internally frequency compensated operational amplifiers which were designed specifically to operate from a single power supply over a wide range of voltages.
  • 12. CONTROL UNIT (8051 µP) 12  The control unit consists of a microcontroller which receives signals from sensors, and decides what operation to be performed by the system. The microcontroller used here is 8051 core.  The microcontroller here is interfaced with a DC motor whose motion is controlled on the basis of the signals received from the sensors at the front and rear of the vehicle.  It is a low-power, high-performance CMOS 8-bit microcontroller with 4K bytes of In-System Programmable Flash memory, 128 bytes of RAM, 32 I/O lines, Watchdog timer, two data pointers, two 16-bit timer/counters, a five-vector two-level interrupt architecture, a full duplex serial port, on- chip oscillator, and clock circuitry.
  • 13. PIN DESCRIPTION OF 8051 µP 13
  • 14. ACTUATORS 14 The actuator used in this system is a DC Motor. The motor is interfaced with the microcontroller using the motor driving IC L293D. This IC has an H-bridge built into it, which allows the motor to be run in both clockwise and anti-clockwise by changing the polarity. This motor is responsible for the movement of the vehicle. The L293D is designed to provide bidirectional drive currents of up to 600-mA at voltages from 4.5 V to 36 V.
  • 15. VOLTAGE REGULATORS 15 It is a member of 78xx series of fixed linear voltage regulator ICs. The voltage source in a circuit may have fluctuations and would not give the fixed voltage output. The xx in 78xx indicates the fixed output voltage it is designed to provide. 7805 provides +5V regulated power supply. Capacitors of suitable values can be connected at input and output pins depending upon the respective voltage levels. These devices can be used with external components to obtain adjustable voltages and currents. If adequate heat sinking is provided, they can deliver over 1A output current.
  • 16. WORKING OF THE SYSTEM 16 SENSORS CONTROL UNIT (µC) ACTUATORS (DC MOTOR) FORWARD REVERSE STOP IF SFRONT =1 IF SREAR =1 IF SFRONT =1 IF SREAR =1 REVERSE REVERSEFORWARD FORWARD STOP NO YES NO NO NO YES YES YES
  • 17. WORKING OF PROJECT 17  As per the flow diagram, the microcontroller receives signals from the sensors placed in front (SFront) and at the rear end (SRear) of the vehicle. Based on the signals the vehicle is moved forward and backward.  If the signal from SFront is high (i.e. this sensor detects the object) then the microcontroller turns the direction of the motor to make the vehicle move in reverse direction, else the vehicle will continue moving in the forward direction.  When signal from SFront is high and the vehicle starts moving back then, the signal from SRear is checked by the microcontroller. Now if SRear is high then the vehicle stops, otherwise the vehicle continues moving in reverse direction. This process takes place when initially the vehicle was moving in the forward direction.  If initially the vehicle was moving in reverse direction then SRear is checked first and then SFront is analyzed for similar conditions as explained above.
  • 18. CODING 18  $MOD52  ORG 0000H   MAIN: MOV P0,#0FFH;  MOV P1,#0FFH;  MOV P2,#00H;   CHECK: MOV C,P1.0;  JC LINE;  JNC CHECK;  LINE: MOV C,P0.1;  JNC LINE1:  MOV C,P0.0;  JC L1;
  • 19. CONTINUED…. 19  $MOD52  ORG 0000H   MAIN: MOV P0,#0FFH;  MOV P1,#0FFH;  MOV P2,#00H;   CHECK: MOV C,P1.0;  JC LINE;  JNC CHECK;  LINE: MOV C,P0.1;  JNC LINE1:  MOV C,P0.0;  JC L1;
  • 20. CONTINUED…. 20  LINE2: MOV C,P0.2;  JNC LINE3;  ACALL LEFT;  MOV C,P1.0;  JC LINE;  SJMP CHECK;   LINE3: ACALL BACK;  MOV C,P1.0;  JC LINE;  SJMP CHECK;
  • 21.  FORWARD: MOV C,P0.3;  JNC TURN;  MOV P2,#1BH;  ACALL DELAY;  MOV P2,#12H;  ACALL DELAY1;  RET;   RIGHT: MOV P2,#18H;  ACALL DELAY;  MOV P2,#10H;  ACALL DELAY1;  RET;   LEFT: MOV P2,#03H;  ACALL DELAY;  MOV P2,#02H;  ACALL DELAY1;  RET;   BACK: MOV P2,#2DH;  ACALL DELAY;  MOV P2,#24H;  ACALL DELAY1;  RET;21
  • 22.  TURN: MOV P2,#2BH;  ACALL DELAY2;  MOV P2,#22H;  ACALL DELAY1;  SJMP FORWARD;   DELAY: MOV R0,#77H;  DELY1: DJNZ R0,DELY1;  RET;   DELAY1: MOV R0,#07H;  DALY1: DJNZ R0,DALY1;  RET;   DELAY2: MOV R0,#02H;  DLY1: MOV R1,#0FFH;  DLY2: MOV R2,#0FFH;  DLY3: DJNZ R2,DLY3;  DJNZ R1,DLY2;  DJNZ R0,DLY1;  RET;   END; 22
  • 24. 24