SlideShare a Scribd company logo
An Introduction to
Microcontrollers
Microcontrollers
• Small, self-contained computers that
are used to control a wide range of
devices, from washing machines to
drones.
• The general microcontroller consists of the
processor, the memory (RAM, ROM,
EPROM), Serial ports, peripherals (timers,
counters), etc.
• They can be programmed to perform a
wide range of tasks, making them ideal
for use in everything from robotics to
home automation systems.
Components of Microcontrollers
• Central processing unit (CPU) – Executes instructions & performs
Calculations.
• Memory – Used to store and retrieve data.
• Random Access Memory (RAM) – Volatile, stores the data
required to be processed
• Read Only Memory (ROM) – Non-volatile, permanently stores
the data
• Input/Output (I/O) pins – Used to interact with external devices such
as sensors or actuators.
• Digital pins – Have two signals (High and Low)
• Analog pins – Continuous values
• Others
• Other components of a microcontroller may include timers, counters,
UART, PWM, and analog-to-digital converters (ADCs) – Used to
measure and respond to changes in its environment.
Serial and Parallel Communication
• Serial and parallel communication are two methods used for transmitting data
between devices.
• Serial communication is a method of transmitting data one bit at a time over a
single wire or channel.
• In serial communication, the sender sends a stream of bits, one after the
other, while the receiver decodes them into meaningful data.
• Example: I2C, SPI, and USART are some serial communication protocol
• Parallel communication is a method of transmitting multiple bits of data
simultaneously using separate channels.
• In this method, each bit of the data is transmitted through its own dedicated
wire or channel.
• This allows for faster data transfer rates as compared to serial communication.
Choosing the right controller
• Cost
• Power Consumption
• Processing power
• Memory Size
• Number of GPIO pins
• Network Communication
Types of Microcontroller
• PIC microcontroller
• ARM microcontroller
• 8051 microcontroller
• AVR microcontroller
• MSP microcontroller
Programming a Controller
• Development Environment – like Arduino IDE, Cube
• Programming Knowledge – C and C++
• Compilers
• Microcontroller board – Arduino Uno, NodeMCU
• Peripherals – Sensors, Actuators
• Programming involves writing a set of
instructions that tell the microcontroller
what to do.
• These instructions are written in a
programming language such as C or
Assembly.
• Once you have written your program,
you need to upload it to the
microcontroller.
Application of Microcontroller
• Controlling machines, sensing and
monitoring devices, and automated
systems.
• Many home automation systems rely on
microcontrollers to control lighting,
temperature, and security features.
• In the automotive industry, microcontrollers
are used in engine management systems,
anti-lock brakes, and airbag deployment.
• Even medical devices such as insulin pumps
and pacemakers use microcontrollers to
regulate the dosage and monitor vital
signs.

More Related Content

Similar to An Introduction to Microcontrollers.pptx

MICROPROCESSOR VS MICROCONTROLLER
MICROPROCESSOR VS MICROCONTROLLERMICROPROCESSOR VS MICROCONTROLLER
MICROPROCESSOR VS MICROCONTROLLER
AshutoshTiwari292
 
INTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLERINTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLER
Ankita Jaiswal
 
Uc1(vii sem)
Uc1(vii sem)Uc1(vii sem)
Uc1(vii sem)
Ankita Jaiswal
 
Alisksdjdhdhhdhdhdhdhhdhdheheksjsjs.pptx
Alisksdjdhdhhdhdhdhdhhdhdheheksjsjs.pptxAlisksdjdhdhhdhdhdhdhhdhdheheksjsjs.pptx
Alisksdjdhdhhdhdhdhdhhdhdheheksjsjs.pptx
ssuser07a9781
 
Embedded systemsc
Embedded systemscEmbedded systemsc
Embedded systemsc
idris kamaruddin
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
Embeddedbvp
 
Embedded systems
Embedded systemsEmbedded systems
Embedded systems
Manju Nathan
 
chapter 2 IE.pptx
chapter 2 IE.pptxchapter 2 IE.pptx
chapter 2 IE.pptx
Harshal Vaidya
 
Computer_Basics from Hawassa Univer.pptx
Computer_Basics from Hawassa Univer.pptxComputer_Basics from Hawassa Univer.pptx
Computer_Basics from Hawassa Univer.pptx
wekineheshete
 
Microprocessor fundamentals
Microprocessor fundamentalsMicroprocessor fundamentals
Microprocessor fundamentals
JLoknathDora
 
Benefits of Micro Controller.pdf
Benefits of Micro Controller.pdfBenefits of Micro Controller.pdf
Benefits of Micro Controller.pdf
irfanakram32
 
Embedded systems 101 final
Embedded systems 101 finalEmbedded systems 101 final
Embedded systems 101 final
Khalid Elmeadawy
 
Summer training embedded system and its scope
Summer training  embedded system and its scopeSummer training  embedded system and its scope
Summer training embedded system and its scope
Arshit Rai
 
Unit-I_ES.pdf
Unit-I_ES.pdfUnit-I_ES.pdf
Unit-I_ES.pdf
Bogiri Nagaraju
 
Embedded
EmbeddedEmbedded
Embedded
Sreeni Mohanan
 
Embedded
EmbeddedEmbedded
Embedded
Sreeni Mohanan
 
PILOT Session for Embedded Systems
PILOT Session for Embedded Systems PILOT Session for Embedded Systems
PILOT Session for Embedded Systems
Mohamed Al-Emam, PMP®, CAP®
 
What is a microcontroller
What is a microcontrollerWhat is a microcontroller
What is a microcontroller
parassini
 
Embedded systems
Embedded systemsEmbedded systems
Embedded systems
Ashok Raj
 
Embedded System Basics - Introduction.ppt
Embedded System Basics - Introduction.pptEmbedded System Basics - Introduction.ppt
Embedded System Basics - Introduction.ppt
alaakaraja1
 

Similar to An Introduction to Microcontrollers.pptx (20)

MICROPROCESSOR VS MICROCONTROLLER
MICROPROCESSOR VS MICROCONTROLLERMICROPROCESSOR VS MICROCONTROLLER
MICROPROCESSOR VS MICROCONTROLLER
 
INTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLERINTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLER
 
Uc1(vii sem)
Uc1(vii sem)Uc1(vii sem)
Uc1(vii sem)
 
Alisksdjdhdhhdhdhdhdhhdhdheheksjsjs.pptx
Alisksdjdhdhhdhdhdhdhhdhdheheksjsjs.pptxAlisksdjdhdhhdhdhdhdhhdhdheheksjsjs.pptx
Alisksdjdhdhhdhdhdhdhhdhdheheksjsjs.pptx
 
Embedded systemsc
Embedded systemscEmbedded systemsc
Embedded systemsc
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
Embedded systems
Embedded systemsEmbedded systems
Embedded systems
 
chapter 2 IE.pptx
chapter 2 IE.pptxchapter 2 IE.pptx
chapter 2 IE.pptx
 
Computer_Basics from Hawassa Univer.pptx
Computer_Basics from Hawassa Univer.pptxComputer_Basics from Hawassa Univer.pptx
Computer_Basics from Hawassa Univer.pptx
 
Microprocessor fundamentals
Microprocessor fundamentalsMicroprocessor fundamentals
Microprocessor fundamentals
 
Benefits of Micro Controller.pdf
Benefits of Micro Controller.pdfBenefits of Micro Controller.pdf
Benefits of Micro Controller.pdf
 
Embedded systems 101 final
Embedded systems 101 finalEmbedded systems 101 final
Embedded systems 101 final
 
Summer training embedded system and its scope
Summer training  embedded system and its scopeSummer training  embedded system and its scope
Summer training embedded system and its scope
 
Unit-I_ES.pdf
Unit-I_ES.pdfUnit-I_ES.pdf
Unit-I_ES.pdf
 
Embedded
EmbeddedEmbedded
Embedded
 
Embedded
EmbeddedEmbedded
Embedded
 
PILOT Session for Embedded Systems
PILOT Session for Embedded Systems PILOT Session for Embedded Systems
PILOT Session for Embedded Systems
 
What is a microcontroller
What is a microcontrollerWhat is a microcontroller
What is a microcontroller
 
Embedded systems
Embedded systemsEmbedded systems
Embedded systems
 
Embedded System Basics - Introduction.ppt
Embedded System Basics - Introduction.pptEmbedded System Basics - Introduction.ppt
Embedded System Basics - Introduction.ppt
 

Recently uploaded

一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
upoux
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
RamonNovais6
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
Design and optimization of ion propulsion drone
Design and optimization of ion propulsion droneDesign and optimization of ion propulsion drone
Design and optimization of ion propulsion drone
bjmsejournal
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
ydzowc
 
Software Engineering and Project Management - Software Testing + Agile Method...
Software Engineering and Project Management - Software Testing + Agile Method...Software Engineering and Project Management - Software Testing + Agile Method...
Software Engineering and Project Management - Software Testing + Agile Method...
Prakhyath Rai
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
Gino153088
 
Digital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptxDigital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptx
aryanpankaj78
 
Engineering Standards Wiring methods.pdf
Engineering Standards Wiring methods.pdfEngineering Standards Wiring methods.pdf
Engineering Standards Wiring methods.pdf
edwin408357
 
TIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptxTIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptx
CVCSOfficial
 
1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf
1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf
1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf
MadhavJungKarki
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
ijaia
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
ElakkiaU
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
Divyanshu
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
PIMR BHOPAL
 
ITSM Integration with MuleSoft.pptx
ITSM  Integration with MuleSoft.pptxITSM  Integration with MuleSoft.pptx
ITSM Integration with MuleSoft.pptx
VANDANAMOHANGOUDA
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
Nada Hikmah
 
Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...
bijceesjournal
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 

Recently uploaded (20)

一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
Design and optimization of ion propulsion drone
Design and optimization of ion propulsion droneDesign and optimization of ion propulsion drone
Design and optimization of ion propulsion drone
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
 
Software Engineering and Project Management - Software Testing + Agile Method...
Software Engineering and Project Management - Software Testing + Agile Method...Software Engineering and Project Management - Software Testing + Agile Method...
Software Engineering and Project Management - Software Testing + Agile Method...
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
 
Digital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptxDigital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptx
 
Engineering Standards Wiring methods.pdf
Engineering Standards Wiring methods.pdfEngineering Standards Wiring methods.pdf
Engineering Standards Wiring methods.pdf
 
TIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptxTIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptx
 
1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf
1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf
1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
 
ITSM Integration with MuleSoft.pptx
ITSM  Integration with MuleSoft.pptxITSM  Integration with MuleSoft.pptx
ITSM Integration with MuleSoft.pptx
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
 
Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 

An Introduction to Microcontrollers.pptx

  • 2. Microcontrollers • Small, self-contained computers that are used to control a wide range of devices, from washing machines to drones. • The general microcontroller consists of the processor, the memory (RAM, ROM, EPROM), Serial ports, peripherals (timers, counters), etc. • They can be programmed to perform a wide range of tasks, making them ideal for use in everything from robotics to home automation systems.
  • 4. • Central processing unit (CPU) – Executes instructions & performs Calculations. • Memory – Used to store and retrieve data. • Random Access Memory (RAM) – Volatile, stores the data required to be processed • Read Only Memory (ROM) – Non-volatile, permanently stores the data • Input/Output (I/O) pins – Used to interact with external devices such as sensors or actuators. • Digital pins – Have two signals (High and Low) • Analog pins – Continuous values • Others • Other components of a microcontroller may include timers, counters, UART, PWM, and analog-to-digital converters (ADCs) – Used to measure and respond to changes in its environment.
  • 5. Serial and Parallel Communication
  • 6. • Serial and parallel communication are two methods used for transmitting data between devices. • Serial communication is a method of transmitting data one bit at a time over a single wire or channel. • In serial communication, the sender sends a stream of bits, one after the other, while the receiver decodes them into meaningful data. • Example: I2C, SPI, and USART are some serial communication protocol • Parallel communication is a method of transmitting multiple bits of data simultaneously using separate channels. • In this method, each bit of the data is transmitted through its own dedicated wire or channel. • This allows for faster data transfer rates as compared to serial communication.
  • 7. Choosing the right controller • Cost • Power Consumption • Processing power • Memory Size • Number of GPIO pins • Network Communication Types of Microcontroller • PIC microcontroller • ARM microcontroller • 8051 microcontroller • AVR microcontroller • MSP microcontroller
  • 8. Programming a Controller • Development Environment – like Arduino IDE, Cube • Programming Knowledge – C and C++ • Compilers • Microcontroller board – Arduino Uno, NodeMCU • Peripherals – Sensors, Actuators • Programming involves writing a set of instructions that tell the microcontroller what to do. • These instructions are written in a programming language such as C or Assembly. • Once you have written your program, you need to upload it to the microcontroller.
  • 9. Application of Microcontroller • Controlling machines, sensing and monitoring devices, and automated systems. • Many home automation systems rely on microcontrollers to control lighting, temperature, and security features. • In the automotive industry, microcontrollers are used in engine management systems, anti-lock brakes, and airbag deployment. • Even medical devices such as insulin pumps and pacemakers use microcontrollers to regulate the dosage and monitor vital signs.