Difference between revisions of "AVR Hardware and Software Setup"
Line 16: | Line 16: | ||
==Setting up Atmel Studio 6:== | ==Setting up Atmel Studio 6:== | ||
===Creating a new project=== | ===Creating a new project=== | ||
− | + | <gallery mode="packed-overlay"> | |
+ | File:Image001.png|Step 1 | ||
+ | File:Image002.png|Step 2 | ||
+ | File:Image003.png|Step 2 | ||
+ | File:Image004.png|Step 3 | ||
+ | File:Image005.png|Step 4 | ||
+ | File:Image006.png|Step 5 | ||
+ | File:Image007.png|Step 6 | ||
+ | </gallery> | ||
===Importing Library files=== | ===Importing Library files=== | ||
Line 33: | Line 41: | ||
File:Image010.png|Step 8 | File:Image010.png|Step 8 | ||
File:Image011.png|Step 9 | File:Image011.png|Step 9 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</gallery> | </gallery> | ||
{{Box|type=l_green_light|text= | {{Box|type=l_green_light|text= | ||
Line 54: | Line 55: | ||
* '''Step 8: '''The included library files can be seen in Solution Explorer on the right side. | * '''Step 8: '''The included library files can be seen in Solution Explorer on the right side. | ||
* '''Step 9: '''Compile the project by clicking on Build Solution from Build menu (or press F7). Project complies if there are no errors. If there are any errors fix them and re-compile. | * '''Step 9: '''Compile the project by clicking on Build Solution from Build menu (or press F7). Project complies if there are no errors. If there are any errors fix them and re-compile. | ||
+ | }} | ||
+ | <gallery mode="packed-overlay"> | ||
+ | File:Image012.png|Step 10 | ||
+ | File:Image013.png|Step 11 | ||
+ | File:Image014.png|Step 12 | ||
+ | File:Image015.png|Step 13 | ||
+ | File:Image016.png|Step 14 | ||
+ | File:Image017.png|Step 15 | ||
+ | File:Image018.png|Step 16 | ||
+ | </gallery> | ||
+ | ===Additional Configuration=== | ||
+ | {{Box|type=l_green_light|text= | ||
* '''Step 10: '''Configure the Controller Freq by selecting the project properties from Project menu.''' ''' | * '''Step 10: '''Configure the Controller Freq by selecting the project properties from Project menu.''' ''' | ||
** '''Note: '''As the Inbuilt delay routines as used the freq needs to be specified to generate accurate delays | ** '''Note: '''As the Inbuilt delay routines as used the freq needs to be specified to generate accurate delays |
Revision as of 11:46, 23 September 2014
Contents
Introduction:
In this tutorial we will look at the basic setup required to get started with AVR series of microcontrollers. There are two aspects to it, the software and the hardware. Fortunately, we for AVR there are free software tools available and even some of it is open-source! In this entire tutorial series we will be demonstrating the hardware on aspects on Ultra AVR Development board and also on breadboard and Starter AVR development board wherever possible. Having said that we will release all the schematics and code for you to hack and build on your own.
Software
Let’s talk about software first:
- Atmel Studio 6.2: This is complete software suite from Atmel; it is an integrated development Environment that allows you to write C/C++ programs, complies with a free AVRGCC compiler and produces hex files. You can download it here. Choose the download option according to your existing setup.
- The Programming Software: The programming SW is required to transfer hex file to the target MCU. There are various options available depending on the programmer you’re using. In this tutorial series we will be using Xplore Flash. There are other software that you could also try