code

SPM for Flash to Flash Programming

How to Use SPM for Flash to Flash Programming Using Atmega

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 the code […]

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

External Hardware Interrupts

How to use External (Hardware) Interrupts of AVR Microcontroller (ATmega16)

This article introduces the concept of interrupts and the different types of interrupts in AVR Microcontroller (ATmega16). Interrupt as the name suggests, interrupts the current routine of the microcontroller. Microcontroller executes instructions in a sequence as per the programs. Sometimes there may be a need of handling planned and higher priority events instantaneously that might occur during the

How to use External (Hardware) Interrupts of AVR Microcontroller (ATmega16) Read More »

JTAG

How to disable JTAG of AVR microcontroller using Atmega

JTAG stands for “Joint Test Action Group” which was standardized as the IEEE 1149.1 Standard Test Access Port and Boundary-Scan Architecture in 1990. JTAG is generally used in IC debugging and device programming. Atmega16 consists of one JTAG port which shares four pins with PORTC. Until JTAG port is not disabled, these pins can’t be used as normal I/O pins.

How to disable JTAG of AVR microcontroller using Atmega Read More »

interface RFID

How to interface RFID with AVR microcontroller (ATmega16)

Knowingly or unknowingly the RFID technology is used by us in our day to day life. The most familiar example is seen in MNCs, schools and offices for daily attendance or automatic door opening system. The RFID contains two parts, namely, tag and receiver modem. When an RFID tag comes in the range of receiver, the tag gets

How to interface RFID with AVR microcontroller (ATmega16) Read More »

USART RS232 protocol.

How to interface AVR microcontroller with PC using USART (RS232 protocol) using Atmega

This article covers data transmission using 8 bit USART. The readers should have a basic understanding of serial communication and how to receive the serial data output. More  details on these topics  are available on Serial communication using AVR Microcontroller USART. The registers of USART system are already explained in previous article. Before transmitting the data,

How to interface AVR microcontroller with PC using USART (RS232 protocol) using Atmega Read More »

Interfacing Serial Bluetooth Modem with Computer

Interfacing Serial Bluetooth Modem with Computer using ATmega16

This article would give you a general idea about how to setup and interface any Bluetooth modem with your computer. There are many types of Bluetooth modems available in market, which vary in quality, cost, range, etc. Some of the well known Serial Bluetooth modems are AUBTM, BLUESMIRF, RN-41, HC-05 and HC-04. I would be using

Interfacing Serial Bluetooth Modem with Computer using ATmega16 Read More »