What:
We will be programming the PIC32 microcontrollers, specifically the PIC32MK1024GPE100
Why:
To learn a new skill, and because there is not many tutorials online for this kind of stuff.
How:
By doing multiple projects, such as blinking a light, reading voltage, and creating print functionality to the computer.
Before we Begin:
All of the upcoming tutorials are programmed using the PIC32MK General Purpose development board, which uses the PIC32MK1024GPE100. A development board is just a prototyping board that lets you test the functionality of a micrcontroller, it has a lot of pin outs which makes testing designs quick and easy. As such adapting these tutorials to other PIC microcontrollers should just be a matter of changing the registers, more on that later. With that said by following along you should be able to program any pics from the upcoming tutorials.
In addition, these tutorials will not use MPLAB HARMONY. The reason being that you will learn a lot more by configuring all the settings on the MCU by yourself, and learning the old fashioned way makes learning MPLAB HARMONY a lot easier, not the other way around.
What you will need:
MPLAB XC32 compiler- Since we are programming PIC32 Devices we need the XC32 compiler, click on the link, scroll down click on downloads, then download the respective compiler for your system.
MPLAB X IDE- This is the Integrated development environment, or where you will be writing the code to program the PIC microcontrollers.
PIC32MK Datasheet- The datasheet that explains all the functionality of the PIC32MK Family.
Dev Board Datasheet- (Optional) Datasheet for the pic32mk development board
Misc Electronic Components- Resistors, Capacitors, wires, breadboard will be helpful in a lot of the future tutorials
Once the software is installed you are ready to move on to the next tutorial