Skip to main content

Posts

Showing posts with the label Microcontroller

ATmega328 Microcontroller

ATMEGA328P is high performance, low power controller from Microchip. ATMEGA328P is an 8-bit microcontroller based on AVR RISC architecture. It is the most popular of all AVR controllers as it is used in ARDUINO boards. ATMega328 Microcontroller Pin Configuration ATMEGA328P is a 28 pin chip as shown in pin diagram above. Many pins of the chip here have more than one function. We will describe functions of each pin in below table. Pin No. Pin name Description Secondary Function 1 PC6 (RESET) Pin6 of  PORTC Pin by default is used as RESET pin. PC6 can only be used as I/O pin when RSTDISBL Fuse is programmed. 2 PD0 (RXD) Pin0  of  PORTD RXD (Data Input Pin for USART) USART Serial Communication Interface [Can be used for programming] 3 PD1 (TXD) Pin1 of  PORTD TXD (Data Output Pin for USART) USART Serial Communication Interface [Can be used for programming] INT2( External Interrupt 2 Input) 4 PD2 (INT0) Pin...