Interfacing HC-SR04 Ultrasonic Distance Sensor with ATmega32 Microcontroller

Introduction This project uses an ultrasonic sensor to indicate the distance of any object from it. Here we have made a setup based on microcontroller in which real time distance is sensed by an ultrasonic sensor and microcontroller displays measured distance on LCD display. Required Components ATmega 32 Microcontroller HC-SR04 Ultrasonic Distance Sensor 16×2 LCD Display 5V Power Supply Hardware Ultrasonic Distance Locator – Block Diagram Circuit Diagram Ultrasonic Distance Measurer – Circuit Diagram Circuit Description The overall circuit assembled on the breadboard contains three major components :ATmega 32 Microcontroller, Ultrasonic [...]

16x2 Character LCD

Interfacing LCD with Atmega32 Microcontroller using Atmel Studio

As we all know LCD (Liquid Crystal Display) is an electronic display which is commonly used nowadays in applications such as calculators, laptops, tablets, mobile phones etc. 16×2 character LCD module is a very basic module which is commonly used by electronic hobbyists and is used in many electronic devices and project. It can display 2 lines of 16 character and each character is displayed using 5×7 or 5×10 pixel matrix. 16×2 Character LCD Interfacing 16×2 LCD with Atmega32 Atmel AVR Microcontroller using [...]

Push Button Switch

Using Push Button Switch with Atmega32 and Atmel Studio

Push Button Switch This tutorial is meant for beginners in the field of Atmel AVR programming. I hope that you already read my first tutorial Blinking LED using Atmega32 and Atmel Studio. In most of the embedded electronic projects you may want to use a push button switch to give user inputs to the microcontroller. To use a push button switch with a microcontroller, first you should configure the corresponding pin as input. Then we can easily read the status [...]