Timer 1, how to make a reliable Real Time Clock in 8-bit PIC
Measuring seconds comes really handy in many circuits. Executing tasks with demanding precision, such as a real time clock, requires an external oscillator (often called 'crystal') of 32,768Hz. Such procedure…
Timer 0, a simple Counter in 8-bit PIC you need to know
Instead of creating software to count seconds or pulses, a specific hardware was created to deal with this necessity called 'timers'. There is a bunch of different kinds of timers…
Hello World with 8-bit PIC microcontroller
For the purpose of this post, I'm going to write a very simple code for the demonstration, which will just light an LED. It could be considered a "Hello World"…
How to connect any PICkit to a microcontroller
To program a microcontroller, you will need a tool such as the PICkit. This device links the IDE from the computer with the microcontroller, usually by a USB port. Continue…
Requirements for MPLAB to program a PIC Microcontroller
So what is MPLAB anyway? It is a software that integrates many useful tools for developing code for PIC microcontrollers. Such programs are called "IDE" and it stands for "Integrated…
MCLR (Master Clear) on PIC microcontrollers
The Master Clear or MCLR is a feature present in many microcontrollers, used for resetting the entire device. This means that when the MCLR is triggered, the device will start…