Friday 21 November 2014

Pin Configuration


The above picture shows the pin configuration of the Atmega16 microcontroller. It is divided into 4 I/O ports - A,B,C,D. Each of these ports can be used be used a general input/output port. Also, these ports have some special functions. This is indicated in the brackets along with the pin name.

  • Port A : This port can be used as an ADC port, i.e, this port can be used to convert analog voltage levels to a digital signal.
                   
  • Port B :  This port will be used for programming the microcontroller.
  • Port C : This port is can be used for Two-Wire Interface. We will be using this port for most of the  general I/O operations.
  • Port D : This port can be used programming interrupts and performing USART operations.
The special functions of these ports is will be discussed in upcoming posts.

Pins Vcc, GND, and RESET are used to power the chip.

External oscillator can be connected in between XTAL1 and XTAL2.

No comments:

Post a Comment