03 timer

531 views

Published on

Timer

Published in: Technology, Design
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
531
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

03 timer

  1. 1. Timer/Counter Oleh : Amin Suharjono
  2. 2. Dasar Counter
  3. 3. Timer pada MCS-51 <ul><li>Terdiri 2 Timer/Counter 16 bit </li></ul><ul><ul><li>Seri 8x32/52 => (3 timer) </li></ul></ul><ul><li>Masing-masing sebagai Timer/Counter </li></ul><ul><li>Timer => sumber pulsa Clock Internal </li></ul><ul><li>Counter => sumber pulsa eksternal via T0/T1 (P3.4/P3.5) </li></ul><ul><li>Dikendalikan melalui program dengan mengatur SFR yang terkait </li></ul>
  4. 4. SFR terkait dengan Timer
  5. 5. Register TMOD
  6. 6. Memilih Mode Timer/Counter
  7. 7. Prinsip Kerja Mode Timer
  8. 8. Prinsip kerja Mode Timer (2)
  9. 9. Register TCON
  10. 10. Sumber Pulsa
  11. 11. Memulai dan Menghentikan TIMER
  12. 12. Skema Timer Mode 1
  13. 13. Contoh Aplikasi <ul><li>Generator Pulsa 10 KHz </li></ul>

×