SlideShare a Scribd company logo
MICROCONTROLLER
MCS-51:
APPLICATIONS
Arkhom JODTANG
Civil Aviation Training Center
1
Microcontroller Applications
Contents
 Operation voltage of MCS51
 Input / Output Port Register
 Connecting to various Output Devices
 LEDs
 Double LEDs
 RGB-LED
 7-Segment
 Matrix LCD Display
 Transistors (Current Amplification)
 Relays
 Servo Motors
 Stepper Motor
2
Operation voltage of MCS51
 Operation voltage of MCS51 is 5 volts and
microcontroller work in digital concept, so all
input, output and communication devices to
attaching to port 1, 2 and 3 must work on 5
volts too.
 Except port 0 (Open collector), Load able to
connect with any level of supply able to drain
current to ground with port 0. Make sure that
drain current not over specification.
3
Port 0 (Open collector property)
Make sure that drain current not over
specification.
4
Microcontroller
Microcontroller
Relay
Input / Output Port Register
Relative register of Port 0 is P0
Relative register of Port 1 is P1
Relative register of Port 2 is P2
Relative register of Port 3 is P3
Any input, Output and Communication
devices connect to ports of MCS51
Input devices: current value of relative
register are equal to signal given from
input devices.
Such as MOV Acc, P2
Output Devices: Send data to
connected output devices by assign
value to relative register of ports.
Such as MOV P1, Acc
5
Output Devices6
LEDs
7
Double LEDs
ON: LED RED
MOV P2, #00000001B
ON: LED GREEN
MOV P2, #10000000B
8
RGB LEDs
Ground
P1.0
P1.1
P1.2
With PWM the LED is turned
on and off many times per
second. By adjusting duty
percentage, the brightness of
each color the LED can be
controlled.
Image from: en.wikipedia.org
Image from: www.protostack.com/blog/2011/06/atmega168a-pulse-width-modulation-pwm/
9
7-Segment Display
10
http://www.buildcircuit.com/digital-object-counter/
Matrix LCD Display
11
Transistors (as a Current
Amplification)
Images form
http://www.w9xt.com/page_microdesign_pt7_transistor_switching.html
Coil
load
12
Relay
13
Servo Motor
Image from: www.arduitronics.com Image from: inexglobal.com
A servo is a device that will provide actuation for a mechanical system. They
come in many different shapes, sizes and detail specifications such Torque,
Speed and Capable rotation angle. The servo has three input wires. A pair
for a 4-6 VDC supply and a wire for signal control of the arm (PWM : Pulse
Width Modulation)
Supply (+)
Ground (0 V.)
Signal Control
14
Servo Motor
15
Servo Motor
https://robomark.wordpress.com/tag/robotics-servo-dspic/
16
Servo Motor (RC Aircraft)
http://www.rcgroups.com/forums/showthread.php?t=1812847
17
Servo Motor (RC Aircraft)
http://arxangelrc.blogspot.com/2014/04/volantexrc-firstar-impressive-mini-pusher-park-flyer.html
18
Servo Motor (RC Aircraft)
http://arxangelrc.blogspot.com/2014/04/volantexrc-firstar-impressive-mini-pusher-park-flyer.html
19
Stepper Motor
Image from: http://www.matrixtsl.com/courses/itm/index.php?n=AddingOutputs.StepperMotors Image from: https://www.super-tech.com/root/itm.asp?p1=ITM-MOTORS
Stepper motors work in a different way to the motors just discussed. Instead
of rotating smoothly, they do so in 'steps'. A control pulse is needed to make
the motor move to the next position. The advantage of this is that the
rotation can be precisely controlled - ten pulses means a rotation through
ten steps. With a conventional motor, it is pot-luck where it stops spinning.
20
Stepper Motor
Image from: http://www.matrixtsl.com/courses/itm/index.php?n=AddingOutputs.StepperMotors
a
b
c
d
21
Such as
• Dual Motor Driver
Circuit Module22
Dual Motor Driver
THIS L293D DRIVER MODULE IS A MEDIUM POWER MOTOR DRIVER
PERFECT FOR DRIVING DC MOTORS AND STEPPER MOTORS. IT
USES THE POPULAR L293D MOTOR DRIVER IC. IT CAN DRIVE 4 DC
MOTORS IN ONE DIRECTION, OR DRIVE 2 DC MOTORS IN BOTH
THE DIRECTIONS.
23

More Related Content

What's hot

Intrerfacing i
Intrerfacing iIntrerfacing i
Intrerfacing i
Mohamed Bedair
 
Programming the Digital I/O Interface of a PIC microcontroller
Programming the Digital I/O Interface of a PIC microcontrollerProgramming the Digital I/O Interface of a PIC microcontroller
Programming the Digital I/O Interface of a PIC microcontrollerCorrado Santoro
 
Microcontroller 8051 and its interfacing
Microcontroller 8051 and its interfacingMicrocontroller 8051 and its interfacing
Microcontroller 8051 and its interfacing
Ankur Mahajan
 
Pic microcontrollers for_beginners
Pic microcontrollers for_beginnersPic microcontrollers for_beginners
Pic microcontrollers for_beginners
Praveen Chary
 
Embedded systems and its ports
Embedded systems and its portsEmbedded systems and its ports
Embedded systems and its ports
nitin kumar
 
Atmega16 Microconntroller Data sheet
Atmega16 Microconntroller Data sheetAtmega16 Microconntroller Data sheet
Atmega16 Microconntroller Data sheet
Microtech Solutions
 
Allen bradley
Allen bradleyAllen bradley
Allen bradley
AKANSHA GURELE
 
RF based Wireless Robot using 8051 Microcontroller
RF based Wireless Robot using 8051 MicrocontrollerRF based Wireless Robot using 8051 Microcontroller
RF based Wireless Robot using 8051 Microcontroller
Rahul Kumar
 
Traffic light controller
Traffic light controllerTraffic light controller
Traffic light controller
Rkrishna Mishra
 
8-bit PIC Microcontrollers
8-bit PIC Microcontrollers8-bit PIC Microcontrollers
8-bit PIC Microcontrollers
Premier Farnell
 
8051 Microcontroller ppt
8051 Microcontroller ppt8051 Microcontroller ppt
8051 Microcontroller ppt
Rahul Kumar
 
PIC introduction + mapping
PIC introduction + mappingPIC introduction + mapping
PIC introduction + mapping
OsaMa Hasan
 
PIC Microcontroller
PIC MicrocontrollerPIC Microcontroller
PIC Microcontroller
Divya Bansal
 
Atmel 2486-8-bit-avr-microcontroller-atmega8 l-datasheet
Atmel 2486-8-bit-avr-microcontroller-atmega8 l-datasheetAtmel 2486-8-bit-avr-microcontroller-atmega8 l-datasheet
Atmel 2486-8-bit-avr-microcontroller-atmega8 l-datasheet
sang2792
 
Traffic signal
Traffic signalTraffic signal
Traffic signal
Riaz Gul Sheikh
 
1346 A Single Chip Microcomputer
1346 A Single Chip Microcomputer1346 A Single Chip Microcomputer
1346 A Single Chip Microcomputer
techbed
 
174085193 pic-prgm-manual
174085193 pic-prgm-manual174085193 pic-prgm-manual
174085193 pic-prgm-manual
Arun Shan
 
Analog I/O in PIC16F877A
Analog I/O in PIC16F877AAnalog I/O in PIC16F877A
Analog I/O in PIC16F877A
Mohamed Bedair
 

What's hot (20)

atmega8
atmega8atmega8
atmega8
 
Intrerfacing i
Intrerfacing iIntrerfacing i
Intrerfacing i
 
Programming the Digital I/O Interface of a PIC microcontroller
Programming the Digital I/O Interface of a PIC microcontrollerProgramming the Digital I/O Interface of a PIC microcontroller
Programming the Digital I/O Interface of a PIC microcontroller
 
Microcontroller 8051 and its interfacing
Microcontroller 8051 and its interfacingMicrocontroller 8051 and its interfacing
Microcontroller 8051 and its interfacing
 
Pic microcontrollers for_beginners
Pic microcontrollers for_beginnersPic microcontrollers for_beginners
Pic microcontrollers for_beginners
 
Embedded systems and its ports
Embedded systems and its portsEmbedded systems and its ports
Embedded systems and its ports
 
Atmega16 Microconntroller Data sheet
Atmega16 Microconntroller Data sheetAtmega16 Microconntroller Data sheet
Atmega16 Microconntroller Data sheet
 
Allen bradley
Allen bradleyAllen bradley
Allen bradley
 
Traffic light control
Traffic light controlTraffic light control
Traffic light control
 
RF based Wireless Robot using 8051 Microcontroller
RF based Wireless Robot using 8051 MicrocontrollerRF based Wireless Robot using 8051 Microcontroller
RF based Wireless Robot using 8051 Microcontroller
 
Traffic light controller
Traffic light controllerTraffic light controller
Traffic light controller
 
8-bit PIC Microcontrollers
8-bit PIC Microcontrollers8-bit PIC Microcontrollers
8-bit PIC Microcontrollers
 
8051 Microcontroller ppt
8051 Microcontroller ppt8051 Microcontroller ppt
8051 Microcontroller ppt
 
PIC introduction + mapping
PIC introduction + mappingPIC introduction + mapping
PIC introduction + mapping
 
PIC Microcontroller
PIC MicrocontrollerPIC Microcontroller
PIC Microcontroller
 
Atmel 2486-8-bit-avr-microcontroller-atmega8 l-datasheet
Atmel 2486-8-bit-avr-microcontroller-atmega8 l-datasheetAtmel 2486-8-bit-avr-microcontroller-atmega8 l-datasheet
Atmel 2486-8-bit-avr-microcontroller-atmega8 l-datasheet
 
Traffic signal
Traffic signalTraffic signal
Traffic signal
 
1346 A Single Chip Microcomputer
1346 A Single Chip Microcomputer1346 A Single Chip Microcomputer
1346 A Single Chip Microcomputer
 
174085193 pic-prgm-manual
174085193 pic-prgm-manual174085193 pic-prgm-manual
174085193 pic-prgm-manual
 
Analog I/O in PIC16F877A
Analog I/O in PIC16F877AAnalog I/O in PIC16F877A
Analog I/O in PIC16F877A
 

Viewers also liked

LeverX - A Comprehensive Guide to SAP PLM 7.01
LeverX - A Comprehensive Guide to SAP PLM 7.01LeverX - A Comprehensive Guide to SAP PLM 7.01
LeverX - A Comprehensive Guide to SAP PLM 7.01
LeverX
 
Enterprise Management with Microsoft Technologies
Enterprise Management with Microsoft TechnologiesEnterprise Management with Microsoft Technologies
Enterprise Management with Microsoft TechnologiesAmit Gatenyo
 
Microsoft Dynamics NAV 2009 R2
Microsoft Dynamics NAV 2009 R2Microsoft Dynamics NAV 2009 R2
Microsoft Dynamics NAV 2009 R2Softera Baltic
 
Cheap HPC
Cheap HPCCheap HPC
Cheap HPC
Alex Moore
 
Introduction to-microprocessors
Introduction to-microprocessorsIntroduction to-microprocessors
Introduction to-microprocessorsmudulin
 
Microsoft dynamics navision 2009 r2
Microsoft dynamics navision 2009 r2Microsoft dynamics navision 2009 r2
Microsoft dynamics navision 2009 r2nikhil patel
 
Microprocessors-based systems (under graduate course) Lecture 1 of 9
Microprocessors-based systems (under graduate course) Lecture 1 of 9 Microprocessors-based systems (under graduate course) Lecture 1 of 9
Microprocessors-based systems (under graduate course) Lecture 1 of 9
Randa Elanwar
 
079 Network Programming
079 Network Programming079 Network Programming
079 Network Programming
Dr Fereidoun Dejahang
 
Parallel Programming in .NET
Parallel Programming in .NETParallel Programming in .NET
Parallel Programming in .NETSANKARSAN BOSE
 
ECESLU Microprocessors lecture 2
ECESLU Microprocessors lecture 2ECESLU Microprocessors lecture 2
ECESLU Microprocessors lecture 2
Jeffrey Des Binwag
 
ECESLU Microprocessors Lecture 3
ECESLU Microprocessors Lecture 3ECESLU Microprocessors Lecture 3
ECESLU Microprocessors Lecture 3
Jeffrey Des Binwag
 
SharePoint PerformancePoint 101
SharePoint PerformancePoint 101SharePoint PerformancePoint 101
SharePoint PerformancePoint 101
Matthew Carter
 
.Net 4.0 Threading and Parallel Programming
.Net 4.0 Threading and Parallel Programming.Net 4.0 Threading and Parallel Programming
.Net 4.0 Threading and Parallel Programming
Alex Moore
 
ECESLU Microprocessors lecture
ECESLU Microprocessors lecture ECESLU Microprocessors lecture
ECESLU Microprocessors lecture
Jeffrey Des Binwag
 
Motherboard, It's Functions and It's Components
Motherboard, It's Functions and It's ComponentsMotherboard, It's Functions and It's Components
Motherboard, It's Functions and It's Components
PreSolutions Softwares
 
It workshop Presentation
It workshop PresentationIt workshop Presentation
It workshop Presentation
Sharat Chandu
 
Chapter 2: Microprocessors
Chapter 2: MicroprocessorsChapter 2: Microprocessors
Chapter 2: Microprocessors
Best of Learning Technologies
 
What Is ERP And How To Go About It
What Is ERP And How To Go About ItWhat Is ERP And How To Go About It
What Is ERP And How To Go About It
Nauman Majeed
 

Viewers also liked (20)

LeverX - A Comprehensive Guide to SAP PLM 7.01
LeverX - A Comprehensive Guide to SAP PLM 7.01LeverX - A Comprehensive Guide to SAP PLM 7.01
LeverX - A Comprehensive Guide to SAP PLM 7.01
 
Enterprise Management with Microsoft Technologies
Enterprise Management with Microsoft TechnologiesEnterprise Management with Microsoft Technologies
Enterprise Management with Microsoft Technologies
 
Microsoft Dynamics NAV 2009 R2
Microsoft Dynamics NAV 2009 R2Microsoft Dynamics NAV 2009 R2
Microsoft Dynamics NAV 2009 R2
 
Cheap HPC
Cheap HPCCheap HPC
Cheap HPC
 
Introduction to-microprocessors
Introduction to-microprocessorsIntroduction to-microprocessors
Introduction to-microprocessors
 
Microsoft dynamics navision 2009 r2
Microsoft dynamics navision 2009 r2Microsoft dynamics navision 2009 r2
Microsoft dynamics navision 2009 r2
 
Microprocessors-based systems (under graduate course) Lecture 1 of 9
Microprocessors-based systems (under graduate course) Lecture 1 of 9 Microprocessors-based systems (under graduate course) Lecture 1 of 9
Microprocessors-based systems (under graduate course) Lecture 1 of 9
 
079 Network Programming
079 Network Programming079 Network Programming
079 Network Programming
 
Microprocessor Systems
Microprocessor Systems Microprocessor Systems
Microprocessor Systems
 
Parallel Programming in .NET
Parallel Programming in .NETParallel Programming in .NET
Parallel Programming in .NET
 
ECESLU Microprocessors lecture 2
ECESLU Microprocessors lecture 2ECESLU Microprocessors lecture 2
ECESLU Microprocessors lecture 2
 
ECESLU Microprocessors Lecture 3
ECESLU Microprocessors Lecture 3ECESLU Microprocessors Lecture 3
ECESLU Microprocessors Lecture 3
 
SharePoint PerformancePoint 101
SharePoint PerformancePoint 101SharePoint PerformancePoint 101
SharePoint PerformancePoint 101
 
.Net 4.0 Threading and Parallel Programming
.Net 4.0 Threading and Parallel Programming.Net 4.0 Threading and Parallel Programming
.Net 4.0 Threading and Parallel Programming
 
ERP, SAP
ERP, SAPERP, SAP
ERP, SAP
 
ECESLU Microprocessors lecture
ECESLU Microprocessors lecture ECESLU Microprocessors lecture
ECESLU Microprocessors lecture
 
Motherboard, It's Functions and It's Components
Motherboard, It's Functions and It's ComponentsMotherboard, It's Functions and It's Components
Motherboard, It's Functions and It's Components
 
It workshop Presentation
It workshop PresentationIt workshop Presentation
It workshop Presentation
 
Chapter 2: Microprocessors
Chapter 2: MicroprocessorsChapter 2: Microprocessors
Chapter 2: Microprocessors
 
What Is ERP And How To Go About It
What Is ERP And How To Go About ItWhat Is ERP And How To Go About It
What Is ERP And How To Go About It
 

Similar to Microprocessor Week 10: Applications

Ace datasheet
Ace datasheetAce datasheet
Ace datasheet
Rémi GUILBERT
 
D132027
D132027D132027
D132027
irjes
 
PLCandSCADA.pdf
PLCandSCADA.pdfPLCandSCADA.pdf
PLCandSCADA.pdf
ssuser6cedd3
 
Plc presentation
Plc presentationPlc presentation
Plc presentation
Nits Sharma
 
Touchpad Monitored Car
Touchpad Monitored CarTouchpad Monitored Car
Touchpad Monitored Car
IOSR Journals
 
Touchpad Monitored Car
Touchpad Monitored Car Touchpad Monitored Car
Touchpad Monitored Car
IOSR Journals
 
QuickSilver Controls QCI-DS031 QCI-N2-IX
QuickSilver Controls QCI-DS031 QCI-N2-IXQuickSilver Controls QCI-DS031 QCI-N2-IX
QuickSilver Controls QCI-DS031 QCI-N2-IX
Electromate
 
Continuous Liquid Level Controller
Continuous Liquid Level ControllerContinuous Liquid Level Controller
Continuous Liquid Level Controller
Rahul Kalra
 
Advanced Three Phase PWM Inverter Control Using Microcontroller
Advanced Three Phase PWM Inverter Control Using MicrocontrollerAdvanced Three Phase PWM Inverter Control Using Microcontroller
Advanced Three Phase PWM Inverter Control Using Microcontroller
IOSR Journals
 
Basic PLC.ppt
Basic PLC.pptBasic PLC.ppt
Basic PLC.ppt
Ashish Deotale
 
ELECTRICAL ENGINEERING PROJECT
ELECTRICAL ENGINEERING PROJECTELECTRICAL ENGINEERING PROJECT
ELECTRICAL ENGINEERING PROJECT
vasav2204
 
electrical engineering project
electrical engineering projectelectrical engineering project
electrical engineering project
vasav2204
 
Lecture 10.cont,11 (plc)
Lecture 10.cont,11 (plc)Lecture 10.cont,11 (plc)
Lecture 10.cont,11 (plc)
Mohamed Atef
 
Industrial automation using programmable logic controller (plc)
Industrial automation using programmable logic controller (plc)Industrial automation using programmable logic controller (plc)
Industrial automation using programmable logic controller (plc)
Saumya Ranjan Behura
 
plc-amp-scada-ppt.pptx
plc-amp-scada-ppt.pptxplc-amp-scada-ppt.pptx
plc-amp-scada-ppt.pptx
ADITYAGAUTAM364270
 
Black Box for a Car
Black Box for a CarBlack Box for a Car
Black Box for a Car
subrat manna
 

Similar to Microprocessor Week 10: Applications (20)

Ace datasheet
Ace datasheetAce datasheet
Ace datasheet
 
D132027
D132027D132027
D132027
 
PLCandSCADA.pdf
PLCandSCADA.pdfPLCandSCADA.pdf
PLCandSCADA.pdf
 
Plc presentation
Plc presentationPlc presentation
Plc presentation
 
Touchpad Monitored Car
Touchpad Monitored CarTouchpad Monitored Car
Touchpad Monitored Car
 
Touchpad Monitored Car
Touchpad Monitored Car Touchpad Monitored Car
Touchpad Monitored Car
 
QuickSilver Controls QCI-DS031 QCI-N2-IX
QuickSilver Controls QCI-DS031 QCI-N2-IXQuickSilver Controls QCI-DS031 QCI-N2-IX
QuickSilver Controls QCI-DS031 QCI-N2-IX
 
Continuous Liquid Level Controller
Continuous Liquid Level ControllerContinuous Liquid Level Controller
Continuous Liquid Level Controller
 
Advanced Three Phase PWM Inverter Control Using Microcontroller
Advanced Three Phase PWM Inverter Control Using MicrocontrollerAdvanced Three Phase PWM Inverter Control Using Microcontroller
Advanced Three Phase PWM Inverter Control Using Microcontroller
 
Basic PLC.ppt
Basic PLC.pptBasic PLC.ppt
Basic PLC.ppt
 
ELECTRICAL ENGINEERING PROJECT
ELECTRICAL ENGINEERING PROJECTELECTRICAL ENGINEERING PROJECT
ELECTRICAL ENGINEERING PROJECT
 
electrical engineering project
electrical engineering projectelectrical engineering project
electrical engineering project
 
Lecture 10.cont,11 (plc)
Lecture 10.cont,11 (plc)Lecture 10.cont,11 (plc)
Lecture 10.cont,11 (plc)
 
Industrial automation using programmable logic controller (plc)
Industrial automation using programmable logic controller (plc)Industrial automation using programmable logic controller (plc)
Industrial automation using programmable logic controller (plc)
 
Módulo adc 18f4550
Módulo adc   18f4550Módulo adc   18f4550
Módulo adc 18f4550
 
Basic PLC.ppt
Basic PLC.pptBasic PLC.ppt
Basic PLC.ppt
 
plc-amp-scada-ppt.pptx
plc-amp-scada-ppt.pptxplc-amp-scada-ppt.pptx
plc-amp-scada-ppt.pptx
 
plc-amp-scada-ppt.pptx
plc-amp-scada-ppt.pptxplc-amp-scada-ppt.pptx
plc-amp-scada-ppt.pptx
 
Badal sharma
Badal sharmaBadal sharma
Badal sharma
 
Black Box for a Car
Black Box for a CarBlack Box for a Car
Black Box for a Car
 

More from Arkhom Jodtang

Microprocessor Week 9: Timer and Counter
Microprocessor Week 9: Timer and CounterMicroprocessor Week 9: Timer and Counter
Microprocessor Week 9: Timer and Counter
Arkhom Jodtang
 
Microprocessor Week 8: Advance programming
Microprocessor Week 8: Advance programmingMicroprocessor Week 8: Advance programming
Microprocessor Week 8: Advance programming
Arkhom Jodtang
 
Microprocessor Week 8: Subroutine
Microprocessor Week 8: Subroutine Microprocessor Week 8: Subroutine
Microprocessor Week 8: Subroutine
Arkhom Jodtang
 
Microprocessor Week2: Data Transfer
Microprocessor Week2: Data TransferMicroprocessor Week2: Data Transfer
Microprocessor Week2: Data Transfer
Arkhom Jodtang
 
Microprocessor Week 2: CH2 Circuit and Operation
Microprocessor Week 2: CH2 Circuit and OperationMicroprocessor Week 2: CH2 Circuit and Operation
Microprocessor Week 2: CH2 Circuit and Operation
Arkhom Jodtang
 
Microprocessor Week1: Introduction
Microprocessor Week1: IntroductionMicroprocessor Week1: Introduction
Microprocessor Week1: Introduction
Arkhom Jodtang
 
Microprocessor laboratory 03 Arithmetic Operation (Additional and Subtraction)
Microprocessor laboratory 03 Arithmetic Operation (Additional and Subtraction)Microprocessor laboratory 03 Arithmetic Operation (Additional and Subtraction)
Microprocessor laboratory 03 Arithmetic Operation (Additional and Subtraction)
Arkhom Jodtang
 
Microprocessor Week 4-5 MCS-51 Arithmetic operation
Microprocessor Week 4-5 MCS-51 Arithmetic operationMicroprocessor Week 4-5 MCS-51 Arithmetic operation
Microprocessor Week 4-5 MCS-51 Arithmetic operation
Arkhom Jodtang
 
Use of Computer & IT, Laboratory MS Word
Use of Computer & IT, Laboratory MS WordUse of Computer & IT, Laboratory MS Word
Use of Computer & IT, Laboratory MS Word
Arkhom Jodtang
 
Microprocessor Laboratory 2: Logical instructions
Microprocessor Laboratory 2: Logical instructionsMicroprocessor Laboratory 2: Logical instructions
Microprocessor Laboratory 2: Logical instructions
Arkhom Jodtang
 
Microprocessor: Delay technique
Microprocessor: Delay techniqueMicroprocessor: Delay technique
Microprocessor: Delay technique
Arkhom Jodtang
 
Distance Measuring Car
Distance Measuring CarDistance Measuring Car
Distance Measuring Car
Arkhom Jodtang
 
Microprocessor Week 7: Branch Instruction
Microprocessor Week 7: Branch InstructionMicroprocessor Week 7: Branch Instruction
Microprocessor Week 7: Branch Instruction
Arkhom Jodtang
 
Tamech 2013 Presentation
Tamech 2013 PresentationTamech 2013 Presentation
Tamech 2013 Presentation
Arkhom Jodtang
 
Electronics & Avionics project
Electronics & Avionics projectElectronics & Avionics project
Electronics & Avionics project
Arkhom Jodtang
 

More from Arkhom Jodtang (15)

Microprocessor Week 9: Timer and Counter
Microprocessor Week 9: Timer and CounterMicroprocessor Week 9: Timer and Counter
Microprocessor Week 9: Timer and Counter
 
Microprocessor Week 8: Advance programming
Microprocessor Week 8: Advance programmingMicroprocessor Week 8: Advance programming
Microprocessor Week 8: Advance programming
 
Microprocessor Week 8: Subroutine
Microprocessor Week 8: Subroutine Microprocessor Week 8: Subroutine
Microprocessor Week 8: Subroutine
 
Microprocessor Week2: Data Transfer
Microprocessor Week2: Data TransferMicroprocessor Week2: Data Transfer
Microprocessor Week2: Data Transfer
 
Microprocessor Week 2: CH2 Circuit and Operation
Microprocessor Week 2: CH2 Circuit and OperationMicroprocessor Week 2: CH2 Circuit and Operation
Microprocessor Week 2: CH2 Circuit and Operation
 
Microprocessor Week1: Introduction
Microprocessor Week1: IntroductionMicroprocessor Week1: Introduction
Microprocessor Week1: Introduction
 
Microprocessor laboratory 03 Arithmetic Operation (Additional and Subtraction)
Microprocessor laboratory 03 Arithmetic Operation (Additional and Subtraction)Microprocessor laboratory 03 Arithmetic Operation (Additional and Subtraction)
Microprocessor laboratory 03 Arithmetic Operation (Additional and Subtraction)
 
Microprocessor Week 4-5 MCS-51 Arithmetic operation
Microprocessor Week 4-5 MCS-51 Arithmetic operationMicroprocessor Week 4-5 MCS-51 Arithmetic operation
Microprocessor Week 4-5 MCS-51 Arithmetic operation
 
Use of Computer & IT, Laboratory MS Word
Use of Computer & IT, Laboratory MS WordUse of Computer & IT, Laboratory MS Word
Use of Computer & IT, Laboratory MS Word
 
Microprocessor Laboratory 2: Logical instructions
Microprocessor Laboratory 2: Logical instructionsMicroprocessor Laboratory 2: Logical instructions
Microprocessor Laboratory 2: Logical instructions
 
Microprocessor: Delay technique
Microprocessor: Delay techniqueMicroprocessor: Delay technique
Microprocessor: Delay technique
 
Distance Measuring Car
Distance Measuring CarDistance Measuring Car
Distance Measuring Car
 
Microprocessor Week 7: Branch Instruction
Microprocessor Week 7: Branch InstructionMicroprocessor Week 7: Branch Instruction
Microprocessor Week 7: Branch Instruction
 
Tamech 2013 Presentation
Tamech 2013 PresentationTamech 2013 Presentation
Tamech 2013 Presentation
 
Electronics & Avionics project
Electronics & Avionics projectElectronics & Avionics project
Electronics & Avionics project
 

Recently uploaded

Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
Kamal Acharya
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
nooriasukmaningtyas
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
nooriasukmaningtyas
 
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
Mukeshwaran Balu
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
jpsjournal1
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
aqil azizi
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
symbo111
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.pptPROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
bhadouriyakaku
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Soumen Santra
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
drwaing
 
Online aptitude test management system project report.pdf
Online aptitude test management system project report.pdfOnline aptitude test management system project report.pdf
Online aptitude test management system project report.pdf
Kamal Acharya
 

Recently uploaded (20)

Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
 
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.pptPROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
 
Online aptitude test management system project report.pdf
Online aptitude test management system project report.pdfOnline aptitude test management system project report.pdf
Online aptitude test management system project report.pdf
 

Microprocessor Week 10: Applications

  • 2. Microcontroller Applications Contents  Operation voltage of MCS51  Input / Output Port Register  Connecting to various Output Devices  LEDs  Double LEDs  RGB-LED  7-Segment  Matrix LCD Display  Transistors (Current Amplification)  Relays  Servo Motors  Stepper Motor 2
  • 3. Operation voltage of MCS51  Operation voltage of MCS51 is 5 volts and microcontroller work in digital concept, so all input, output and communication devices to attaching to port 1, 2 and 3 must work on 5 volts too.  Except port 0 (Open collector), Load able to connect with any level of supply able to drain current to ground with port 0. Make sure that drain current not over specification. 3
  • 4. Port 0 (Open collector property) Make sure that drain current not over specification. 4 Microcontroller Microcontroller Relay
  • 5. Input / Output Port Register Relative register of Port 0 is P0 Relative register of Port 1 is P1 Relative register of Port 2 is P2 Relative register of Port 3 is P3 Any input, Output and Communication devices connect to ports of MCS51 Input devices: current value of relative register are equal to signal given from input devices. Such as MOV Acc, P2 Output Devices: Send data to connected output devices by assign value to relative register of ports. Such as MOV P1, Acc 5
  • 8. Double LEDs ON: LED RED MOV P2, #00000001B ON: LED GREEN MOV P2, #10000000B 8
  • 9. RGB LEDs Ground P1.0 P1.1 P1.2 With PWM the LED is turned on and off many times per second. By adjusting duty percentage, the brightness of each color the LED can be controlled. Image from: en.wikipedia.org Image from: www.protostack.com/blog/2011/06/atmega168a-pulse-width-modulation-pwm/ 9
  • 12. Transistors (as a Current Amplification) Images form http://www.w9xt.com/page_microdesign_pt7_transistor_switching.html Coil load 12
  • 14. Servo Motor Image from: www.arduitronics.com Image from: inexglobal.com A servo is a device that will provide actuation for a mechanical system. They come in many different shapes, sizes and detail specifications such Torque, Speed and Capable rotation angle. The servo has three input wires. A pair for a 4-6 VDC supply and a wire for signal control of the arm (PWM : Pulse Width Modulation) Supply (+) Ground (0 V.) Signal Control 14
  • 17. Servo Motor (RC Aircraft) http://www.rcgroups.com/forums/showthread.php?t=1812847 17
  • 18. Servo Motor (RC Aircraft) http://arxangelrc.blogspot.com/2014/04/volantexrc-firstar-impressive-mini-pusher-park-flyer.html 18
  • 19. Servo Motor (RC Aircraft) http://arxangelrc.blogspot.com/2014/04/volantexrc-firstar-impressive-mini-pusher-park-flyer.html 19
  • 20. Stepper Motor Image from: http://www.matrixtsl.com/courses/itm/index.php?n=AddingOutputs.StepperMotors Image from: https://www.super-tech.com/root/itm.asp?p1=ITM-MOTORS Stepper motors work in a different way to the motors just discussed. Instead of rotating smoothly, they do so in 'steps'. A control pulse is needed to make the motor move to the next position. The advantage of this is that the rotation can be precisely controlled - ten pulses means a rotation through ten steps. With a conventional motor, it is pot-luck where it stops spinning. 20
  • 21. Stepper Motor Image from: http://www.matrixtsl.com/courses/itm/index.php?n=AddingOutputs.StepperMotors a b c d 21
  • 22. Such as • Dual Motor Driver Circuit Module22
  • 23. Dual Motor Driver THIS L293D DRIVER MODULE IS A MEDIUM POWER MOTOR DRIVER PERFECT FOR DRIVING DC MOTORS AND STEPPER MOTORS. IT USES THE POPULAR L293D MOTOR DRIVER IC. IT CAN DRIVE 4 DC MOTORS IN ONE DIRECTION, OR DRIVE 2 DC MOTORS IN BOTH THE DIRECTIONS. 23