AVR ATmega Projects

How to Initialize Peripherals from Boot Loader Section

In almost all the microcontroller codes the peripheral initialization functions like uart initialization, spi initialization are written along with the different application codes. These initialization functions are actually repetitions of the original initialization functions. The same is the case with the external hardware initialization like LCD initialization, GSM modem initialization etc. Suppose the case in which […]

How to Initialize Peripherals from Boot Loader Section Read More »

How to Use SPM for Flash to Flash Programming

The Self Programming Mode (SPM) is a feature which enables a microcontroller to program its own flash memory. Using the SPM a microcontroller can program itself with an SPM code. The SPM is commonly used with the microcontroller Boot-Loader codes which help to program the microcontroller serially. In AVR microcontroller the SPM is available only for

How to Use SPM for Flash to Flash Programming Read More »

How To Use SPM To load Application from EEPROM

In any microcontroller the Boot-Loader is the first code which executes before the application code does. The major function of the Boot-Loader is to load the application code into the flash memory of the microcontroller and execute it. In AVR microcontroller the Self Programming Mode (SPM) helps the Boot-Loader to load a particular application from

How To Use SPM To load Application from EEPROM Read More »

Setup Arduino Software for Atmega328P with Internal Crystal on Breadboard

A breadboard Arduino will require an Atmega328P controller for these instructions. Note the “P” at the end of the name. You cannot use an Atmega328 because it has a slightly different device id number. It will require a different board configuration. Instructions for that are outside of this tutorial. Go to the Arduino tutorial website

Setup Arduino Software for Atmega328P with Internal Crystal on Breadboard Read More »

Make yourself a homemade clock with thermometer using ATMEGA128

In this step by step I wanna share my experiment with ATMEGA128 timer and interrupt using DS1307 and NTC to display homemade clock and thermometer. It displays hour,minute,second, day of week, day of month, month, and year, and the temperature in celcius Enjoy the project… Step 1: Prepare all the parts for this project This

Make yourself a homemade clock with thermometer using ATMEGA128 Read More »

Scroll to Top