AVR microcontrollers are the advanced microcontrollers. From 1996 onwards these are come into existence. In AVR family there are so many controllers are available. Mainly the AVR family is sub grouped as ATmega, ATtiny, Xmega, UC3, SAM3 and SAM4. In these form 8 to 32 bit controllers are available. All the controllers having some common and some different features, those are coming to common features all are having I/O ports, timer/counters, interrupts and etc, coming to special features those are A/D converters, PWM, D/A converter, on chip I2C, serial communication interfacings, on chip EEPROM and etc. we can use all these features according to our requirement by programming.







Steps for Programming


Project Source Code
###
/* * AVRIO1.c * * Created: 10-10-2013 Prince 10:46:28 * Author: Vinnu */
#include <avr/io.h>
#include <util/delay.h>int main(void)
{
DDRC=0x01;
DDRD=0x00;
PORTC=0x00;
PORTD=0x00;
while(1)
{
PORTC=0x01;
if (PIND & 0x01)
{
PORTC=0x00;
_delay_ms(100);
}
}
}###
Project Video
Filed Under: Electronic Projects
Filed Under: Electronic Projects
Questions related to this article?
👉Ask and discuss on Electro-Tech-Online.com and EDAboard.com forums.
Tell Us What You Think!!
You must be logged in to post a comment.