The dev board comes populated with the PIC16F1619.
Setting Up the Microchip PIC 8bit Curiosity Development Board with MPLAB X IDE
Next we will use MPLAB X IDE (v4.0.5) and the XC8 compiler (v1.45) to setup the Curiosity Development board so it can be programmed. You can view a previous article I wrote on how to download, install, and setup the full Microchip tool chain for PIC development.
Below are the steps to walk through to create a new bare bones project.
Once new project is open you can view the dashboard to make sure everything is correct
You can go to Project | Properties to change the PIC device or dev board
Programming the Microchip PIC 8bit Curiosity Development Board with MPLAB X IDE
We are going to do a basic “turn on an LED” example in MPLAB X and also utilize Code Configurator.
If the Code Configurator plugin isn’t installed you can install it through Plugins:
Start with the System Module section:
We are going to configure the device to use the internal oscillator, we’re not using the Watchdog timer in this example, and we are going to leave the Low-voltage Programming Enable selected (required for the Curiosity board).
Next select Registers and the fuses or configuration bits can be setup here (can mostly leave them to current defaults):
Next we are going to look at the Device Resources so we can assign a GPIO pin that will be used to drive an LED.
First you need to select the correct package version (PDIP 20 pin for this board) and then you need to select a GPIO output pin that is connected to on-board LED.
For our program we will use pin RC5. You can also rename the pin name to something more familiar like ‘led’.