ATMega32 Tutorial Series 1- (Setting up the environment)

This tutorial series will be based onthis amazing guide created byShehan Munasinghe . If you’re a beginner there are several terminologies you should be familiar about, otherwise these terms will make no sense.

To continue interacting with this tutorial series you’ll need the following basic modules/components

  1. ATMega32 MCU
  2. ProgrammerAVR Minimum System Board (ATMega 16/32)  ( even without having this component you can program the MCU on a breadboard. to see how to make the necessary connections with the USBasp on breadboard,https://circuitdigest.com/microcontroller-projects/led-blinking-with-atmega32[read thi] s)
  3. USBASP (USB programmer for Atmel AVR controllers)
  4. A Windows Laptop ;)  (in case you need to continue in unix environment checkthis guide to see which toolchains need to be installed)

Setting up the Environment

  1. The IDE we’ll be using here is Atmel Studio 7, which you can downloadhere and install. It supports a vast number of Atmel microcontrollers so we can use it to build the code.
  2. Download and InstallWinAVR
  3. The next step is to download the USBasp drivers which you can findhere . You will find a zip file, and extract it to some temporary directory.
  4. Then Connect the USBasp to your computer and follow the steps shown in the video

Figure 1: (selecting drivers for USBasp for the first time)