Saturday, September 3, 2011

(PIC16F877A) Blink LED!!!

Here comes post for Microchip Pic fans.

Problem Statement: Blink LED
Microcontroller Platform: Microchip PIC
Microcontroller: PIC16F877A
Compiler: MPLAB with Hitech C compiler


Remember to configuire the direction of the port by TRIS register.
You can download code from here


(P89v51RD2) Blink LED !!!!!

The best way to get started is to learn the I/O Ports. The simplest Peripheral to get started is LED. Here is the presentation for the LED blinking.

Problem Statement: Blink a LED
Microcontroller Platform: MCS-51
Microcontroller: NXP P89v51RD2
Compiler: Uvision Keil



To download code you can visit  here
 

                           

Labor Day Utilization!!!!

Through out the weekend there would be 22 Presentation posting which would talk about various peripheral in details with their code on P89v51RD2, PIC16F877A,Atmega 16.

Please stay tuned for update and like it on Facebook & twitter.


Tuesday, August 30, 2011

Compiler Details!!!!

It is always tuff for a beginner to select the compiler & IDE (Integrated Development Environment). Here is a quick reference what we are going to use for the upcoming tutorials.

For MCS-51 Family:-

We are going to use Keil IDE &  Compiler. Keil is famous cross compiling platform for many of controller platform. we will essentially use this as it is easy to use & many industries have adopted it(there is + in it which could be shown on CV ).

You can download the demo version from here. It is C51 category. You don't need a complete version to get started. Above all the demo version just have the compilation limits if I am not wrong. 

The code i would be posting would be tested on Atmel 89S51, 89S52 & Phillips (NXP now) P89V51RD2.

For PIC Family:-

Microchip is also one of the major players of 8 bit micro controller in the industry. They have their own IDE called MPLAB which is every effective with assembly. Unfortunately by default it does not have C compiler in  it which you have to install after you install MPLAB. Link for MPLAB is here

The compiler we are going to use with it is Hitech C compiler for PIC 10/12/16 series again it is a demo version with some limitation of optimization. you can download it form here

All the codes are tested for PIC16F877A.

After Finishing with this these series of tutorial I am preparing for PIC18F series with PIC C Compiler. You have to wait for a month or more if you are relying on blog for it.

For Atmel AVR Series:-

One of the most popular 8 bit micro controller platform I have worked on is ATMEL AVR SERIES. We are using Codevision AVR for the compilation & it comes with its own IDE. It can be downloaded from here.

It is an evaluation version but a well versed for a beginner so you don't have to worry about its limitation because when you start working on it  as a beginner you are far away from the boundary point.

Our code are tested on Atmega 16, Atmega 32, Atmega 128 & Atmega 8 .

In our next blog we would discuss what we are going to cover in these tutorial series.

For now download the IDE & Complier of your choice and be ready to get your hand dirty on some coding......... 


Monday, August 29, 2011

Hello !!!!

Hi!!! Guys this is my second blog, My 1st blog is about mobile robots. On which you can find collection of all mobile robotics community & their prototype or commercial product robot. You can visit my blog here

On this blog you can find tutorials on 8051,PIC,AVR 8-bit microcontrollers. I would be posting every topic in details with their presentation & a working code.

I have used embedded C & would list out details for compiler & IDE in the next blog.

hope to see your comments & view on all post...

Regards