Viewing Category » AVR
5 July 2010

ARDU: Physical Computing with Arduino – An Introduction

Post Thumbnail of ARDU: Physical Computing with Arduino - An Introduction
 AVR,Articles,CEShop         View Comments

Arduino is a tool for making computers that can sense and control more of the physical world than your desktop computer. It’s an open-source physical computing platform based on a simple microcontroller board, and a development environment for writing software for the board.
Arduino can be used to develop interactive objects, taking inputs from a variety of switches or sensors, and controlling a variety of lights, motors, and other physical outputs. Continue reading

26 May 2010

AVR: How to use serial port in ATMEGA88

Post Thumbnail of AVR: How to use serial port in ATMEGA88
 AVR,Articles         View Comments

So far we have learned to read digital inputs, analog inputs and use interrupts in ATMEGA8. In this article we will be learning a very important and useful feature if the microcontroller. After reading the article you will be able to send data over the serial port of the controller, to either PC or any RS232 device. Continue reading

30 November 2009

AVR: Simple AVR Programmer

Post Thumbnail of AVR: Simple AVR Programmer
 AVR,MCU,Tools         View Comments

The project allows an easy transfer of hex programs to most Atmel AVR microcontrollers without the need for high cost and constraint time. Continue reading

11 October 2009

AVR: How to use Interrupt in ATMEGA8.

Post Thumbnail of AVR: How to use Interrupt in ATMEGA8.
 AVR,MCU         View Comments

The post shows how to use internal interrupt of AVR to read Temperature from LM35. The best thing about using Interrupt is that it is independent of other coding being processed. Interrupts are on high priority and whenever they occur, the function being processed is paused and the ISR (Interrupt Service Routine) is processed. And afterward the previous function is resumed. Interrupts help to code functions which are required in urgent states such as triggering an alarm or stopping an actuator. Continue reading

2 October 2009

AVR: AVR Fuse Bit Calculator

Post Thumbnail of AVR: AVR Fuse Bit Calculator
 AVR,MCU,Tools         View Comments

After the introduction to AVR you must have been doing good with this powerful controller. As you move further you will find fuses to be very useful to play with. And their proper and intelligent usage what makes your program best of all.

Following is the link to a very comprehensive fuse bits calculator, which takes all your inputs through drop-down menus and list. And finally generates the fuse bits and voila you are ready to go. Continue reading

2 October 2009

Circuit: Transistor based 3.3V-5V Level Translator

Post Thumbnail of Circuit: Transistor based 3.3V-5V Level Translator

Nowadays most of the devices are running on 3.3 volts, and likewise their communication levels also work on 3.3 volts. For example XBee runs on 3.3 volts and to interface it with microcontrollers running on 5V, one needs to translated voltages levels so that they both communicate. This post gives a schematic of transistor based level translation with Proetus simulation. Continue reading

30 September 2009

AVR: How to read/write to SD Card using AVR.

Post Thumbnail of AVR: How to read/write to SD Card using AVR.

A very nice tutorial about read and writing to SD card using AVR. Features a very well-formed library for accessing FAT format. MicroSD cards are cheap, but if you need a card reader, the surface-mounted holder would cost $4 + shipping, and although I can probably solder that, I still would like to do testing on a breadboard. Sparkfun does sell a breakout board for their microSD holder for $15 + shipping, but that’s a little too expensive. I’ve decided to buy a 1 GB microSD card that came with the microSD to SD adapter for $10 at a local place, and solder pin headers to the adapter so I can easily insert it into a breadboard. Continue reading

30 September 2009

AVR: Online Timer Values Calculator

Post Thumbnail of AVR: Online Timer Values Calculator
 AVR,MCU         View Comments

n life and embedded systems timing is everything. Set your system clock resolution (in hertz making sure you account for any system clock divider), select your timer resolution and prescaler, then calculate based on desired ticks, overflows, or real time. He’s built this with the AVR chips in mind but it should be handy for any family of microcontrollers.

Of course none of this is rocket science, but if you’re trying to use one timer for two differentlysynchronized events this can save you a lot of trial and error time. Continue reading

26 September 2009

AVR: How to take Analog input in AVR.

Post Thumbnail of AVR: How to take Analog input in AVR.
 AVR,Articles,MCU         View Comments

This post explains how to use built-in ADC feature of AVR Microcontrollers. ATMEGA8 is used in this example, along with the source code in C. As you all know, natural environment is all analog. From temperature to seismic waves and from wind to fire every value is continuous in nature. But the problem is that all electronics is turning into digital, a non-continuous domain. So to acquire data from the environment we use an ADC (Analog to Digital Convertor). Continue reading

16 September 2009

AVR: Reading Inputs in AVR

Post Thumbnail of AVR: Reading Inputs in AVR
 AVR,MCU         View Comments

The article explains how to take input from AVR and process it. It also explains the basic techniques required by a C programmer to use while programming for AVR.ATMEGA8 is used in this tutorial with WinAVR and AVR Studio.Without any doubt AVR is one powerful controllers in the market. Continue reading

 Page 1 of 2  1  2 »