Nov 8
th
, 2018 MPLAB
®
Code Configurator’s AVR-IoT Library Version 1.0.3
5 Installing MPLAB
®
Code Configurator avrIoT_v1.0.3
To install the MPLAB® Code Configurator Plugin:
1. In the MPLAB® X IDE click on Tools → Plugin
2. Click on Available Plugins tab
3. Check the box for the MPLAB® Code Configurator, and click on Install
To install avrIoT v1.0.3:
1. Download avrIoT_v1.0.3.jar from the Microchip website.
2. In the MPLAB® X IDE click on Tools → Opons
3. Click on Plugins tab
4. Click on Install Library
5. Browse to the location of the avrIoT_v1.0.3.jar, select it and click Open
6 avr-gcc compiler in MPLAB
®
X IDE
1 Download AVR 8-bit Toolchain v3.6.1 – Windows from https://www.microchip.com/mplab/avr-
support/avr-and-arm-toolchains-c-compilers under Downloads tab
2 In MPLAB
®
X IDE click on Tools → Opons → Embedded → Build Tools
3 Under Toolchain click on Add
4 Navigate up to ../avr8-gnu-toolchain-win32_x86/bin → Open
5 Version List should automatically point to AVR
6 Click Ok
7 Running the Example
1. Connect the AVR-IoT WG board to the computer using a standard micro-USB cable
2. Create new project in MPLAB® X IDE
3. Select the nEDBG Tool. Device will be already identified as ATmega4808.
4. Open MCC by clicking Tools→ Embedded→ MPLAB® Code Configurator or Click MCC icon
5. In Device Resources area click on Internet Things→ Examples→ AVR-IoT WG Sensor Node
6. Click Generate button
7. Build and program to the Google Field Engagement board
8. Refer http://ww1.microchip.com/downloads/en/DeviceDoc/AVR-IoT-WG-User-Guide-50002809A.pdf for
connecting with Google Cloud Platform