Interfacing(USB – RS232 – I2c -ISP) Projects

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

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

How to interface LED with AVR Microcontroller (ATmega16)

ATmega16 has 32 I/O pins to communicate with external devices.  Before interfacing with external devices, these pins must be cofigured as input or output pin. This article demonstrates the basic I/O operation of ATmega 16 using LEDs. All the four ports can be configured to read an input from some external device or to give

How to interface LED with AVR Microcontroller (ATmega16) Read More »

How to interface keypad with AVR microcontroller (ATmega16)

Keypad is most widely used input device to provide input from the outside world to the microcontroller. The keypad makes an application more users interactive.  The concept of interfacing a keypad with the ATmega16 is similar to interfacing it with any other microcontroller. The article of Interfacing keypad with 8051 can be referred for detailed

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

How to use I2C / TWI (Two Wire Interface) in AVR ATmega32

This article explores the TWI interfacing between two ATmega32 controllers. Readers are advised to go through TWI Communication and TWI registers of ATmega32 before going further. TWI works in four modes: 1.        MASTER as a transmitter. 2.        MASTER as a receiver. 3.        SLAVE as a receiver. 4.        SLAVE as a transmitter. Generally modes 1 &

How to use I2C / TWI (Two Wire Interface) in AVR ATmega32 Read More »

How to take input from a particular pin of ATmega16

For understanding the human needs a system must be able to take input from user. The devices which can be used to take input for a system are keypad, touch screen, etc. In the article LED blinking, the microcontroller drives the LED or in embedded language the microcontroller was set to give o/p, this article gives

How to take input from a particular pin of ATmega16 Read More »

How to interface serial ADC0831 with AVR microcontroller (ATmega16)

ADC is an electronics device that converts the analog signals to digital number proportional to the magnitude of voltage. The ADC chips like ADC0804, ADC0809 etc., give 8-bit digital output. The controller device needs eight pins to receive the 8-bit data (For more details about ADC refer to Using Inbuilt ADC of AVR). Some applications

How to interface serial ADC0831 with AVR microcontroller (ATmega16) 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 »

Infrared Theremin Using Atmega1284

Introduction A modern-day twist on the classic theremin musical instrument. This project uses two IR sensors and the ATMEGA1284P microcontroller to create an inexepensive, easy-to-use theremin. The theremin is a musical instrument which is controlled by the electromagnetic field your body body produces naturally. One hand is used to control the volume of the instrument,

Infrared Theremin Using Atmega1284 Read More »

NFC Transmitter and Receiver Using Atmega1284

Introduction Our project is building one set of NFC module including a NFC transmitter and a NFC receiver both using ATmega1284p microcontroller. We will be using coupled coils to transmit message modulated by a high frequency carrier, whose frequency is the standard frequency for Near Field Communication (NFC) – 13.56MHz (Wikipedia, 2013). In our project,

NFC Transmitter and Receiver Using Atmega1284 Read More »

Scroll to Top