Tuesday, 21 June 2016

How to make a new project in AVR Studio 4

Steps for making a new project in AVR Studio 4:


Step 1: From file menu click on project. Under project select project wizard
project wizard in avr studio 4
Project Wizard

                   Step 2: Click on new project then click next



new project in avr studio
New project
                     Step 3: In this step, first of all select avr gcc compiler since we are writing in c                                                 language. Then tick on both the options.In next step, choose directory as per    your choice. 

select directory in avr studio
Directory

                     Step 4: In this step, first of all select avr simulator then scroll down to choose                                                    microcontroller. In this case, we are using atmega 16. After that click on finish.                                    We are ready to write our first program i.e. led blinking. 
controller selection in avr studio
Controller selection


                     Step 5: Write our first program. Then compile it. If there is no error in syntax our                                              hex file will be generated. 

program in avr studio
Program
Hope you had enjoyed the tutorial. In the next tutorial, we will simulate this program in proteus. Stay tuned for more updates !!







No comments:

Post a Comment