SlideShare ist ein Scribd-Unternehmen logo
1 von 15
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Was ist angesagt?

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
 

Was ist angesagt? (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
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Kürzlich hochgeladen

Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
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
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
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
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
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
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
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
 
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
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
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
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 

Kürzlich hochgeladen (20)

Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
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
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
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
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
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
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
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
 
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...
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
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
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 

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.