Hey guys hope you all are fine and healthy. Today I am going to write about PIC Microcontroller from the very beginning and I will also post some projects and all I want is you be with me through out the tutorial and I know it will be beneficial for you and if you need any help at any point, I am open for questions. :))
- Basics of Microcontrollers – For Beginners (Part 1)
- How to Start with PIC18F452 (Part 2)
- Functions Available in PIC18F452 (Part 3)
- Getting started With MPLAB (Part 5)
What is Microcontroller
Microcontrollers are used to put brain in your projects. Lets take an example, you have seen different light patterns on the weddings or different functions where it seems like lights are walking, sometimes they show some characters glowing on and off quickly etc. Before microcontrollers such patterns of light were very difficult you need a a lot of circuitry (serial & parallel combinations of lights) and then have to decide which light to on and which to off. A big messy thing but with the invention of microcontroller, now you just have to add a microcontroller and put some coding and you are done. That’s the benefit of microcontroller. and second thing in order scenario if something goes wrong then you have to change the hardware connections but in microcontroller just change the code and you are done no need of soldering etc.
Types of Microcontrollers
There are different microcontrollers manufactured by different companies these days. Few of them are :
- Arduino (Board actually, I will explain later)
- & a lot more
but all of them have the same function. Lets look at their function.
Function of Microcontroller
Microcontroller is basically a simple chip (IC). We are not discussing its internal architecture as its beyond the scope of this tutorial. We are here just concerned with its ouput. So a microcontroller is just a simple hardware chip. Now how to operate that chip is a question. A microcontroller has different no of pins some has 8 pins some 16 and some 40 even some has 80 pins. Each pin has its own function and we tell the microcontroller what function each pin will perform by adding a code in microcontroller.
We will see in our next lectures how to add a code in the microcontroller.
In this tutorial we are covering PIC Microcontroller. So in my future lectures i will use the term PIC for microcontroller.
PIC microcontrollers are manufactured by a company named Microchip. There is a lot of variety of PIC Microcontroller. They named like PIC16F877A or PIC 18F452. The first two numbers show the series like PIC16F series PIC18F series. Each series has its own functions and qualities and their number of pins also varies. In my tutorial, I am gonna use the PIC18 F452 which is shown in the above figure too.
That’s all for right now. I will continue it after afternoon. Stay blessed …. :))