HDD analog clock with LCD touchscreen

HDD analog clock with LCD touchscreen Using Atmel Mega32

Introduction The clock is one of the oldest inventions in human history and has been used for centuries as in instrument for measuring time. There are many ways to implement this ancient technology by simple and practical methods. However, simplicity and practicality were not among the goals of this project. Instead, the project is intended …

HDD analog clock with LCD touchscreen Using Atmel Mega32 Read More »

FTIR Touchscreen Device

DJ Multitouch — A FTIR Touchscreen Device Using Atmega644

Overview The DJ Touch is a portable turntable touchscreen and interactive LED display. Our end goal was to produce a low cost touchscreen device, and demonstrate its application in a common consumer application. Out of an interest in electronic music, and with the knowledge of deejaying’s close roots to electronics, we decided to develop a touch screen turntable. The …

DJ Multitouch — A FTIR Touchscreen Device Using Atmega644 Read More »

Electronic Voting Machine

Electronic Voting Machine using Internal EEPROM of AVR Using Atmega

The microcontroller based voting machines made the process of voting and counting the voted lot easier than before. Previously the votes were marked in paper which are then stored safely in a box and inside a well secure room for days. The process of separating the votes and counting them manually may take a lot of days. …

Electronic Voting Machine using Internal EEPROM of AVR Using Atmega Read More »

Simple Bootloader For AVR In C language

How To Write a Simple Bootloader For AVR In C language Using Atmega

The BootLoader is a code which executes when a microcontroller is powered ON or reset. It basically sets an environment for the application code to execute. It is the Boot-Loader that sets the hardware and loads the application code from any storage medium or received through external communication and let the application to execute. Thus a Boot-Loader has to …

How To Write a Simple Bootloader For AVR In C language Using Atmega Read More »

SPM To load Application from EEPROM 1

How To Use SPM To load Application from EEPROM Using Atmega

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 where the application binary is stored.The …

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

Initialize Peripherals from Boot Loader Section

How to Initialize Peripherals from Boot Loader Section Using Atmega

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 Using Atmega Read More »

Boot Loader Section

How to Program in Boot Loader Section Using Atmega

In the AVR microcontroller the flash memory is divided into two parts, namely Application Section and Boot Loader Section.  A code can be programmed into either the Application Section or the Boot loader Section (BLS). The code programmed into the Application section runs normally and is used for common applications, whereas the code running in the BLS is …

How to Program in Boot Loader Section Using Atmega Read More »

Serial communication USART

Serial communication (USART) with different frame size using AVR microcontroller using atmega

The previous article explains serial communication using 8-bit data transfer. AVR microcontroller also supports serial data transfer with frame size of 5, 6, 7 and 9 data bits. The size of data frame can be adjusted according to application. For example, consider a system that needs to transmit only ASCII codes as data. In this case data frame size …

Serial communication (USART) with different frame size using AVR microcontroller using atmega Read More »