SlideShare une entreprise Scribd logo
1  sur  15
Télécharger pour lire hors ligne
Introduction
     about
Microcontroller
       Eng :/ Sayed Mahmoud AbdEl Rahman
What is the Microcontroller ?
A microcontroller is an integrated chip that is often part
of an embedded system. The microcontroller includes
a CPU, RAM, ROM, I/O ports, and timers like a standard
computer, but because they are designed to execute only
a single specific task to control a single system,
they are much smaller and simplified so that they
can include all the functions required on a single chip.
Microcontroller v/s Microprocessor
Microprocessors are used to execute big and generic applications,
while a microcontroller will only be used to execute a single task
within one application. Some of the benefits of microcontrollers
include the following:

Cost: The cost of the part. Microcontrollers are usually very cheap,
sometimes even less than $1 each.

Speed: The frequency (speed) of the system clock, often stated in
megahertz (MHz) or gigahertz (GHz). Microcontrollers are typically
slow, less than 20MHz.

Power: The power dissipation of a system, measured in Watts.
Microcontrollers are almost always "low-power."
Bits: This usually means the number of bits that can be processed
at one time by each instruction (e.g. 8-bit, 16-bit, 32-bit, etc...).
Microcontrollers are almost always 8-bit or maybe 16-bit devices.

Memory: Most processors have some amount of storage on the device
for data and program instructions. In computing systems, memory is
often hierarchical, so on-chip memory can serve different purposes.
Microcontrollers typically have a limited amount of memory, less
than 1MByte total.

All-in-one: A microcontroller usually Includes of a CPU, ROM,
RAM and I/O ports, built within it to execute a single and dedicated
task. On the other hand, a microprocessor generally does not have a
RAM, ROM or IO pins and generally uses its pins as a bus to interface
to peripherals such as RAM, ROM, serial ports, digital and analog IO.
How does Microcontroller work ?
Microcontroller has an input device in order to get the input and an
output device (such as LED or LCD Display) to exhibit the final
process. Let us look into the illustration of how a microcontroller
works in a Television.

The Television has a remote control as an Input device and the TV
screen as the output device. The signal sent from the remote control is
captured by the microcontroller. The microcontroller controls the
channel selection, the amplifier system and picture tube adjustments
such as hue, brightness, contrast etc.
General architecture of a Microcontroller
The architecture of a microcontroller depends on the application it is
built for. For example, some designs include usage of more than one
RAM, ROM and I/O functionality integrated into the package.
The architecture of a typical microcontroller is complex and may include
the following:

1. A CPU, ranging from simple 4-bit to complex 64-bit processers.
2. Peripherals such as timers, event counters and watchdog.
3. RAM (volatile memory) for data storage. The data is stored in the form of
registers, and the general-purpose registers store information that interacts
with the arithmetic logical unit (ALU).
4. ROM, EPROM, EEPROM or flash memory for program and operating
parameter storage.
5. Programming capabilities (Assembly, c, c++, Basic and Pascal) .
6. Serial input/output such as serial ports.
7. A clock generator for resonator, quartz timing crystal or RC circuit.
8. Analog-to-digital convertors.
9. Serial ports.
10. Data bus to carry information.
Applications
Microcontrollers are used in products that are controlled automatically.
The various products that make use of microcontrollers in our everyday
life are given below:

1. Home: Television, DVD player, Telephone, Fax machine, Cellular
phones, Security systems, Camera, Sewing machine, Musical
Instrument, Exercising machine, Video games, Computer,
Microwave oven.

2. Office: Computers, Printers, Telephones, Fax machine, Security
systems.
My Application on Microcontroller
Air Condition Control:
Hardware:
1-tansator (Temp Sensor).
2-Button.
3-Led.
4-LCD Display.
5-Microcontroller (PIC16F877A 8-bit).
6-Crystal 4MHz.
7-Capactor 0.1µF – 22PF – 3.3µF.
8-Resistance 10kΩ - 330 Ω.
Circuit Design by Eagle program
Layout Circuit
Software (Code by MikroC program):
Thanks

Contenu connexe

Tendances

Arduino Microcontroller
Arduino MicrocontrollerArduino Microcontroller
Arduino MicrocontrollerShyam Mohan
 
Microprocessor & Micro-controller
Microprocessor & Micro-controllerMicroprocessor & Micro-controller
Microprocessor & Micro-controllerOm Bheda
 
I. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.pptI. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.pptHAriesOa1
 
Introduction to the Arduino
Introduction to the ArduinoIntroduction to the Arduino
Introduction to the ArduinoWingston
 
Intro to Arduino
Intro to ArduinoIntro to Arduino
Intro to Arduinoavikdhupar
 
ATmega32-AVR microcontrollers-Part I
ATmega32-AVR microcontrollers-Part IATmega32-AVR microcontrollers-Part I
ATmega32-AVR microcontrollers-Part IVineethMP2
 
Architecture of 8051 microcontroller))
Architecture of 8051 microcontroller))Architecture of 8051 microcontroller))
Architecture of 8051 microcontroller))Ganesh Ram
 
microcontroller vs microprocessor
microcontroller vs microprocessormicrocontroller vs microprocessor
microcontroller vs microprocessorsobhadevi
 
Trends in Embedded system Design
Trends in Embedded system DesignTrends in Embedded system Design
Trends in Embedded system DesignRaman Deep
 
Introduction to pic microcontroller
Introduction to pic microcontrollerIntroduction to pic microcontroller
Introduction to pic microcontrollerSiva Kumar
 
LPC 2148 ARM MICROCONTROLLER
LPC 2148 ARM MICROCONTROLLERLPC 2148 ARM MICROCONTROLLER
LPC 2148 ARM MICROCONTROLLERsravannunna24
 
Introduction to Embedded Systems
Introduction to Embedded SystemsIntroduction to Embedded Systems
Introduction to Embedded SystemsJoy Dutta
 
LECT 1: ARM PROCESSORS
LECT 1: ARM PROCESSORSLECT 1: ARM PROCESSORS
LECT 1: ARM PROCESSORSDr.YNM
 

Tendances (20)

Arduino Microcontroller
Arduino MicrocontrollerArduino Microcontroller
Arduino Microcontroller
 
Microprocessor & Micro-controller
Microprocessor & Micro-controllerMicroprocessor & Micro-controller
Microprocessor & Micro-controller
 
Embedded System Presentation
Embedded System PresentationEmbedded System Presentation
Embedded System Presentation
 
MICROCONTROLLER - INTEL 8051
MICROCONTROLLER - INTEL 8051MICROCONTROLLER - INTEL 8051
MICROCONTROLLER - INTEL 8051
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
I. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.pptI. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.ppt
 
Introduction to the Arduino
Introduction to the ArduinoIntroduction to the Arduino
Introduction to the Arduino
 
Intro to Arduino
Intro to ArduinoIntro to Arduino
Intro to Arduino
 
Embedded System Basics
Embedded System BasicsEmbedded System Basics
Embedded System Basics
 
ATmega32-AVR microcontrollers-Part I
ATmega32-AVR microcontrollers-Part IATmega32-AVR microcontrollers-Part I
ATmega32-AVR microcontrollers-Part I
 
Architecture of 8051 microcontroller))
Architecture of 8051 microcontroller))Architecture of 8051 microcontroller))
Architecture of 8051 microcontroller))
 
microcontroller vs microprocessor
microcontroller vs microprocessormicrocontroller vs microprocessor
microcontroller vs microprocessor
 
Trends in Embedded system Design
Trends in Embedded system DesignTrends in Embedded system Design
Trends in Embedded system Design
 
Introduction to pic microcontroller
Introduction to pic microcontrollerIntroduction to pic microcontroller
Introduction to pic microcontroller
 
ARM Processor
ARM ProcessorARM Processor
ARM Processor
 
IoT with Arduino
IoT with ArduinoIoT with Arduino
IoT with Arduino
 
LPC 2148 ARM MICROCONTROLLER
LPC 2148 ARM MICROCONTROLLERLPC 2148 ARM MICROCONTROLLER
LPC 2148 ARM MICROCONTROLLER
 
Embedded c
Embedded cEmbedded c
Embedded c
 
Introduction to Embedded Systems
Introduction to Embedded SystemsIntroduction to Embedded Systems
Introduction to Embedded Systems
 
LECT 1: ARM PROCESSORS
LECT 1: ARM PROCESSORSLECT 1: ARM PROCESSORS
LECT 1: ARM PROCESSORS
 

Similaire à Introduction in microcontroller

Benefits of Micro Controller.pdf
Benefits of Micro Controller.pdfBenefits of Micro Controller.pdf
Benefits of Micro Controller.pdfirfanakram32
 
Micro controller
Micro controllerMicro controller
Micro controllerDevi Prasad
 
Introduction to embedded systems using the msp430 6. 1 Enumerate the.pdf
Introduction to embedded systems using the msp430 6. 1 Enumerate the.pdfIntroduction to embedded systems using the msp430 6. 1 Enumerate the.pdf
Introduction to embedded systems using the msp430 6. 1 Enumerate the.pdfaienterpresses
 
Introduction to embedded systems using the msp430 6.1 Enumerate the .pdf
Introduction to embedded systems using the msp430 6.1 Enumerate the .pdfIntroduction to embedded systems using the msp430 6.1 Enumerate the .pdf
Introduction to embedded systems using the msp430 6.1 Enumerate the .pdfaienterpresses
 
microprocessor
microprocessormicroprocessor
microprocessorillpa
 
Intro to micro controller (Atmega16)
Intro to micro controller (Atmega16)Intro to micro controller (Atmega16)
Intro to micro controller (Atmega16)Ramadan Ramadan
 
BRACU_SPRING24_EEE373_L1_Introduction.pptx
BRACU_SPRING24_EEE373_L1_Introduction.pptxBRACU_SPRING24_EEE373_L1_Introduction.pptx
BRACU_SPRING24_EEE373_L1_Introduction.pptxSKTAHMEDSALIMRAFID
 
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxMeghdeepSingh
 
Prerna sharma
Prerna sharmaPrerna sharma
Prerna sharmaRCET
 
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
 
Microcontoller and Embedded System
Microcontoller and Embedded SystemMicrocontoller and Embedded System
Microcontoller and Embedded SystemKaran Thakkar
 
Embedded systems 101 final
Embedded systems 101 finalEmbedded systems 101 final
Embedded systems 101 finalKhalid Elmeadawy
 
Motorola 68hc11
Motorola 68hc11Motorola 68hc11
Motorola 68hc11gajani121
 
What are the characteristics of a Microcontroller.pdf
What are the characteristics of a Microcontroller.pdfWhat are the characteristics of a Microcontroller.pdf
What are the characteristics of a Microcontroller.pdfexpess-technology
 
Automotive and Electronics System
Automotive and Electronics SystemAutomotive and Electronics System
Automotive and Electronics SystemGiriraj Mannayee
 
Msp 430 architecture module 1
Msp 430 architecture module 1Msp 430 architecture module 1
Msp 430 architecture module 1SARALA T
 

Similaire à Introduction in microcontroller (20)

Benefits of Micro Controller.pdf
Benefits of Micro Controller.pdfBenefits of Micro Controller.pdf
Benefits of Micro Controller.pdf
 
Micro controller
Micro controllerMicro controller
Micro controller
 
Introduction to embedded systems using the msp430 6. 1 Enumerate the.pdf
Introduction to embedded systems using the msp430 6. 1 Enumerate the.pdfIntroduction to embedded systems using the msp430 6. 1 Enumerate the.pdf
Introduction to embedded systems using the msp430 6. 1 Enumerate the.pdf
 
Introduction to embedded systems using the msp430 6.1 Enumerate the .pdf
Introduction to embedded systems using the msp430 6.1 Enumerate the .pdfIntroduction to embedded systems using the msp430 6.1 Enumerate the .pdf
Introduction to embedded systems using the msp430 6.1 Enumerate the .pdf
 
microprocessor
microprocessormicroprocessor
microprocessor
 
Intro to micro controller (Atmega16)
Intro to micro controller (Atmega16)Intro to micro controller (Atmega16)
Intro to micro controller (Atmega16)
 
BRACU_SPRING24_EEE373_L1_Introduction.pptx
BRACU_SPRING24_EEE373_L1_Introduction.pptxBRACU_SPRING24_EEE373_L1_Introduction.pptx
BRACU_SPRING24_EEE373_L1_Introduction.pptx
 
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
 
Embeddedsystem
EmbeddedsystemEmbeddedsystem
Embeddedsystem
 
Prerna sharma
Prerna sharmaPrerna sharma
Prerna sharma
 
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
 
Microcontoller and Embedded System
Microcontoller and Embedded SystemMicrocontoller and Embedded System
Microcontoller and Embedded System
 
Embedded systems 101 final
Embedded systems 101 finalEmbedded systems 101 final
Embedded systems 101 final
 
Motorola 68hc11
Motorola 68hc11Motorola 68hc11
Motorola 68hc11
 
Unit-1.pptx
Unit-1.pptxUnit-1.pptx
Unit-1.pptx
 
What are the characteristics of a Microcontroller.pdf
What are the characteristics of a Microcontroller.pdfWhat are the characteristics of a Microcontroller.pdf
What are the characteristics of a Microcontroller.pdf
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
Automotive and Electronics System
Automotive and Electronics SystemAutomotive and Electronics System
Automotive and Electronics System
 
LECT 2.pptx
LECT 2.pptxLECT 2.pptx
LECT 2.pptx
 
Msp 430 architecture module 1
Msp 430 architecture module 1Msp 430 architecture module 1
Msp 430 architecture module 1
 

Dernier

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
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
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
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
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 

Dernier (20)

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
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...
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
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
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
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"
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 

Introduction in microcontroller

  • 1. Introduction about Microcontroller Eng :/ Sayed Mahmoud AbdEl Rahman
  • 2. What is the Microcontroller ? A microcontroller is an integrated chip that is often part of an embedded system. The microcontroller includes a CPU, RAM, ROM, I/O ports, and timers like a standard computer, but because they are designed to execute only a single specific task to control a single system, they are much smaller and simplified so that they can include all the functions required on a single chip.
  • 3. Microcontroller v/s Microprocessor Microprocessors are used to execute big and generic applications, while a microcontroller will only be used to execute a single task within one application. Some of the benefits of microcontrollers include the following: Cost: The cost of the part. Microcontrollers are usually very cheap, sometimes even less than $1 each. Speed: The frequency (speed) of the system clock, often stated in megahertz (MHz) or gigahertz (GHz). Microcontrollers are typically slow, less than 20MHz. Power: The power dissipation of a system, measured in Watts. Microcontrollers are almost always "low-power."
  • 4. Bits: This usually means the number of bits that can be processed at one time by each instruction (e.g. 8-bit, 16-bit, 32-bit, etc...). Microcontrollers are almost always 8-bit or maybe 16-bit devices. Memory: Most processors have some amount of storage on the device for data and program instructions. In computing systems, memory is often hierarchical, so on-chip memory can serve different purposes. Microcontrollers typically have a limited amount of memory, less than 1MByte total. All-in-one: A microcontroller usually Includes of a CPU, ROM, RAM and I/O ports, built within it to execute a single and dedicated task. On the other hand, a microprocessor generally does not have a RAM, ROM or IO pins and generally uses its pins as a bus to interface to peripherals such as RAM, ROM, serial ports, digital and analog IO.
  • 5.
  • 6. How does Microcontroller work ? Microcontroller has an input device in order to get the input and an output device (such as LED or LCD Display) to exhibit the final process. Let us look into the illustration of how a microcontroller works in a Television. The Television has a remote control as an Input device and the TV screen as the output device. The signal sent from the remote control is captured by the microcontroller. The microcontroller controls the channel selection, the amplifier system and picture tube adjustments such as hue, brightness, contrast etc.
  • 7. General architecture of a Microcontroller The architecture of a microcontroller depends on the application it is built for. For example, some designs include usage of more than one RAM, ROM and I/O functionality integrated into the package.
  • 8. The architecture of a typical microcontroller is complex and may include the following: 1. A CPU, ranging from simple 4-bit to complex 64-bit processers. 2. Peripherals such as timers, event counters and watchdog. 3. RAM (volatile memory) for data storage. The data is stored in the form of registers, and the general-purpose registers store information that interacts with the arithmetic logical unit (ALU). 4. ROM, EPROM, EEPROM or flash memory for program and operating parameter storage. 5. Programming capabilities (Assembly, c, c++, Basic and Pascal) . 6. Serial input/output such as serial ports. 7. A clock generator for resonator, quartz timing crystal or RC circuit. 8. Analog-to-digital convertors. 9. Serial ports. 10. Data bus to carry information.
  • 9. Applications Microcontrollers are used in products that are controlled automatically. The various products that make use of microcontrollers in our everyday life are given below: 1. Home: Television, DVD player, Telephone, Fax machine, Cellular phones, Security systems, Camera, Sewing machine, Musical Instrument, Exercising machine, Video games, Computer, Microwave oven. 2. Office: Computers, Printers, Telephones, Fax machine, Security systems.
  • 10. My Application on Microcontroller Air Condition Control: Hardware: 1-tansator (Temp Sensor). 2-Button. 3-Led. 4-LCD Display. 5-Microcontroller (PIC16F877A 8-bit). 6-Crystal 4MHz. 7-Capactor 0.1µF – 22PF – 3.3µF. 8-Resistance 10kΩ - 330 Ω.
  • 11. Circuit Design by Eagle program
  • 13. Software (Code by MikroC program):
  • 14.