Interfacing LCD Module with AVR in 4-Bit Mode

john October 11, 2017 1 Comment
This article is another step forward in learning more about AVR microcontrollers. We have demonstrated interfacing of LCD module with ATmega328 microcontroller, which will help you to learn its basic concepts. ATmega328 is an eight bit AVR (Advanced Virtual RISC) based microcontroller. It is a powerful microcontroller with a built-in  internal memory of around 32Kb. Atmega 328 has only 28 pins. Therefore it have only limited number of  GPIO pins. While  designing complex projects we need sufficient number of...
read more

Simple LED Projects Using AVR Microcontroller

john October 11, 2017 1 Comment
This article is another step forward in learning more about AVR microcontrollers. We have demonstrated 3 simple LED based projects using ATmega328 microcontroller, which will help you to learn its basic concepts. ATmega328 is an eight bit AVR (Advanced Virtual RISC) based microcontroller. It is a powerful microcontroller with a built-in  internal memory of around 32Kb. Most Arduino boards consist of an Atmel 8-bit AVR microcontroller with varying amounts of flash memory, pins, and features. Arduino Uno is a...
read more
Circuit Diagram - Password Based Keypad Door Lock

Keypad Door Lock using AVR Microcontroller – Atmega16

john September 10, 2017 No Comments
Password Based Keypad Door Lock  In this article, a digitally secured lock based on password verification is explained. The system uses a seven segment display array to show the password, a matrix keypad to enter the numbers/password and operates a relay (to activate the solenoid valve) for locking and unlocking purpose. The system alarms through a buzzer if a wrong password is entered for 3 times continuously and an SMS is sent to a predefined contact number. The password...
read more

Bluetooth Home Automation using AVR and Android App

jojo September 27, 2017 1 Comment
DIY-Bluetooth based Home Automation Project In this project, let’s see how to design a Bluetooth based home automation project.This article explains the steps involved in the designing of a Bluetooth home automation kit, starting from the configuration of a Bluetooth module. The article also explains how to select an App, read the keywords sent by the App and how to develop a microcontroller program compatible with the selected App. Program file and Program code are provided, which can be...
read more

How to Use ADC (Analog to Digital Converter) in AVR – Atmega32

jojo May 19, 2017 2 Comments
Using LM35 Sensor and Atmega32 ADC to measure Temperature Analog to digital conversion is generally needed whenever we deal with a sensor that produces an analog output (for example: LM35 temperature sensor), which is the case for a wide range of sensors. When dealing with such sensors we have to convert the analog signal coming out of them into digital words of ones and zeros so that our microcontroller can process it and make decisions based on it. In...
read more

Interface 7 Segment Display to AVR Atmega32 using CD4511B

jojo April 5, 2017 2 Comments
Seven Segment Display operation using Atmega32 and CD4511B Seven segment display is a frequently used device found in several applications such as queuing systems, some types of clocks and calculators. So in this article, we explain how to Interface a 7 Segment Display to the AVR Atmega32 MCU and get it working. Note: We have published several other interfacing tutorials of 7 segment displays like Interfacing 7 segment to 8051, Interfacing  Arduino to 7 Segment Display, and a Proteus...
read more

DC Motor Speed Control using PWM in AVR Atmega32

jojo March 24, 2017 2 Comments
How to control DC motor speed using PWM on Atmega32 Using PWM (Pulse Width Modulation) to control a device is a common practice in embedded systems; for example, you can use it to control the light intensity of a LED or control the speed of a DC motor. In this article, we will explain how to get a PWM from the AVR Atmega32 and we shalll apply the output PWM to a small DC motor to vary its speed. In...
read more

How to Interface an External EEPROM with AVR Atmega32

jojo March 13, 2017 No Comments
In this article, we will explain how to communicate to an external EEPROM from the AVR Atmega32 MCU using the I2C communication protocol. So let’s begin our tutorial on how to interface an EEPROM (AT24C16A) with AVR Atmega32. You will usually need an external EEPROM when your system has a certain set of user configurable settings that you need to save even when the system is powered off; so that the system starts with these configurations the next time...
read more

AVR Microcontroller Tutorial – The complete guide to learn AVR

jojo September 29, 2012 5 Comments
We have developed a complete guide to learn AVR microcontroller – a tutorial which teaches the architecture,pin diagram,how to program an avr micro controller, how to work with ADC of avr, how to work with SPI of avr,interfacing LCD with avr, the avr gcc library, how to work with external interrupts, how to establish a USART communication etc. We have also developed a simple project to try your hands on – a frequency counter circuit built using Avr Atmega8....
read more

How to work with the ADC unit of an AVR Micro-controller

Mathew Kevin July 9, 2017 3 Comments
Introduction                 The first step to digital signal processing is to convert a signal into digital data, and here the Analog to Digital Converter devices comes into action. Some of the AVR micro controllers include ADC unit in their features. This is a very useful unit for measurement related applications. The ADC used in AVR micro controllers are of successive approximation converter type. Read the Wikipedia article on SAR type ADC here. And you can read the Circuitstoday article...
read more