LCD Projects

Display custom characters on LCD using AVR Microcontroller (ATmega16)

This is the most interesting article to play with LCD. After going through the article, you can create any character/symbol which cannot be created using the ASCII values for example smiley. You can even create small games. Conventionally 16X2 LCD is use to display text or numerical values. It is possible to display special characters, […]

Display custom characters on LCD using AVR Microcontroller (ATmega16) Read More »

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

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

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

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 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 »

How To Write a Simple Bootloader For AVR In C language

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

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

Scroll to Top