Issue link: https://resources.mouser.com/i/1442841
26 / Concept to Creation: Practical Applications for Smart, Connected and Secure IoT Solutions T he Microchip Technology PIC-IoT WG is an Internet of Things (IoT) development board featuring a PIC ® microcontroller, a hardware secure element device, Wi- Fi ® connectivity, onboard sensors, and a mikroBUS ® connector for adding a variety of expansion boards. The Medium One IoT Prototyping Sandbox is a cloud-based IoT platform designed to help early stage developers prototype IoT projects or connect existing hardware to the cloud. In this project, we'll set up an IoT development environment using the PIC-IoT WG to read temperature and light sensors and send the data to the Medium One cloud using MQTT. Once the data is in Medium One, it can be processed and viewed using programmable workflows and configurable widget dashboards. PROJECT TECHNOLOGY OVERVIEW Microchip Technology PIC-IoT WG Development Board The PIC-IoT WG (Figure 1) is an IoT development board based on the PIC24J family of extreme low-power microcontrollers. It offers built-in Wi-Fi connectivity for creating IoT applications that communicate wirelessly with other systems and devices. The Wi-Fi module offloads networking tasks from the main CPU to maximize processor resources available for your applications. The board can be powered through USB or a rechargeable battery using the built-in battery charging circuit. The combination of board, microcontroller, and onboard components offer developers a number of features for prototyping IoT designs: Technical documentation for the PIC-IoT can be found here and here. The board is supported by the MPLAB ® X Integrated Development Environment (IDE) and connects to a PC using a USB cable that supports programming and debugging from the IDE as well as microcontroller serial port connectivity. The mikroBUS expansion connector allows you to expand the board capabilities with 450+ sensors and actuators offered by Mikroe through their growing portfolio of Click boards TM . Microchip Technology MPLAB ® X Integrated Development Environment (IDE) Firmware programs that run on microcontrollers are typically developed and tested using an integrated development environment (IDE) running on a personal computer. The IDE provides an editor, compiler, linker, debugger, and a mechanism for transferring binary program images to the microcontroller. The PIC-IoT WG can be programmed using the Microchip Technology MPLAB X IDE, a NetBeans-based IDE that runs on Windows, Mac ® , and Linux ® computers. It connects to the PIC-IoT WG using a USB cable that supports programming and debugging. MPLAB X can be downloaded for free from the Microchip Technology MPLAB X site. Microchip Technology XC16 Compiler Application source code is converted into machine code for the PIC24 microcontroller by the Microchip Technology XC16 compiler, which integrates into the MPLAB X IDE environment. Microchip Technology MPLAB ® Code Configurator (MCC) MPLAB Code Configurator is a free, graphical programming environment that generates seamless, easy-to-understand C code to be inserted into your project. It integrates into the MPLAB X IDE environment to accelerate the generation of production ready code. Helping Connect to the Cloud Greg Toth for Mouser Electronics Connecting Microchip Technology's AC164164 PIC-IoT to Medium One IoT Cloud