Line 9: Line 9:
 
[[file:2_AVR_hookup.png]]
 
[[file:2_AVR_hookup.png]]
  
=Code=
+
=Software Setup=
 +
In this tutorial series we are using [http://exploreembedded.com/wiki/index.php?title=Using_XploreFlash_For_USBasp_based_Programmer Xplore Flash] to transfer the hex file to the target MCU.
 +
Steps below show how to trasfer the hex file to the MCU using Xplore Flash.
 +
 
 +
 
 +
* '''Step 1:''' Open the Xplore Flash and select programmer as "Arduino" .''''' '''
 +
 
 +
* '''Step 2: '''Connect the AVR breakout board to computer through USB to serial breakout so it will detect as a COM port.Select a COM port and set baud rate“19200” .''''' '''
 +
 
 +
* '''Step 3: '''Click on "detect" ,it will detect the MCU as "ATmega32".''''' '''
 +
 
 +
* '''Step 4'': '''After detecting the MCU browse the hex file .''
 +
 
 +
* '''Step 5: '''Then just click on "Go". it will erases, Flashes and verifies the hex file.''''' '''
 +
 
 +
 
 +
 
 +
 
=Demo=
 
=Demo=
 
=Downloads=
 
=Downloads=

Revision as of 18:34, 28 March 2016

In this tutorial we will look at the basic setup required to get started with AVR breakout board. After completion of this basic setup we can interface peripherals with the breakout board. 0 AVR breakout.PNG

Basics

1 AVR breakout.PNG The AVR 40 pin breakout board can be used with all AVR 40 pin micro-controllers like ATmega16,ATmega32 etc. This breakout board comes with male header soldered so it can be fit easily on breadboard and perf board. The breakout board has ATmega32 MCU with pre-flashed UART bootloader. so it eliminates the use of external programmer. We use the external USB to Serial breakout for flashing the program through serial port.connect this breakout to USB to serial header of AVR breakout board indicated as '1' in above diagram.

HookUp

2 AVR hookup.png

Software Setup

In this tutorial series we are using Xplore Flash to transfer the hex file to the target MCU. Steps below show how to trasfer the hex file to the MCU using Xplore Flash.


  • Step 1: Open the Xplore Flash and select programmer as "Arduino" .
  • Step 2: Connect the AVR breakout board to computer through USB to serial breakout so it will detect as a COM port.Select a COM port and set baud rate“19200” .
  • Step 3: Click on "detect" ,it will detect the MCU as "ATmega32".
  • Step 4: After detecting the MCU browse the hex file .
  • Step 5: Then just click on "Go". it will erases, Flashes and verifies the hex file.



Demo

Downloads