PIC18F452 is a 40 pin microcontroller each pin has its own functionality,which we will see in our next classes one by one. suppose I want to create a project on LED blinking, a simple project on PIC so what I have to do.First of all, I need the following things so that I may use them to work with PIC. I have discussed the Functions available in PIC18F452 Micrcontroller in the next post.
- MPLAB —> MPLAB is a software which you can download easily from official website of Microsoft as its an open source software.In MPLAB you will do programming in Assembly & C Language.We will learn Assembly & C Language in our next classes.
- PIC Programmer —-> There are many PIC Programmers available in market ( Hall Road in Lahore ). You have to attach this Programmer with the PC through serial port (Parallel Port & USB Port PIC Programmer are also available). Now Put you PIC in the 40 pin socket of Programmer.
- PICpgm Software / PICKit software —-> This software is used to burn thr program in the PIC .Its just like the same as burning a movie on DVD.Now open this software and browse to your program which you have made in MPLAB and then click on program PIC and your Program will be burnt on your PIC.
- PIC Basic Circuit —->PIC alone never works, we have to add a simple circuitry to make it work Below figure shows the simple PIC circuit.It is not much difficult and you can make it on a simple vero board with soldering.I have given its circuit below :
Now remove your PIC Microcontroller from the Programmer and add it in the hardware circuit and you will check that your PIC will give you the same results as you have programmed in it. In this tutorial,we have just take an overview of PIC Microcontroller .Next we will check its Ports and whats the purpose of these ports. Till then take care ALLAH HAFIZ …. :))