Buildup circuit quickly with ATmega32

In this article, I’m going to tell you about how to buildup a demonstration module prior to our final project module, with some special components. Although demonstration module provide ease and flexibility for our final module, we can’t use all the special components in our demonstration module,for the final module.

I hope to discuss details under below -mentioned points here onwards.

01) what are the special component we need?

02)How to upload code into the microcontroller through the USBASP?

what are the special components we need?

→A development board that can connect to the ATmega32 chip

Development board

we use this only for our development board and for our final project we have to design a PCB(Printed Circuit Board).Therefore it is important for you to have the knowledge about the internal mechanism of this component. Using this board is not mandatory Although this gives you some facilities which are easy to use,it is not mandatory to use this. If you are not going to use this board you will have to assemble some components separately.

Refer to this link and add this module to your cart. < LINK >

→USB ASP cable

USB ASP Cable

When microcontroller and pc dealing with together, this module handy for us. If you use a development board, this module is very useful and makes perfect.

Refer to this link and add this module to your cart.<LINK>

How to upload code properly into the microcontroller through the USBASP?

I discuss this topic in 2 steps.

01-How to install drivers

First, you have to install drivers properly. Then you can install the uploader software and upload the code into your microcontroller.

First I discuss how to install drivers into your windows. I got two methods to install drivers.

First method

Here the link to download to drivers and special uploader software very easily.<LINK>

step 01-

Extract the file downloaded file.

step 02 -

Plug the USBAsp cable into your machine.

step 03-

Open the downloaded software.

step 04-

Go to the options tab and select List All Devices.

step 05 -

Drop down the list and select usbasp.

step 06-

Select libusb-win(v1.2.6.0) and make sure these changes correctly. Click the Replace Driver button.

After you can these steps. You can move to the uploading step.

Second method.

If you are unable to install drivers' first method you can try out this method also.

Here the link to download the drivers.<LINK>

step 01- Open the Device Manager on your computer.

step 02 -Find the icon of USBasp.

step 03- Right-click on that icon and then click on the update driver.

step 04- Click on the Browse my computer for drivers then browse the file which you downloaded.

step 03- Then select the libusb_0.1.12.1 file and click ok. Then click next to install that driver into your windows.

02- How to upload the hex file

After installing the drivers properly you can download and open the uploader software. This software named Progisp.After open that software you can see the interface window like this.

Here the link to download the software.<LINK>

The next step is to upload the code to our microcontroller. Actually, we don't upload the code in the chip. we upload the hex file which generates after the compile the code in Atmel studio. To upload that hex file, there are several steps to follow in the software.

step 01-

Click load flash button and browse the hex file.(This hex file is in your Atmel project file>debug)

step 02- Click Auto button to upload the code into the chip.

This is the procedure of how to install drivers and upload the hex file through progisp software. I think you get a proper understanding of these points.

Happy learning and be safe. :)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store