The PIC-IoT WG is a Wi-Fi development board from Microchip based on the PIC24FJ128GA705 MCU and uses the WINC1510 Wi-Fi SmartConnect IoT module. The board features onboard sensors for measuring ambient temperature and ambient light. The board is similar to the AVR-IoT WG, but is designed for more complex applications and offers additional memory and decreased power consumption.

Project Specifics

PIC-IoT WG projects start with the following sensor elements imported from the Element Library:

MicrochipMCP9808Element icon for the element library

Microchip MCP9808

VishayTEMT6000Element icon for the element library

Vishay TEMT6000

As is standard with any project type that uses Wi-Fi, cloud elements are accessible from both the Embedded and Application tabs in Atmosphere Studio.

Hardware Specifics

Some devices may have limitations or design restrictions that cause unexpected behavior when used with Atmosphere. Specific information and details pertaining to the PIC-IoT WG and its performance on Atmosphere is noted below.

There are no known issues, unexpected behaviors, or hardware limitations while using the PIC-IoT WG with Atmosphere.

Default Pin Mapping

Atmosphere configures each peripheral to a default pin for every supported device, based on ideal pairing of pins and their usage. The default pin configuration is set for convenience and enables each peripheral to work naturally without needing to be modified.

PIC-IoT WG projects start with the following pin configuration:

Pin Description Notes
P_AN Click Connector AN Pin Maps to PB14
P_RST Click Connector RST Pin Maps to PB15
P_CS Click Connector SPI CS Pin Maps to PA0
P_SCK Click Connector SPI CLK Pin Maps to PA1
P_MISO Click Connector SPI MISO Pin Maps to PB0
P_MOSI Click Connector SPI MOSI Pin Maps to PB1
P_PWM Click Connector PWM Pin Maps to PC6
P_INT Click Connector INT Pin Maps to PB7
P_RX Click Connector UART RX Pin Maps to PB6
P_TX Click Connector UART TX Pin Maps to PB5
P_SCL Click Connector I2C SCL Pin Maps to PB8
P_SDA Click Connector I2C SDA Pin Maps to PB9
LED_CONN CONN User LED Used by Atmosphere to indicate whether or not the PIC-IoT is connected to an access point.
LED_WIFI WIFI User LED Used by Atmosphere to indicate that the device has started up properly. Will blink when unprovisioned.
P_LIGHTSENS Analog pin for onboard light sensor  

The default pin for any peripheral can be changed within an element's properties, from an element that references that particular peripheral.


Below is information regarding the PIC-IoT WG’s exposed peripherals.



This I2C bus is exposed the SCL and SDA pins on the click connector.


This I2C bus is not exposed to the user, and is connected to the device’s internal MCP9808 temperature sensor.



This SPI bus is exposed via the SCK, MOSI, and MISO pins on the click connector. You can use any desired GPIO for your chip select.


UART1 (USB Debug Console)

This UART is exposed via the micro-USB connector on the PIC-IoT.


This UART is exposed via the TX and RX pins on the click connector.


The AN pin on the click connector is the only user accessible ADC input.


Any GPIO pin can be used for PWM output.

Programming Method

Programming the PIC-IoT WG involves downloading its project firmware from Atmosphere Studio and directly transferring it to the device over USB.

Setup Configuration

Prior to programming a PIC-IoT WG, ensure you have the following setup configuration:

  • The device is connected to the computer via USB. It will display as a mass storage device.
  • The project to be programmed has been compiled.

Programming Instructions

With setup complete, you can program the PIC-IoT WG:

  1. From Atmosphere Studio’s Embedded tab, click the Program Firmware button from the tab’s toolbar. This downloads a .hex file containing the project’s compiled firmware.
  2. Locate the downloaded file on your computer, and move it into the PIC-IoT WG mass storage device. This initiates programming of the PIC-IoT WG, which is represented by a series of blinking LEDs and then it will reboot.

The blue LED will then turn on, followed by the yellow LED. This indicates the device is programmed with the project’s embedded firmware.

Guides and Tutorials

Get started using the PIC-IoT WG with Atmosphere by walking through the following guides:

PIC-IoT WG Guides
Getting Started with PIC-IoT WG

Demo Projects

Atmosphere includes a variety of PIC-IoT WG demo projects for users of all levels. Check them out by clicking the demo’s name to open the project in Atmosphere.

Name Description
Onboard Sensor Demo An embedded-to-cloud demo that showcases the onboard sensors of the PIC-IoT WG. Measure temperature and light data then send it to the cloud. If the light value exceeds a set limit, the device goes into an alarming state.
Mathematical Operation PIC-IoT Demo The operation element is used within this demo project by converting the temperature in Celsius to Fahrenheit and printing both the values on the debug console.
PIC-IoT Condition Element Demo The condition element is used within this demo project to check whenever a temperature value exceeds a certain limit, and if so sends the user a system notification.
Heart Rate 5 Click Demo The heart rate 5 click element is used in this demo by reading your heart rate every second and sending it to the cloud.
PIC-IoT Weather Click Demo A basic demo that uses the PIC-IoT WG alongside a Weather Click board to read the environmental data and send the values to the cloud.
PIC-IoT Fever Click Demo A demo that uses a PIC-IoT WG alongside a Fever Click board to read temperature data, and have the data sent to the cloud. If the temperature exceeds 37°C/98.6°F the device goes into an alarming state, simulating a human fever.


The Atmosphere video library contains the following videos on the PIC-IoT WG:

Videos for the PIC-IoT WG coming soon!


The following additional resources and downloadable files are available for the PIC-IoT WG: