Fully Functioning Arduino with Atmega8

By IKTech May 29, 2017

In this episode we will see how to create a Fully Functioning Arduino with just a simple Atmega8. There are several disadvantages of the traditional Arduino boards.

First, the price of the Arduino boards is very high. As a result, a lot of money is spent even after making some.

Second, the Arduino boards are big in size. As a result, when you create a project, it becomes very big for no reason. Which is not desirable.

Third, creating a PCB with the Arduino board is a big problem. To create a PCB with the Arduino board, the rail has to connect the Arduino with the PCB, and this often causes problems in connection with the connection.

Another major problem of traditional Arduino boards in the market is the 7805 voltage regulator IC of the Arduino board itself. Generally when the robotics is done, 7805 ICs become hot after turning the motor. In many cases IC is burnt.

The only way to avoid these problems is by single-chip arduino board. The matter is very simple. Today we will talk about it. All we have to do is add the below part to boards.txt file located in the Arduino-1.0.5 \ hardware \ arduino folder.

############################################ ############

Atmega8_shadly.name = Arduino D15
Atmega8_shadly.upload.protocol = arduino
Atmega8_shadly.upload.maximum_size = 7680 atmega8_shadly.upload.speed = 9600
Atmega8_shadly.bootloader.low_fuses = 0xe4
Atmega8_shadly.bootloader.high_fuses = 0xd9
Atmega8_shadly.bootloader.unlock_bits = 0x3F
Atmega8_shadly.bootloader.lock_bits = 0x0F
Atmega8_shadly.build.mcu = atmega8
Atmega8_shadly.build.f_cpu = 8000000L
Atmega8_shadly.build.core = arduino
Atmega8_shadly.build.variant = standard

################################################## ############

First we need to select Arduino D15 from our boards.
Fully Functioning Arduino with Atmega8

Fully Functioning Arduino with Atmega8

Then select the programmer from USBasp.
Fully Functioning Arduino – D15 Technologies with Atmega8

Fully Functioning Arduino – D15 Technologies with Atmega8

Arduino-D15-Programmer Now run the program to burn. Put the microcontroller in the USBSP programmer and write your code and click on Upload Use Programmer, the program will burn at Atmega8.
Fully Functioning Arduino – D15 Technologies with Atmega8

Fully Functioning Arduino – D15 Technologies with Atmega8

In this method, the use of the Arduino does not require a microcontroller to bootloader. So unnecessary bootloader microcontrollers do not have to spend valuable places of Flash.

The following diagrams of how Atmega8’s Pin Arduino works.

Fully Functioning Arduino – D15 Technologies with Atmega8

One thing to remember is that the AVcc, Agnd and ARF pins must be connected to + 5V, GND and + 5V respectively, if Arduino is created in this way. Otherwise it can be seen that Arduino is not working properly. This is because the ADW is done by default in the Arduino. If you want, if you close the ADC code, then it will work.

Leave a Reply

Your email address will not be published.