How To Ideas | How To Articles | How To Tutorials


List/Grid PIC Microcontroller Subscribe RSS feed of category PIC Microcontroller

Tutorial 2 – How To Program PIC Microcontroller Interrupt in C

We were using polling technique before in which we were waiting for some event to happen, so in that way we were consuming a lot of CPU time by keeping CPU. But in Interrupt method we can do other work and when interrupt happens we may serve that interrupt according to it’s need or importance. PIC Microcontroller has following types of Interrupt- Timer Interrupt Serial Interrupt External Interrupt Port B… Read more »

How To Program PIC(18F) Microcontroller In C Using MPLAB IDE

MPLAB IDE is a powerful tool used to program PIC Microcontroller. This software makes several output files of which hex file is used to burn PIC Microcontroller. You can download this software from Microchip site. You can Program any Microcontroller(18F) in C language in this software. Open  MPLAB IDE  and from Project tab choose “Project Wizard” and from Project Wizard choose “Next“                                  Select the device you want to use… Read more »

Tutorial 1-PIC Timer Programming In C

So far we are able to provide delay by using for loop, Now in this tutorial we are going to learn how to program PIC Timer in C language. PIC Microcontroller(18f4550) has 4 Timers – Timer 0,Timer 1,Timer 2,Timer 3 Many of PIC 18 timers are 16 bit wide. PIC 18 has 8 bit Architecture so 16 bit timer is accessed as two separate registers of low byte(TMRxL) and high… Read more »

Tutorial 0.1–PIC(18F) Microcontroller Programming in C (I/O Interfacing)

This is 2nd tutorial on I/O programming of PIC Microcontroller. In this tutorial we are going to learn how to make delay program in PIC Microcontroller using integer values. The following program sends values from zero to 100 on Port B with some delay. In this program you can change delay interval by changing the value 1000 in delay function #include<p18f4550.h>  Header File attached to Project void delay();                     Initialize delay… Read more »

Tutorial 0.0–PIC(18F) Microcontroller Programming in C (I/O Interfacing)

This is PIC Microcontroller 1st tutorial and in this tutorial we are going to learn, how to interface I/O Ports with PIC Microcontroller. PIC(18F4550)  Microcontroller has 5 I/O Ports(A,B,C,D,E) those can work both as Input and  Output. To program PIC Microcontroller in C you need MPLAB IDE which can easily be downloaded from Microchip’s site. To make any Port I/O you need to remember one keyword which is TRISX (X… Read more »

How To Program PIC(16F,10F series) Microcontroller In C Using MPLAB IDE

MPLAB IDE is a powerful tool used to program PIC Microcontroller. This software makes several output files of which hex file is used to burn PIC Microcontroller. You can download this software from Microchip site. You can Program any Microcontroller(16F,10F,12F) in C language in this software. Open  MPLAB IDE  and from Project tab choose “Project Wizard” and from Project Wizard choose “Next“                                  Select the device you want to use… Read more »



© 9824 How To Ideas. All rights reserved.
Proudly designed by Theme Junkie.