AVR GPIO TUTORIAL

Keywords: AVR, GPIO, Atmega32 Every micro-controller has GPIO ports. GPIO stands for general purpose input output. These GPIO ports are used to take input on a micro-controller pin or output a value on micro-controller pin. We will learn how to use AVR ports and program them to read or write from port pins. Now the port has multiple pins associated with it. For example Atmega32 has 8-bit port, i.e. it has 8 pins in a single port. Each bit represents a pin i.e. bit 0 represents pin 0 on that…

Read More

Getting Started With AVR Microcontrollers

Keywords: Embedded Systems, Atmega32, AVR As we are going to learn Embedded system development, its better I start with a brief introduction of embedded systems. Embedded Systems:  In short, an embedded system is a computer system with a dedicated function with real-time computing constraints (though it’s not necessary).  For example a vending machine or remote control system, ATM and list go on as the world is full of the examples. So basically an embedded system will consist of followings: Micro-controller Memory Display Unit Input devices Sensors etc… Now the most…

Read More

Setup of AVR cross-compiler in Ubuntu /Linux mint /Fedora

Keywords: AVR, atmega32, avr-gcc, avrdude , installation of avr-gcc Installation of avr-gcc in Linux is the first post in the Embedded section of Techawarey. Soon you will find a complete tutorial series on development with AVR micro-controller (specifically Atmega32) that will cover introduction of AVR, interfaces in AVR , programming example etc. Atmega32 AVR micro controller is one of the common and favorite micro-controller among hobbits and new learners. The architecture of the AVR or other target micro-controller is different from the MCU of your PC/Laptop. Therefor when you write a code and compile it on…

Read More