A very comprehensive tutorial explaining each and every step for making a digital thermometer. PIC16F876 is used along with LM35 temperature sensor. After reading and converting the values into temperature in Celsius, it is sent to PC over RS232. Continue reading

The post explains step-by-step how to setup XBee modules with PC. It uses X-CTU for configuration of the modules. The posts also helps in testing the communication and range of the modules. If you are new to XBee than this is a very useful post. Continue reading
This tutorial is specially written for newbies to PIC. The article introduces CCS C Compiler and use of Proteus for simulation. It helps you to develop a simple program to flash a LED. Then, the steps for simulation are also provided for Proteus. In the end, two best Ebooks are referred for programming and simulation PIC. Continue reading
AVR are RISC based microcontroller made by ATMEL. This post introduces AVR by the help of a simple program which toggles a LED. It is achieved by the help of WinAVR and ATMEL AVR-Studio. ATMEGA8 is used and is programmed in C Language. Continue reading
After brief introduction to XBee, come the real practical and interesting part. Running a XBee has two options; whether you make your own board for development or buy one from SparkFun. Continue reading
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
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
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
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
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
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
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
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
AVR are RISC based microcontroller made by ATMEL. This post introduces AVR by the help of a simple program which toggles a LED. It is achieved by the help of WinAVR and ATMEL AVR-Studio. ATMEGA8 is used and is programmed in C Language. Continue reading