SlideShare uma empresa Scribd logo
1 de 20
MICROCONTROLLER
AND
EMBEDDED
SYSTEM
CONTENTS
1. EMBEDDED SYSTEM & CHARACTERSTICES
2. INTEGRATED CIRCUIT
3. FULL & SEMI CUSTOM DESIGN
4. PROGRAMABLE LOGIC DEVICE
5. DESIGN CHALLENGES IN EMBEDDED SYSTEM
6. EMBEDDED OPERATING SYSTEM
7. MICROCONTROLLERS & 8051
MICROCONTROLLER
8. SEVEN SEGMENT DISPLAY & KEYPAD
INTERFACING
9. LCD INTERFACING
10. PROJECT - ELECTRONIC CODE LOCK WITH
USER -DEFINED PASSWORD
Integrated Circuit
Processors are implemented on an integrated
circuit (IC). IC, often called as chip consists of
a set of transistors interconnected with other
devices. There are different processes to
fabricate semiconductors namely n-MOS, p-MOS
and C-MOS.
The most widely used process is CMOS
(complementary metal oxide semiconductor).
Semiconductors devices are built with
different layers. The bottom-most layers are of
transistors.
—
—
EXAMPLES OF EMBEDDED SYSTEM
•Automated tiller machines (ATMS).
•Cellular telephones and telephonic switches.
•Computer printers, Copiers.
•Disk drives (floppy disk drive and hard disk drive)
•Engine controllers and antilock brake controllers for automobiles.
•Home automation products like thermostat, air conditioners
sprinkles and security monitoring system.
•House hold appliances including microwave ovens, washing
machines, TV sets DVD players/recorders.
•Medical equipment.
•Measurement equipment such as digital storage oscilloscopes,
logic analyzers and spectrum analyzers.
•Multimedia appliances: internet radio receivers, TV set top boxes.
•Stationary video game controllers.
MICROPROCESSOR
A microprocessor is a general-purpose digital computer central
processing unit (CPU). Although popularly known as a “computer on
a chip” is in no sense a complete digital computer. The block
diagram of a microprocessor CPU is shown, which contains an
arithmetic and logical unit (ALU), a program counter (PC), a stack
pointer (SP),some working registers, a clock timing circuit, and
interrupt circuits
Data Bus

CPU
Serial COM
Port
RAM

ROM

I/O Port

Timer
MICROCONTROLLERS

A microcontroller is an economical computer-on-a-chip built for dealing
with specific tasks, such as displaying or receiving information through
LEDs or remote controlled devices. The most commonly used set of
microcontrollers belong to 8051 Family. 8051 Microcontrollers
continue to remain a preferred choice for a vast community of
hobbyists and professionals. Through 8051, the world became witness
to the most revolutionary set of microcontrollers.
MICROCONTROLLER 8051
Microcontroller (also MCU or µC) is a computer-on-a-chip. It is
a type of microprocessor emphasizing high integration, low
power consumption, self-sufficiency and cost-effectiveness, in
contrast to a general-purpose microprocessor (the kind used in
a PC). In addition to the usual arithmetic and logic elements of
a general purpose microprocessor, the microcontroller typically
integrates additional elements such as read-write memory for
data storage, read-only memory, such as flash for code storage,
EEPROM for permanent data storage, peripheral devices, and
input/output interfaces. At clock speeds of as little as a few
MHz or even lower, microcontrollers often operate at very low
speed compared to modern day microprocessors, but this is
adequate for typical applications. They consume relatively little
power .
Special features of 8051 are:
•8-bit data bus
•16-bit address bus
•32 general purpose registers each of 8 bits
•16 bit timers (usually 2, but may have more, or less).
•3 internal and 2 external interrupts.
•Bit as well as byte addressable RAM area of 16 bytes.
•Four 8-bit ports, (short models have two 8-bit ports).
16-bit program counter and data pointer
REGULATED POWER SUPPLY

Transformer
circuit symbol

Transformer
Transformers convert AC electricity from one voltage to another with little
loss of power. Transformers work only with AC and this is one of the reasons
why mains electricity is AC.
Step-up transformers increase voltage, step-down transformers reduce
voltage. Most power supplies use a step-down transformer to reduce the
dangerously high mains voltage (230V in UK) to a safer low voltage.
The input coil is called the primary and the output coil is called the
secondary. There is no electrical connection between the two coils, instead
they are linked by an alternating magnetic field created in the soft-iron core
of the transformer. The two lines in the middle of the circuit symbol represent
the core.
Transformers waste very little power so the power out is (almost) equal to the
power in. Note that as voltage is stepped down current is stepped up.
STRUCTURE OF POWER SUPPLY
There are many types of power supply. Most are designed to convert
high voltage AC mains electricity to a suitable low voltage supply for
electronics circuits and other devices. A power supply can by broken
down into a series of blocks, each of which performs a particular
function.
For example a 5V regulated supply:

Each of the blocks is described in more detail below:
Transformer - steps down high voltage AC mains to low voltage AC.
Rectifier - converts AC to DC, but the DC output is varying.
Smoothing - smoothens the DC from varying greatly to a small ripple.
Regulator - eliminates ripple by setting DC output to a fixed voltage.
SEVEN SEGMENT DISPLAY

A seven segment display is the most basic electronic display
device that can display digits from 0-9. They find wide
application in devices that display numeric information like digital
clocks, radio, microwave ovens, electronic meters etc. The most
common configuration has an array of eight LEDs arranged in a
special pattern to display these digits. They are laid out as a
squared-off figure ‘8’. Every LED is assigned a name from 'a' to
'h' and is identified by its name. Seven LEDs 'a' to 'g' are used to
display the numerals while dot/decimal eighth LED 'h' is used to
display them.
LCD INTERFACING

The most commonly used Character based LCDs are based on
Hitachi's HD44780 controller or other which are compatible
with HD44580. In this tutorial, we will discuss about character
based LCDs, their interfacing with various
microcontrollers, various interfaces (8-bit/4bit), programming, special stuff and tricks you can do with
these simple looking LCDs .
PROJECT
Security code lock
with user defined
password using 8051
microcontroller
(AT89C51)
INTRODUCTION
WORKING
A 4x3 matrix keypad and a 16x2 LCD have been used here. Keypad
and LCD are very commonly used input & output devices,
respectively. A four digit predefined password needs to be specified
the user. This password is stored in the system.
While unlocking, if the entered password from keypad matches with
the stored password, then the lock opens and a message is
displayed on LCD. Also an output pin is made high to be used for
further purpose.
The connections in the circuit are as following: port P2 of
microcontroller AT89C51 is used as data input port which is
connected to data pins (7-14) of LCD. P1^0, P1^1 and P1^2 pins
of microcontroller are connected to control pins RS, RW and EN of
LCD. Port P0 is used to take input from keypad. P0^7 has been
used as lock output pin of controller.
As the program starts, string ‘Enter Password’ is displayed on
LCD. The keypad is scanned for pressed digits one by one.
Every time, row and column of the key pressed is detected and
a ‘*’ is displayed on LCD corresponding to the entered
number. After the four digits are entered, the user is prompted
to ‘Confirm Password’ and again the input is taken through LCD.
If the passwords do not match, a message is displayed to
indicate ‘Wrong Password’; otherwise the user is prompted to
unlock the device.
To unlock, user needs to ‘Enter Password’ through keypad. Again the
keypad is scanned for pressed keys and corresponding digits are
identified. The passkey is displayed as ‘****’ on the LCD screen.
After the four digits are entered, they are compared with the pre-set
password. If all the four digits match with set password, LCD
displays ‘Lock Open’ and the lock output pin goes high. If the
security code is wrong, ‘Wrong Password’ is sent to be displayed on
LCD. The system gets locked if more than three attempts are made
with wrong password to open the electronic lock. The system needs
to be reset in such a case.
CIRCUIT DIAGRAM
THANKS

Mais conteúdo relacionado

Mais procurados

Embedded and Robotics System
Embedded and Robotics SystemEmbedded and Robotics System
Embedded and Robotics SystemRK Saini
 
Magnetic door lock using arduino
Magnetic door lock using arduinoMagnetic door lock using arduino
Magnetic door lock using arduinoSravanthi Sinha
 
Electronic code lock device
Electronic code lock deviceElectronic code lock device
Electronic code lock deviceAmitoj Kaur
 
Embedded systems and robotics by scmandota
Embedded systems and robotics by scmandotaEmbedded systems and robotics by scmandota
Embedded systems and robotics by scmandotascmandota
 
basic embedded system presentation
basic embedded system presentationbasic embedded system presentation
basic embedded system presentationVimal Tripathi
 
password based door locking system using 8051
password based door locking system using 8051password based door locking system using 8051
password based door locking system using 8051Mangleshwar Prajapati
 
8 bit digital code lock intercom system
8 bit digital code lock intercom system8 bit digital code lock intercom system
8 bit digital code lock intercom systemSagnik Jana
 
Rf bases door lock system
Rf bases door lock systemRf bases door lock system
Rf bases door lock systemSikander Bodh
 
Presentation on home automation system
Presentation on  home automation systemPresentation on  home automation system
Presentation on home automation systemNamit Sood
 
embedded-systems-for-beginners
embedded-systems-for-beginnersembedded-systems-for-beginners
embedded-systems-for-beginnersmohamed gaber
 
PASSWORD PROTECTED DOOR OPENING SYSTEM BY HEMANTA
PASSWORD PROTECTED DOOR OPENING SYSTEM BY HEMANTAPASSWORD PROTECTED DOOR OPENING SYSTEM BY HEMANTA
PASSWORD PROTECTED DOOR OPENING SYSTEM BY HEMANTAHEMANTA SAHU
 
training report on embedded system and AVR
training report on embedded system and AVRtraining report on embedded system and AVR
training report on embedded system and AVRUrvashi Khandelwal
 
Embeded system by Mitesh Kumar
Embeded system by Mitesh KumarEmbeded system by Mitesh Kumar
Embeded system by Mitesh KumarMitesh Kumar
 
Gesture based vehicle movements control and alerting system docu
Gesture based vehicle movements control and alerting system docuGesture based vehicle movements control and alerting system docu
Gesture based vehicle movements control and alerting system docuVignan Munna
 
Project report on dtmf based door opening system
Project report on  dtmf based door opening systemProject report on  dtmf based door opening system
Project report on dtmf based door opening systemMukul Mohal
 
Alcohol Sensing Alert with Engine Locking Project
Alcohol Sensing Alert with Engine Locking Project Alcohol Sensing Alert with Engine Locking Project
Alcohol Sensing Alert with Engine Locking Project DINKAR MALI
 

Mais procurados (20)

Embedded and Robotics System
Embedded and Robotics SystemEmbedded and Robotics System
Embedded and Robotics System
 
Magnetic door lock using arduino
Magnetic door lock using arduinoMagnetic door lock using arduino
Magnetic door lock using arduino
 
Electronic code lock device
Electronic code lock deviceElectronic code lock device
Electronic code lock device
 
Embedded systems and robotics by scmandota
Embedded systems and robotics by scmandotaEmbedded systems and robotics by scmandota
Embedded systems and robotics by scmandota
 
basic embedded system presentation
basic embedded system presentationbasic embedded system presentation
basic embedded system presentation
 
password based door locking system using 8051
password based door locking system using 8051password based door locking system using 8051
password based door locking system using 8051
 
8 bit digital code lock intercom system
8 bit digital code lock intercom system8 bit digital code lock intercom system
8 bit digital code lock intercom system
 
Embeded system
Embeded systemEmbeded system
Embeded system
 
Rf bases door lock system
Rf bases door lock systemRf bases door lock system
Rf bases door lock system
 
Presentation on home automation system
Presentation on  home automation systemPresentation on  home automation system
Presentation on home automation system
 
embedded-systems-for-beginners
embedded-systems-for-beginnersembedded-systems-for-beginners
embedded-systems-for-beginners
 
PASSWORD PROTECTED DOOR OPENING SYSTEM BY HEMANTA
PASSWORD PROTECTED DOOR OPENING SYSTEM BY HEMANTAPASSWORD PROTECTED DOOR OPENING SYSTEM BY HEMANTA
PASSWORD PROTECTED DOOR OPENING SYSTEM BY HEMANTA
 
training report on embedded system and AVR
training report on embedded system and AVRtraining report on embedded system and AVR
training report on embedded system and AVR
 
Final Presentation
Final PresentationFinal Presentation
Final Presentation
 
Embeded system by Mitesh Kumar
Embeded system by Mitesh KumarEmbeded system by Mitesh Kumar
Embeded system by Mitesh Kumar
 
Gesture based vehicle movements control and alerting system docu
Gesture based vehicle movements control and alerting system docuGesture based vehicle movements control and alerting system docu
Gesture based vehicle movements control and alerting system docu
 
Visitor counter
Visitor counterVisitor counter
Visitor counter
 
Project report on dtmf based door opening system
Project report on  dtmf based door opening systemProject report on  dtmf based door opening system
Project report on dtmf based door opening system
 
Project ppt
Project pptProject ppt
Project ppt
 
Alcohol Sensing Alert with Engine Locking Project
Alcohol Sensing Alert with Engine Locking Project Alcohol Sensing Alert with Engine Locking Project
Alcohol Sensing Alert with Engine Locking Project
 

Destaque

Microcontroller based speedo meter cum odometer
Microcontroller based speedo meter cum odometerMicrocontroller based speedo meter cum odometer
Microcontroller based speedo meter cum odometerNexus
 
Microcontroller Based Speedo Meter cum Odometer
Microcontroller Based Speedo Meter cum OdometerMicrocontroller Based Speedo Meter cum Odometer
Microcontroller Based Speedo Meter cum OdometerNexus
 
Project report on embedded system using 8051 microcontroller
Project  report on embedded system using 8051 microcontrollerProject  report on embedded system using 8051 microcontroller
Project report on embedded system using 8051 microcontrollerVandna Sambyal
 
Project Report On Micro-controller Embedded System
Project Report On Micro-controller Embedded SystemProject Report On Micro-controller Embedded System
Project Report On Micro-controller Embedded SystemRkrishna Mishra
 
Micro controller based projects
Micro controller based projectsMicro controller based projects
Micro controller based projectsFajar Isnanto
 
Password based door locking system
Password based door locking systemPassword based door locking system
Password based door locking systemArjun Singh
 

Destaque (6)

Microcontroller based speedo meter cum odometer
Microcontroller based speedo meter cum odometerMicrocontroller based speedo meter cum odometer
Microcontroller based speedo meter cum odometer
 
Microcontroller Based Speedo Meter cum Odometer
Microcontroller Based Speedo Meter cum OdometerMicrocontroller Based Speedo Meter cum Odometer
Microcontroller Based Speedo Meter cum Odometer
 
Project report on embedded system using 8051 microcontroller
Project  report on embedded system using 8051 microcontrollerProject  report on embedded system using 8051 microcontroller
Project report on embedded system using 8051 microcontroller
 
Project Report On Micro-controller Embedded System
Project Report On Micro-controller Embedded SystemProject Report On Micro-controller Embedded System
Project Report On Micro-controller Embedded System
 
Micro controller based projects
Micro controller based projectsMicro controller based projects
Micro controller based projects
 
Password based door locking system
Password based door locking systemPassword based door locking system
Password based door locking system
 

Semelhante a microcontroller and embedded system

Embedded system 8051 Microcontroller
Embedded system 8051 MicrocontrollerEmbedded system 8051 Microcontroller
Embedded system 8051 Microcontrollerankitsharmaj
 
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxMeghdeepSingh
 
Report on Embedded Based Home security system
Report on Embedded Based Home security systemReport on Embedded Based Home security system
Report on Embedded Based Home security systemNIT srinagar
 
electronic voting machine by rfid
electronic voting machine by rfidelectronic voting machine by rfid
electronic voting machine by rfidSaurabh Uniyal
 
summer training report (2)
summer training report (2)summer training report (2)
summer training report (2)Kavya Gupta
 
Embedded systems presentation
Embedded systems presentationEmbedded systems presentation
Embedded systems presentationSurender Singh
 
Report (Electromagnetic Password Door Lock System)
Report (Electromagnetic Password Door Lock System)Report (Electromagnetic Password Door Lock System)
Report (Electromagnetic Password Door Lock System)Siang Wei Lee
 
Paper id 36201529
Paper id 36201529Paper id 36201529
Paper id 36201529IJRAT
 
Micro Controller 8051 of Speedo Meter using KEIL Code
Micro Controller 8051 of Speedo Meter using KEIL CodeMicro Controller 8051 of Speedo Meter using KEIL Code
Micro Controller 8051 of Speedo Meter using KEIL CodeSunil Kumar R
 
Tutorial Arach N!D
Tutorial Arach N!DTutorial Arach N!D
Tutorial Arach N!Dkameshsept
 
Embedded_ PPT_2 unit_Dr Monika_edited.pptx
Embedded_ PPT_2 unit_Dr Monika_edited.pptxEmbedded_ PPT_2 unit_Dr Monika_edited.pptx
Embedded_ PPT_2 unit_Dr Monika_edited.pptxProfMonikaJain
 
Coin based mobile charger project report
Coin based mobile charger project reportCoin based mobile charger project report
Coin based mobile charger project reportkaushal chaubey
 

Semelhante a microcontroller and embedded system (20)

Embedded system 8051 Microcontroller
Embedded system 8051 MicrocontrollerEmbedded system 8051 Microcontroller
Embedded system 8051 Microcontroller
 
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
 
Bidirect visitor counter
Bidirect visitor counterBidirect visitor counter
Bidirect visitor counter
 
Report on Embedded Based Home security system
Report on Embedded Based Home security systemReport on Embedded Based Home security system
Report on Embedded Based Home security system
 
Home automation
Home automationHome automation
Home automation
 
electronic voting machine by rfid
electronic voting machine by rfidelectronic voting machine by rfid
electronic voting machine by rfid
 
summer training report (2)
summer training report (2)summer training report (2)
summer training report (2)
 
Embedded systems presentation
Embedded systems presentationEmbedded systems presentation
Embedded systems presentation
 
Smart home
Smart homeSmart home
Smart home
 
Smart home copy
Smart home   copySmart home   copy
Smart home copy
 
Smart home
Smart homeSmart home
Smart home
 
Divya
DivyaDivya
Divya
 
Vinod ppt on es31 08 15
Vinod ppt on es31 08 15Vinod ppt on es31 08 15
Vinod ppt on es31 08 15
 
Report (Electromagnetic Password Door Lock System)
Report (Electromagnetic Password Door Lock System)Report (Electromagnetic Password Door Lock System)
Report (Electromagnetic Password Door Lock System)
 
Paper id 36201529
Paper id 36201529Paper id 36201529
Paper id 36201529
 
Micro Controller 8051 of Speedo Meter using KEIL Code
Micro Controller 8051 of Speedo Meter using KEIL CodeMicro Controller 8051 of Speedo Meter using KEIL Code
Micro Controller 8051 of Speedo Meter using KEIL Code
 
Tutorial Arach N!D
Tutorial Arach N!DTutorial Arach N!D
Tutorial Arach N!D
 
Embedded_ PPT_2 unit_Dr Monika_edited.pptx
Embedded_ PPT_2 unit_Dr Monika_edited.pptxEmbedded_ PPT_2 unit_Dr Monika_edited.pptx
Embedded_ PPT_2 unit_Dr Monika_edited.pptx
 
Project
ProjectProject
Project
 
Coin based mobile charger project report
Coin based mobile charger project reportCoin based mobile charger project report
Coin based mobile charger project report
 

Mais de pradeep rana

child labor in india
child labor in indiachild labor in india
child labor in indiapradeep rana
 
swaraj tractor division
swaraj tractor divisionswaraj tractor division
swaraj tractor divisionpradeep rana
 
project report on mahindra tractors....
project report on mahindra tractors....project report on mahindra tractors....
project report on mahindra tractors....pradeep rana
 
ppt on hmt tractor division
ppt on hmt tractor divisionppt on hmt tractor division
ppt on hmt tractor divisionpradeep rana
 

Mais de pradeep rana (6)

child labor in india
child labor in indiachild labor in india
child labor in india
 
swaraj tractor division
swaraj tractor divisionswaraj tractor division
swaraj tractor division
 
diesel generator
diesel generatordiesel generator
diesel generator
 
project report on mahindra tractors....
project report on mahindra tractors....project report on mahindra tractors....
project report on mahindra tractors....
 
shahjahan
shahjahanshahjahan
shahjahan
 
ppt on hmt tractor division
ppt on hmt tractor divisionppt on hmt tractor division
ppt on hmt tractor division
 

Último

Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 

Último (20)

Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 

microcontroller and embedded system

  • 2. CONTENTS 1. EMBEDDED SYSTEM & CHARACTERSTICES 2. INTEGRATED CIRCUIT 3. FULL & SEMI CUSTOM DESIGN 4. PROGRAMABLE LOGIC DEVICE 5. DESIGN CHALLENGES IN EMBEDDED SYSTEM 6. EMBEDDED OPERATING SYSTEM 7. MICROCONTROLLERS & 8051 MICROCONTROLLER 8. SEVEN SEGMENT DISPLAY & KEYPAD INTERFACING 9. LCD INTERFACING 10. PROJECT - ELECTRONIC CODE LOCK WITH USER -DEFINED PASSWORD
  • 3.
  • 4.
  • 5. Integrated Circuit Processors are implemented on an integrated circuit (IC). IC, often called as chip consists of a set of transistors interconnected with other devices. There are different processes to fabricate semiconductors namely n-MOS, p-MOS and C-MOS. The most widely used process is CMOS (complementary metal oxide semiconductor). Semiconductors devices are built with different layers. The bottom-most layers are of transistors. — —
  • 6. EXAMPLES OF EMBEDDED SYSTEM •Automated tiller machines (ATMS). •Cellular telephones and telephonic switches. •Computer printers, Copiers. •Disk drives (floppy disk drive and hard disk drive) •Engine controllers and antilock brake controllers for automobiles. •Home automation products like thermostat, air conditioners sprinkles and security monitoring system. •House hold appliances including microwave ovens, washing machines, TV sets DVD players/recorders. •Medical equipment. •Measurement equipment such as digital storage oscilloscopes, logic analyzers and spectrum analyzers. •Multimedia appliances: internet radio receivers, TV set top boxes. •Stationary video game controllers.
  • 7. MICROPROCESSOR A microprocessor is a general-purpose digital computer central processing unit (CPU). Although popularly known as a “computer on a chip” is in no sense a complete digital computer. The block diagram of a microprocessor CPU is shown, which contains an arithmetic and logical unit (ALU), a program counter (PC), a stack pointer (SP),some working registers, a clock timing circuit, and interrupt circuits Data Bus CPU Serial COM Port RAM ROM I/O Port Timer
  • 8. MICROCONTROLLERS A microcontroller is an economical computer-on-a-chip built for dealing with specific tasks, such as displaying or receiving information through LEDs or remote controlled devices. The most commonly used set of microcontrollers belong to 8051 Family. 8051 Microcontrollers continue to remain a preferred choice for a vast community of hobbyists and professionals. Through 8051, the world became witness to the most revolutionary set of microcontrollers.
  • 9. MICROCONTROLLER 8051 Microcontroller (also MCU or µC) is a computer-on-a-chip. It is a type of microprocessor emphasizing high integration, low power consumption, self-sufficiency and cost-effectiveness, in contrast to a general-purpose microprocessor (the kind used in a PC). In addition to the usual arithmetic and logic elements of a general purpose microprocessor, the microcontroller typically integrates additional elements such as read-write memory for data storage, read-only memory, such as flash for code storage, EEPROM for permanent data storage, peripheral devices, and input/output interfaces. At clock speeds of as little as a few MHz or even lower, microcontrollers often operate at very low speed compared to modern day microprocessors, but this is adequate for typical applications. They consume relatively little power .
  • 10. Special features of 8051 are: •8-bit data bus •16-bit address bus •32 general purpose registers each of 8 bits •16 bit timers (usually 2, but may have more, or less). •3 internal and 2 external interrupts. •Bit as well as byte addressable RAM area of 16 bytes. •Four 8-bit ports, (short models have two 8-bit ports). 16-bit program counter and data pointer
  • 11. REGULATED POWER SUPPLY Transformer circuit symbol Transformer Transformers convert AC electricity from one voltage to another with little loss of power. Transformers work only with AC and this is one of the reasons why mains electricity is AC. Step-up transformers increase voltage, step-down transformers reduce voltage. Most power supplies use a step-down transformer to reduce the dangerously high mains voltage (230V in UK) to a safer low voltage. The input coil is called the primary and the output coil is called the secondary. There is no electrical connection between the two coils, instead they are linked by an alternating magnetic field created in the soft-iron core of the transformer. The two lines in the middle of the circuit symbol represent the core. Transformers waste very little power so the power out is (almost) equal to the power in. Note that as voltage is stepped down current is stepped up.
  • 12. STRUCTURE OF POWER SUPPLY There are many types of power supply. Most are designed to convert high voltage AC mains electricity to a suitable low voltage supply for electronics circuits and other devices. A power supply can by broken down into a series of blocks, each of which performs a particular function. For example a 5V regulated supply: Each of the blocks is described in more detail below: Transformer - steps down high voltage AC mains to low voltage AC. Rectifier - converts AC to DC, but the DC output is varying. Smoothing - smoothens the DC from varying greatly to a small ripple. Regulator - eliminates ripple by setting DC output to a fixed voltage.
  • 13. SEVEN SEGMENT DISPLAY A seven segment display is the most basic electronic display device that can display digits from 0-9. They find wide application in devices that display numeric information like digital clocks, radio, microwave ovens, electronic meters etc. The most common configuration has an array of eight LEDs arranged in a special pattern to display these digits. They are laid out as a squared-off figure ‘8’. Every LED is assigned a name from 'a' to 'h' and is identified by its name. Seven LEDs 'a' to 'g' are used to display the numerals while dot/decimal eighth LED 'h' is used to display them.
  • 14. LCD INTERFACING The most commonly used Character based LCDs are based on Hitachi's HD44780 controller or other which are compatible with HD44580. In this tutorial, we will discuss about character based LCDs, their interfacing with various microcontrollers, various interfaces (8-bit/4bit), programming, special stuff and tricks you can do with these simple looking LCDs .
  • 15. PROJECT Security code lock with user defined password using 8051 microcontroller (AT89C51)
  • 17. WORKING A 4x3 matrix keypad and a 16x2 LCD have been used here. Keypad and LCD are very commonly used input & output devices, respectively. A four digit predefined password needs to be specified the user. This password is stored in the system. While unlocking, if the entered password from keypad matches with the stored password, then the lock opens and a message is displayed on LCD. Also an output pin is made high to be used for further purpose. The connections in the circuit are as following: port P2 of microcontroller AT89C51 is used as data input port which is connected to data pins (7-14) of LCD. P1^0, P1^1 and P1^2 pins of microcontroller are connected to control pins RS, RW and EN of LCD. Port P0 is used to take input from keypad. P0^7 has been used as lock output pin of controller.
  • 18. As the program starts, string ‘Enter Password’ is displayed on LCD. The keypad is scanned for pressed digits one by one. Every time, row and column of the key pressed is detected and a ‘*’ is displayed on LCD corresponding to the entered number. After the four digits are entered, the user is prompted to ‘Confirm Password’ and again the input is taken through LCD. If the passwords do not match, a message is displayed to indicate ‘Wrong Password’; otherwise the user is prompted to unlock the device. To unlock, user needs to ‘Enter Password’ through keypad. Again the keypad is scanned for pressed keys and corresponding digits are identified. The passkey is displayed as ‘****’ on the LCD screen. After the four digits are entered, they are compared with the pre-set password. If all the four digits match with set password, LCD displays ‘Lock Open’ and the lock output pin goes high. If the security code is wrong, ‘Wrong Password’ is sent to be displayed on LCD. The system gets locked if more than three attempts are made with wrong password to open the electronic lock. The system needs to be reset in such a case.