ATMEGA328 Standalone Project
Install Arduino Minicore Open Arduino IDE Click File-Preferences Additional Board Manager URL enter the Link //mcudude.github.io/MiniCore/package_MCUdude_MiniCore_index.json click OK. Go to Tools-Boards- Board Manager type Minicore- Minicore MCU dude Version 2.1.3 click Install, After installation close and restart Arduino IDE. Circuit Diagram for Burn Bootloader to Atmega328 microcontroller Go to Tools and Follow these setting For Burn bootloader Circuit Diagram for Upload a Sketch to Atmega328 microcontroller Go to Tools and Follow the setting for Upload a sketch to Atmega 328 int del = 50; //defining delay value (0.1 second) int del1 = 1000; //defining delay value (1 second) void setup() { // put your setup code here, to run once: pinMode(0, OUTPUT);//defining pins (0-13) as Outputs pinMode(1, OUTPUT); pinMode(2, OUTPUT); pinMode(3, OUTPUT); pinMode(4, OUTPUT); pinMode(5, OUTPUT); pinMode(6, OUTPUT); pinMode(7, OUTPUT); pinMode(8, OUTPUT); pinMode(9, OUTPUT);