SlideShare una empresa de Scribd logo
1 de 13
8-bit Microcontrollers Timer Programming
Timer Control Register
Timer Mode Register
Timer Modes ,[object Object],[object Object],[object Object],[object Object],[object Object]
Mode 1 Programming ,[object Object],[object Object],[object Object],[object Object],[object Object]
Clock source for timer ,[object Object],[object Object],Xtal Osc. ÷12
Find the timers clock frequency and its period for various 8051 based systems. ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Square wave of 50% duty Cycles(equal portions high and low) on P1.5 bit. ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Finding values to be loaded into the Timer ,[object Object],[object Object],[object Object],[object Object],[object Object]
XTAL= 11.0592Mhz  ,[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Delay calculation ,[object Object],[object Object]
Assignments  ,[object Object],[object Object],[object Object]

Más contenido relacionado

La actualidad más candente

Switched reluctance motor speed control using microcontroller
Switched reluctance motor speed control using microcontrollerSwitched reluctance motor speed control using microcontroller
Switched reluctance motor speed control using microcontrollerKrishnaraj Jadav
 
Loco Positioning System - FOSDEM 2017
Loco Positioning System - FOSDEM 2017Loco Positioning System - FOSDEM 2017
Loco Positioning System - FOSDEM 2017bitcraze
 
Ee443 phase locked loop - presentation - schwappach and brandy
Ee443   phase locked loop - presentation - schwappach and brandyEe443   phase locked loop - presentation - schwappach and brandy
Ee443 phase locked loop - presentation - schwappach and brandyLoren Schwappach
 
Turing Machine
Turing MachineTuring Machine
Turing MachineAyAn KhAn
 
Turing machine Introduction
Turing machine IntroductionTuring machine Introduction
Turing machine IntroductionAram Rafeq
 

La actualidad más candente (12)

Switched reluctance motor speed control using microcontroller
Switched reluctance motor speed control using microcontrollerSwitched reluctance motor speed control using microcontroller
Switched reluctance motor speed control using microcontroller
 
R Study LT 02
R Study LT 02R Study LT 02
R Study LT 02
 
Lab5
Lab5Lab5
Lab5
 
07 lecture
07 lecture07 lecture
07 lecture
 
Johnson Counter
Johnson CounterJohnson Counter
Johnson Counter
 
Session3
Session3Session3
Session3
 
Clock Skew 2
Clock Skew 2Clock Skew 2
Clock Skew 2
 
Loco Positioning System - FOSDEM 2017
Loco Positioning System - FOSDEM 2017Loco Positioning System - FOSDEM 2017
Loco Positioning System - FOSDEM 2017
 
Johnson counter
Johnson counterJohnson counter
Johnson counter
 
Ee443 phase locked loop - presentation - schwappach and brandy
Ee443   phase locked loop - presentation - schwappach and brandyEe443   phase locked loop - presentation - schwappach and brandy
Ee443 phase locked loop - presentation - schwappach and brandy
 
Turing Machine
Turing MachineTuring Machine
Turing Machine
 
Turing machine Introduction
Turing machine IntroductionTuring machine Introduction
Turing machine Introduction
 

Destacado

CEE startups in SV 2012
CEE startups in SV 2012CEE startups in SV 2012
CEE startups in SV 2012Oliver Holle
 
Proofs of Partial Knowledge and Simplified Design of Witness Hiding Protocols
Proofs of Partial Knowledge and Simplified Design of Witness Hiding ProtocolsProofs of Partial Knowledge and Simplified Design of Witness Hiding Protocols
Proofs of Partial Knowledge and Simplified Design of Witness Hiding ProtocolsMauricio Quezada
 
Manual
ManualManual
Manualalecx
 
Lo Cotidiano - Tomo II - Capitulos= La busqueda de la Luz - La Espera y la Es...
Lo Cotidiano - Tomo II - Capitulos= La busqueda de la Luz - La Espera y la Es...Lo Cotidiano - Tomo II - Capitulos= La busqueda de la Luz - La Espera y la Es...
Lo Cotidiano - Tomo II - Capitulos= La busqueda de la Luz - La Espera y la Es...inesalonsoares
 
Futuretronium Book 100.0 (The Revolution II)! By Andres Agostini at http://li...
Futuretronium Book 100.0 (The Revolution II)! By Andres Agostini at http://li...Futuretronium Book 100.0 (The Revolution II)! By Andres Agostini at http://li...
Futuretronium Book 100.0 (The Revolution II)! By Andres Agostini at http://li...Andres Agostini, Polymath Futurist
 
Speed invest inits public
Speed invest inits publicSpeed invest inits public
Speed invest inits publicOliver Holle
 
Startup leadership short
Startup leadership shortStartup leadership short
Startup leadership shortOliver Holle
 
[Script Documentation] Add reminders to spreadsheet
[Script Documentation] Add reminders to spreadsheet [Script Documentation] Add reminders to spreadsheet
[Script Documentation] Add reminders to spreadsheet Constantin Rusu
 
Línea de tiempo Movimiento Estudiantil 2011
Línea de tiempo Movimiento Estudiantil 2011Línea de tiempo Movimiento Estudiantil 2011
Línea de tiempo Movimiento Estudiantil 2011Mauricio Quezada
 
Google Apps for Education > Chapter 3: Customize Google Apps for your school
Google Apps for Education > Chapter 3: Customize Google Apps for your schoolGoogle Apps for Education > Chapter 3: Customize Google Apps for your school
Google Apps for Education > Chapter 3: Customize Google Apps for your schoolConstantin Rusu
 

Destacado (19)

CEE startups in SV 2012
CEE startups in SV 2012CEE startups in SV 2012
CEE startups in SV 2012
 
Prezentare fără titlu
Prezentare fără titluPrezentare fără titlu
Prezentare fără titlu
 
Samrat Patil
Samrat PatilSamrat Patil
Samrat Patil
 
Proofs of Partial Knowledge and Simplified Design of Witness Hiding Protocols
Proofs of Partial Knowledge and Simplified Design of Witness Hiding ProtocolsProofs of Partial Knowledge and Simplified Design of Witness Hiding Protocols
Proofs of Partial Knowledge and Simplified Design of Witness Hiding Protocols
 
Stir fry
Stir fryStir fry
Stir fry
 
Manual
ManualManual
Manual
 
Aspectos y seguridad
Aspectos y seguridadAspectos y seguridad
Aspectos y seguridad
 
Lo Cotidiano - Tomo II - Capitulos= La busqueda de la Luz - La Espera y la Es...
Lo Cotidiano - Tomo II - Capitulos= La busqueda de la Luz - La Espera y la Es...Lo Cotidiano - Tomo II - Capitulos= La busqueda de la Luz - La Espera y la Es...
Lo Cotidiano - Tomo II - Capitulos= La busqueda de la Luz - La Espera y la Es...
 
Futuretronium Book 100.0 (The Revolution II)! By Andres Agostini at http://li...
Futuretronium Book 100.0 (The Revolution II)! By Andres Agostini at http://li...Futuretronium Book 100.0 (The Revolution II)! By Andres Agostini at http://li...
Futuretronium Book 100.0 (The Revolution II)! By Andres Agostini at http://li...
 
Speed invest inits public
Speed invest inits publicSpeed invest inits public
Speed invest inits public
 
Startup leadership short
Startup leadership shortStartup leadership short
Startup leadership short
 
[Script Documentation] Add reminders to spreadsheet
[Script Documentation] Add reminders to spreadsheet [Script Documentation] Add reminders to spreadsheet
[Script Documentation] Add reminders to spreadsheet
 
Motivation(2)
Motivation(2)Motivation(2)
Motivation(2)
 
Doa untuk pelajar
Doa untuk pelajarDoa untuk pelajar
Doa untuk pelajar
 
Línea de tiempo Movimiento Estudiantil 2011
Línea de tiempo Movimiento Estudiantil 2011Línea de tiempo Movimiento Estudiantil 2011
Línea de tiempo Movimiento Estudiantil 2011
 
Google Apps for Education > Chapter 3: Customize Google Apps for your school
Google Apps for Education > Chapter 3: Customize Google Apps for your schoolGoogle Apps for Education > Chapter 3: Customize Google Apps for your school
Google Apps for Education > Chapter 3: Customize Google Apps for your school
 
Introduccion a AspectJ
Introduccion a AspectJIntroduccion a AspectJ
Introduccion a AspectJ
 
Step 2-chassis-air-bag
Step 2-chassis-air-bagStep 2-chassis-air-bag
Step 2-chassis-air-bag
 
Mga bahagi ng pahayagan
Mga bahagi ng pahayaganMga bahagi ng pahayagan
Mga bahagi ng pahayagan
 

Similar a Uc

Similar a Uc (20)

8051 Timer
8051 Timer8051 Timer
8051 Timer
 
Programming 8051 Timers
Programming 8051 Timers Programming 8051 Timers
Programming 8051 Timers
 
8051 ch9
8051 ch98051 ch9
8051 ch9
 
8051 timers--2
   8051 timers--2   8051 timers--2
8051 timers--2
 
5-Timer Mode 2 Programming-18-03-2024.pptx
5-Timer Mode 2 Programming-18-03-2024.pptx5-Timer Mode 2 Programming-18-03-2024.pptx
5-Timer Mode 2 Programming-18-03-2024.pptx
 
lecture 12 counter_microcontroller2.ppt
lecture 12 counter_microcontroller2.pptlecture 12 counter_microcontroller2.ppt
lecture 12 counter_microcontroller2.ppt
 
9 timer programming
9 timer programming9 timer programming
9 timer programming
 
8051 timer counter
8051 timer counter8051 timer counter
8051 timer counter
 
4.Timer_1.ppt
4.Timer_1.ppt4.Timer_1.ppt
4.Timer_1.ppt
 
MICROCONTROLLER TIMERS.ppt
MICROCONTROLLER TIMERS.pptMICROCONTROLLER TIMERS.ppt
MICROCONTROLLER TIMERS.ppt
 
8051 ch9-950217
8051 ch9-9502178051 ch9-950217
8051 ch9-950217
 
UNIT-5.ppt
UNIT-5.pptUNIT-5.ppt
UNIT-5.ppt
 
Microcontrollers-MODULE4.pptx
Microcontrollers-MODULE4.pptxMicrocontrollers-MODULE4.pptx
Microcontrollers-MODULE4.pptx
 
6-Interrupts Programming-27-03-2024.pptx
6-Interrupts Programming-27-03-2024.pptx6-Interrupts Programming-27-03-2024.pptx
6-Interrupts Programming-27-03-2024.pptx
 
Timers
TimersTimers
Timers
 
8051 timer counter
8051 timer counter8051 timer counter
8051 timer counter
 
8051 Timers and Counters
8051 Timers and Counters8051 Timers and Counters
8051 Timers and Counters
 
Class9
Class9Class9
Class9
 
TIMERS.pptx
TIMERS.pptxTIMERS.pptx
TIMERS.pptx
 
PIC-Chapter_10.pptx
PIC-Chapter_10.pptxPIC-Chapter_10.pptx
PIC-Chapter_10.pptx
 

Uc