Close
Login to Your Account
Faadooengineers

Basics of AVR microcontroller (specialy Atmega16)

  1. pdas204
    pdas204
    -> RISC Architecture 8-bit Micro controller

    RISC stands for reduced instruction set controller. that means it require less no of instruction for programming than CISC architecture

    ->32 x 8 General Purpose Working Registers

    ->Fully Static Operation, up to 16 MIPS Throughput at 16 MHz

    static operation means it will require a indefinite loop for its operation in programing

    ->Nonvolatile Program and Data Memories

    ->16K Bytes of In-System Self-Programmable Flash, Endurance: 10,000 Write/Erase Cycles

    ->Two 8-bit Timer/Counters with Separate Prescalers and Compare Modes and One 16-bit Timer/Counter with Separate Prescaler, Compare Mode, and Capture Mode

    ->Four PWM Channels

    ->8-channel, 10-bit ADC

    ->32 Programmable I/O Lines
  2. pdas204
    pdas204
    Atmega16 can be programmed in two way
    1. using assembly language programming
    2. using c language
    letter is easy for writing complex programs. for c we need one integrated development environment(IDE). avr ide is one of the best software for that and it is free to download and easy. this software is freely available in atmel's website or one can easily find by just googling this. in next post we will see how to install it and use it. please give me your coment for improvement.....
  3. pdas204
    pdas204
    AVR Studio 4 is a professional Integrated Development Environment (IDE) for writing and debugging AVR applications in Windows 9x/NT/2000/XP environments. First download avr studio 4 from one of these sites:
    1. Atmel Corporation: Atmel Corporation - Home
    2. AVR Freaks: AVR Freaks
    After installing AVR Studio 4 on your computer.


    Step 1: Open AVR Studio 4 IDE. You should see the program banner .

    Step 2: When IDE opens, you will see the programming and simulator environment as well as a
    dialog box (Figure 3) requesting information: are you starting a new project or opening a saved
    project?


    Step 3: Click on the “New Project” button

    Step 4: In the next dialog box, choose the Atmel AVR Assembler as the project type:

    step5: then give the project name and continue
  4. pdas204
    pdas204
    A general c program has view like this:

    # header file
    function()
    {
    }
    main()
    {
    .....
    ......
    }

    but since atmega 16 is fullly static we have to give a infinite loop inside the main program to execute the program on a continuous manner.Such as

    when(1)
    {
    ........
    ........
    }

    since c is a well known language to all of us i will try to describe how to program atmega16 in c language.
  5. amogh_jes
    amogh_jes
    simplified tutorial easy to understand
Results 1 to 5 of 5

Send Birthday Wish
Send Birthday Wish
  • ashish sehrawat
    Branch : Electronics Engineering

    ashish sehrawat

  • Ankur Vyas
    Branch : Information Technology Engineering

    Ankur Vyas

  • shiv patil
    Branch : Some other branch

    shiv patil

  • rockerkeyur
    Branch : Computer Science Engineering

    rockerkeyur

  • milica
    Branch : Bio-Tech Engineering

    milica

  • sfaisalaliuit
    Branch : Computer Science Engineering

    sfaisalaliuit

  • Prateek Punj
    Branch : Aeronautical Engineering

    Prateek Punj

  • nithin1995
    Branch : Electronics Engineering

    nithin1995

  • ABHISHEK26
    Branch : Information Technology Engineering

    ABHISHEK26

  • bharathk

    bharathk

  • richajain

    richajain

  • Ansif
    Branch : Aeronautical Engineering

    Ansif

  • ankur22292
    Branch : Mechanical Engineering

    ankur22292

  • akhilgopinath
    Branch : Electronics Engineering

    akhilgopinath

  • rajhans singh
    Branch : Electrical Engineering

    rajhans singh

  • cityboy

    cityboy

  • harimech461
    Branch : Mechanical Engineering

    harimech461

  • eakesh007
    Branch : Computer Science Engineering

    eakesh007

  • shafeequeka

    shafeequeka

  • khurramali

    khurramali

  • deepakloveguru

    deepakloveguru

  • rajeshts

    rajeshts

  • busyakanksha
    Branch : Computer Science Engineering

    busyakanksha

  • narsini karthik

    narsini karthik

  • prerna225
    Branch : Electrical Engineering

    prerna225

  • jucelo
    Branch : Electronics Engineering

    jucelo

  • shahid202

    shahid202

  • nishikant kumar

    nishikant kumar

  • Rahuldang00
    Branch : Electronics Engineering

    Rahuldang00

  • hemprakashsahu
    Branch : Mechanical Engineering

    hemprakashsahu

  • ankitprasad034
    Branch : THIS DOES NOT APPLY ON ME!

    ankitprasad034

  • PRADEEP BAGOTIA
    Branch : Computer Science Engineering

    PRADEEP BAGOTIA

  • Rohitjaiswal
    Branch : Mechanical Engineering

    Rohitjaiswal

  • donglin
    Branch : Electrical Engineering

    donglin

  • raj chopra
    Branch : Mechanical Engineering

    raj chopra

  • Gaurav22yadav
    Branch : Computer Science Engineering

    Gaurav22yadav

  • sameeer
    Branch : Information Technology Engineering

    sameeer

  • shabeer khan

    shabeer khan

  • kundusiddharth
    Branch : Electronics Engineering

    kundusiddharth

  • prathyusha.sunkari
    Branch : Electronics Engineering

    prathyusha.sunkari

  • nipra
    Branch : Computer Science Engineering

    nipra

  • mahesar
    Branch : Aeronautical Engineering

    mahesar

  • jitendra dangi
    Branch : Electronics Engineering

    jitendra dangi

  • vidyasp
    Branch : Electronics Engineering

    vidyasp

  • raj22
    Branch : Computer Science Engineering

    raj22

  • hogr.ghafur
    Branch : THIS DOES NOT APPLY ON ME!

    hogr.ghafur

  • srjmohanty
    Branch : Computer Science Engineering

    srjmohanty

  • amitkcs036

    amitkcs036

  • Suprit routray
    Branch : Electrical Engineering

    Suprit routray

  • keerthana mathavan
    Branch : Electronics Engineering

    keerthana mathavan

  • mr karthik

    mr karthik

  • jitendra dangi
    Branch : Electronics Engineering

    jitendra dangi

  • RAJIV KUMAR ROY
    Branch : Information Technology Engineering

    RAJIV KUMAR ROY

  • ManoharKg
    Branch : Computer Science Engineering

    ManoharKg

  • sumitnayak12
    Branch : Mechanical Engineering

    sumitnayak12

  • fayshal
    Branch : Aeronautical Engineering

    fayshal

  • VPS2012
    Branch : Electronics Engineering

    VPS2012

  • ronak soni
    Branch : Electronics Engineering

    ronak soni

  • ayluu
    Branch : Electrical Engineering

    ayluu

  • shikhar22
    Branch : THIS DOES NOT APPLY ON ME!

    shikhar22

  • saipavan naralasetti
    Branch : Civil Engineering

    saipavan naralasetti

  • mycoo
    Branch : Civil Engineering

    mycoo

  • Vasanth

    Vasanth

  • harpreetsingh58
    Branch : Mechanical Engineering

    harpreetsingh58

  • wajid.ec
    Branch : Electronics Engineering

    wajid.ec

  • cityboy

    cityboy

  • Rahulsyal
    Branch : Electronics Engineering

    Rahulsyal

  • manisekar.vinoth

    manisekar.vinoth

  • nitinsharma22
    Branch : Mechanical Engineering

    nitinsharma22

  • vijitha222

    vijitha222

  • JOYDIP ROY
    Branch : Computer Science Engineering

    JOYDIP ROY

  • wishal
    Branch : Electrical Engineering

    wishal

  • vipul220291
    Branch : Mechanical Engineering

    vipul220291

  • Beau_KE

    Beau_KE

  • janjhel1907
    Branch : Electrical Engineering

    janjhel1907

  • akv.abhishek kumar verma
    Branch : Civil Engineering

    akv.abhishek kumar verma

  • aaingalalli
    Branch : Mechanical Engineering

    aaingalalli

  • tokala anoop kumar
    Branch : Electronics Engineering

    tokala anoop kumar

  • Spoorthi Venkatesh
    Branch : Information Technology Engineering

    Spoorthi Venkatesh

  • raouf
    Branch : THIS DOES NOT APPLY ON ME!

    raouf

  • DhawalSrivastava

    DhawalSrivastava

  • coolpratik142

    coolpratik142

  • mukeshkannan91
    Branch : Mechanical Engineering

    mukeshkannan91

  • santoshmore1993
    Branch : Some other branch

    santoshmore1993

  • daline1990
    Branch : Mechanical Engineering

    daline1990

  • ayluu
    Branch : Electrical Engineering

    ayluu

  • yuvi.RJ

    yuvi.RJ

  • dilip.kaushik99

    dilip.kaushik99

  • perlin

    perlin

  • kunal23
    Branch : Electronics Engineering

    kunal23

  • anujoy
    Branch : Civil Engineering

    anujoy

  • jenny wong
    Branch : Electronics Engineering

    jenny wong

  • manojman
    Branch : Information Technology Engineering

    manojman

  • SANSHAG

    SANSHAG

  • olihoops
    Branch : Computer Science Engineering

    olihoops

  • srini_visak
    Branch : Instrumentation Engineering

    srini_visak

  • Bela Chakraborty
    Branch : Computer Science Engineering

    Bela Chakraborty

  • shikhar22
    Branch : THIS DOES NOT APPLY ON ME!

    shikhar22

  • vbsie
    Branch : Mechanical Engineering

    vbsie

  • gowtammuktevi68
    Branch : Mechanical Engineering

    gowtammuktevi68

×

Send Birthday wish

Send Wish