Electronics – Tuts, tips and much more …

If we hear, we forget; if we see, we remember; if we do, we understand – Confucius

Archive for the ‘AVR microcontroller’ Category

USBasp Drivers for Windows 7

Posted by Omkar on June 25, 2010

I have uploaded USBasp drivers for windows 7 on megaupload. Drivers can be downloaded from the following link:

http://www.megaupload.com/?d=N7RML15L

Instructions:

Read the rest of this entry »

Posted in AVR microcontroller | Tagged: , , , | 1 Comment »

AVR fuse bits settings

Posted by Omkar on April 3, 2010

Setting AVR fuse bits correctly is most important and equally confusing part for many beginners. In this post I have presented some of the ready to use fuse bit settings and corresponding batch files, which can be used with AVRdude.

Link for downloading avrdude batch files (to be used with USBasp) is given at the end of this post.

Read the rest of this entry »

Posted in AVR microcontroller | Tagged: , , | 6 Comments »

Products

Posted by Omkar on February 17, 2010

Following products are available for sell.

Read the rest of this entry »

Posted in AVR microcontroller, Electronics, My Products, Robotics | 9 Comments »

CodeVisionAVR Tip: How to display formatted numbers on LCD

Posted by Omkar on July 14, 2009

Generally at some point of time we all need to display something more than “hello world” onto LCD. CodeVisionAVR(cvavr) provides functions like lcd_putsf() and lcd_puts() for displaying strings on LCD. However these function cannot be used directly to display something like : “Vin = 10V” or may be “Value = 0000A01F”. In short these functions do not provide the functionality of formatted output, as provided by printf() function. How to implement this functionality is objective of this post. Fortunately there is very simple way to get this thing done …

Read the rest of this entry »

Posted in AVR microcontroller | Tagged: , , | 19 Comments »

100% Flash utilization !!

Posted by Omkar on May 7, 2009

Sometimes we met with interesting coincidences while working on projects. One such coincident happened just few moments ago … interesting and hence sharing with you all.

Read the rest of this entry »

Posted in AVR microcontroller | Tagged: , , | 3 Comments »

USBasp tutorial: USBasp driver installation

Posted by Omkar on April 19, 2009

In this post we will see how to install windows driver for USBasp. Steps explained below are applicable for WindowsXP:

Download driver:

If you don’t have driver, windows drivers for USBasp can be downloaded from:
http://www.fischl.de/usbasp/usbasp.2009-02-28.tar.gz

Extract the downloaded archive into some directory.

Installing driver:

Read the rest of this entry »

Posted in AVR microcontroller, Uncategorized | 20 Comments »

AVRDude Tutorial : Burning hex files using USBasp and AVRdude

Posted by Omkar on April 15, 2009

AVRDude is excellent program for burning hex code into microcontroller. USBasp is awesome USB based programmer for the AVR. In this tutorial we will see how to use AVRdude for burning hex files into AVR microcontroller using USBasp.

AVRdude is not readily available for windows installation. Windows version of AVRdude is bundled with WinAVR compiler. Before we start : Download WinAVR from here.

Posted in AVR microcontroller | Tagged: , , , | 15 Comments »

Mega16 Development Board : Sample Programs – Source Codes

Posted by Omkar on April 3, 2009

Mega16 Development board comes with sample programs. On this post I will be posting updated versions of sample codes and related documentation. You can download this sample programs, modify and use them free of cost. All programs are written for CodeVisionAVR Compiler, unless otherwise specified.

Following table summarizes the provided sample programs :
(Link for the .RAR file is provided at the end of the post)

Read the rest of this entry »

Posted in AVR microcontroller | Tagged: , , , | 3 Comments »

AVR Development Board – mega16

Posted by Omkar on March 25, 2008

 

AVR Development Board
Low Cost AVR Development Board – ATmega16 / ATmega32v4.1IMG_0866-m16-B

28 April 2011 – Prices updated

Board Features :

  • supports : mega16A/32A AVR uC. With easy to use ZIF socket.

Read the rest of this entry »

Posted in AVR microcontroller, My Products | Tagged: , , , , | 44 Comments »

AVR : Tutorial 2 : AVR – Input / Output

Posted by Omkar on February 12, 2008

         UPDATE : 10 FEB 08 – illustration added

Tutorial

Overview

You cannot imagine to use microcontroller without using any of its i/o pins. Finally its all about  : taking input , processing it and generating output ! Thus i/o registers and their correct settings is indispensable part while learning to program any uC.

We will learn how to use AVR ports and actually ‘code’  for writing/reading data to/from port pins. It is slightly confusing for beginners, however once you understand it, you will certainly appreciate the way it is designed.

NOTE : I will frequently refer to  ‘configuring pin’ or simply ‘pin’. Remember, a port has multiple pins. Thus in order to change setting for one port, you have to change setting for all port pins of that port. To change setting for one single pin of the port, you have to change a particular bit in associated register. Got that ? If not read this para again.

Read the rest of this entry »

Posted in AVR microcontroller | 70 Comments »

 
Follow

Get every new post delivered to your Inbox.

Join 46 other followers