Tutorials

0
A microcontroller is a small computer on a single integrated circuit. It contains a processor, memory, and programmable input/output peripherals. These days, you will find micro-controllers everywhere. If your printer has an LED or LCD screen and input buttons, it contains a microcontroller.


Microcontrollers


ATmega16 is an 8-bit high performance microcontroller of Atmel's Mega AVR family with low power consumption. ATmega16 is a 40 pin microcontroller. There are 32 I/O (input/output) lines which are divided into four 8-bit ports designated as PORTA, PORTB, PORTC and PORTD.


Atmega16 Microconroller



Pin 10 of Atmega16 is Vcc pin and must be powered using a 5V DC supply. Pins 11 & 31 are Ground(GND) Pins and must me connected to 0V line.


Appropriate code must be programmed into Atmega16 in order for it to function perfectly. In order to facilitate this we have 6 pins(MOSI, MISO, SCK, RESET, Vcc and Gnd) on Atmega16. These 6 pins must be connected with the corresponding pins on the Atmega 16 programmer. This Atmega 16 programmer can be connected to PC via USB cable.

USB Programmer

We can give input and receive output from Atmega16 using Input/Output PORTS. PORTS are collection of PINS. Each PORT consists of 8 I/O PINS.





Post a Comment

 
Top