Posts

Showing posts from 2012

How to use Mplab X IDE for 16bit Microcontrollers.

Image
This tutorial will help you to migrate from Mplab 8.xx to Mplab X IDE and from PIC 8bit microcontroller to 16bit microcontroller.
Step 1: To get started with programing on PIC microcontroller 16bit you need to install two software packages. Mplab X IDE.C30 compiler.Step 2:
After installing click on Mplab X. A window will open as shown in figure below.
Step 3: Now go to File>New Project. A new window will open. As shown below.

Step 4: Click next…then select the 16bit (PIC24) family and controller name on which you want to work on it.
Step 5: Click next. Then next and then select the compiler C30 for C language. Now the green sign shows that you have installed these compilers. Otherwise there will be red circle.

Step 6: And then click next. Choose Project name and the directory in which you want to save this project. It is recommended to make a separate folder for project.
Step 7: Then click on finish. Now you will see on left side we have a project window.
Step 8: Now your Project is started …

Difference Between Microprocessor and Micro-controller.

Image
Microcontroller and Microprocessors are two different words. Many students are confused with this when they first experienced with it.
  Microprocessor is meant by a general purpose microprocessor. Such as Intel’s 8088, 80486, Pentium 1, 2, 3, 4, core 2 duo, i3, i5, i7 etc and Motorola’s PowerPC Family.
  Microprocessor is just an IC fabricated with CPU inside it. When you want to develop a microprocessor system you should use an external RAM (Random access memory), ROM (Read Only Memory), and other peripheral chips externally. As shown in figure below.


Whereas in microcontroller have a fixed amount of RAM, ROM and other Peripherals(such as Timers, Uart modules, analog to digital and digital to analog converters and many more) fabricated inside a single chip plus an external memory support for expansion. That’s why they are also termed as mini-computers. As shown in figure given below.

Microcontrollers are designed for some specific applications according to need of RAM, ROM, and speed …