Follow along with this tutorial to set up your MPLAB software development environment for both PIC-IoT WG and AVR-IoT WG. This tutorial will step through installing the following software versions:
Integrated Development Environment
MPLAB® X IDE v 5.15 or later
Graphical Programming Tool:
MPLAB Code Configurator v.3.75 or later
- Foundation Services Library v.1.32 or later
- AVR-IoT WG Sensor Node v1.1.1 or later
- PIC-IoT WG Sensor Node v1.1.1 or later
Compilers:
MPLAB XC8 v2.05 or later or AVR GCC Toolchain v3.62 (including GCC compiler v5.4.0)
MPLAB XC16 compiler v1.36
Download MPLAB X IDE v5.15 or laterMPLAB X IDE v5.15 or later can be used with both PIC-IoT WG and AVR-IoT WG
Download a compilerFor PIC-IoT WG, download MPLAB XC16 compiler v1.36 or later
For AVR-IoT WG, download either MPLAB XC8 v2.05 or later, or the AVR GCC Toolchain v3.62 (including GCC compiler v5.4.0)
Install MPLAB Code Configurator v3.75 or laterThe easiest way to install MCC is as a plugin for MPLAB X
1. Open MPLAB X
2. Navigate to the 'Tools' menu in the toolbar and select 'Plugins'
3. In the MPLAB X IDE Plugins window, click the 'Available Plugins' tab
4. Select 'MPLAB Code Configurator' and click 'Install'
Install MCC libraries1. Open MPLAB X and create an empty project only to open MCC
2. Launch MCC by clicking on the shield icon in the toolbar
3. In MCC, navigate to the Versions [MCC] menu in the bottom left
4. Select the libraries and click Load Selected Libraries
Note: should the version numbers not match the required values, navigate to the MCC page on Microchip's website and manually download MCHP-IoT WG Sensor Node. Proceed to the MPLAB settings dialog box (Tools > Options menu on Windows or MPLAB X > Preferences on Mac) and select the Plugins tab.
Then, proceed to click on the Install Library button to select and install the most recently downloaded libraries (likely placed in the Downloads folder by the browser).
Next StepsNow that you have your development environment setup, it's time to dive deeper into your application. We recommend starting with the Basic Sensor Node tutorial, which will show you how to add the configuration for the Wi-Fi controller, secure element, and Google Cloud connection.
ResourcesMicrochip's YouTube channel is very helpful for getting to know MPLAB X. Check out Microchip Minutes to learn more about MPLAB X, and A Closer Look At for detailed walkthrough of MCC.
Comments