MICROCONTROLLER Basically a microcontroller is a device which
MICROCONTROLLER Basically, a microcontroller is a device which integrates a number of the components of a microprocessor system onto a single microchip and optimized to interact with the outside world through on-board interfaces; i. e. it is a little gadget that houses a microprocessor, ROM (Read Only Memory), RAM (Random Access Memory), I/O (Input Output functions), and various other specialized circuits all in one package.
Aplikasi Microcontrollers adalah sangat luas dan mencakup berbagai kebutuhan elektronik, seperti: Sistim management engine otomotif, keyboard PC, alat ukur elektronik (digital multimeters, frequencysynthesisers, dan oscilloscopes), printer, Televisions, radios, CD players, perangkat tape recording, Hearing aids, Security alarm systems, fire alarm systems, and building services systems
Microcontroller vs Microprocessor Microcontroller's fundamental components Single Cip Computer (SCC)
MICROPROCESSOR MICROCONTROLLER Keuntungan: 1. Dapat diupgrade 2. Jika salah satu komponen rusak dapat langsung diganti sesuai kerusakan Keuntungan: 1. Tempat ringkas 2. Harga murah 3. Pemrograman mudah Kerugian: 1. Perlu ruang besar 2. Harga mahal 3. Pemrograman sulit Kerugian: 1. Jika salah satu komponen rusak langsung diganti sesuai baru
Analog to Digital Converter (ADC)
Input/Output (I/O)
AVR Advanced Versatile RISC Advanced Virtual RISC Alf and Vegard (Alf-Egil Bogel and Vegard Wollan)
Basic families of AVRs Keluarga asli AT 90 xxxx Keluarga Atmega, untuk aplikasi komplek Keluarga Attiny, untuk skala-kecil (smallscale)
Basic families of AVRs
Atmel’s Test Results Processor Compiled Code Size (bytes) Execution Time (cycles) AVR 46 335 8051 112 9, 384 PIC 16 C 74 87 2, 492 68 HC 11 57 5, 244
Interfacing
AVR RISC / Harvard Developed in Norway Licensed to Atmel (http: //www. atmel. com) Powerful microcontroller designed for small applications Very low power operation 118 instructions
Konfigurasi Pin ATMega 8535
- Slides: 13