The AVR-IoT WG is a Wi-Fi development board from Microchip based on the ATmega4808 AVR microcontroller and uses the WINC1510 Wi-Fi SmartConnect IoT module. The board features onboard sensors for measuring ambient temperature and ambient light.

Project Specifics

AVR-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 AVR-IoT WG and its performance on Atmosphere is noted below.

  • The AVR-IoT WG does not support UART regular expressions
  • The AVR-IoT WG has very little flash space so project complexity must be kept to a minimum. If you experience a continuous reboot cycle while using the device, the project on it is likely too big.

Onboard LED Behavior

The Wi-Fi LED will turn on once the Wi-Fi driver has been initialized. This is a good indicator that the board is on and running properly. The CONN LED will be solid if the AVR-IoT WG is in station mode and connected to an access point.

Switch Behavior

Hold SW0 while powering on the board until the Wi-Fi LED turns on. This will erase Atmosphere provisioning data, putting the device back into provisioning mode.

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.

All pins can be used as general purpose input/output (GPIO) unless otherwise specified.

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

Pin Table

Pin Description Notes
P_AN Analog Pin Maps to PD7
P_RST Reset Pin Maps to PA0
P_CS SPI Chip Select Pin Maps to PC3
P_SCK SPI Clock Pin Maps to PA6
P_SDO SPI MISO Pin Maps to PA5
P_SDI SPI MOSI Pin Maps to PA4
P_INT Interrupt Pin Maps to PA4
P_PWM PWM Pin Maps to PD4
P_SCL I2C SCL Pin Maps to PA3
P_SDA I2C SDA Pin Maps to PA2
P_LED_WIFI WIFI LED Maps to PD3. Used internally.
P_LED_CONN_STATUS CONN LED Maps to PD2. Used internally.
P_LED_DATA_XFER DATA LED Maps to PD1. Free to be used by user.
P_LED_ERR_STATUS ERR LED Maps to PD0. Free to be used by user.
P_SW1 Switch 0 (Labeled SW0) Maps to PF5
P_SW2 Switch 1 (Labeled SW1) Maps to PF6
P_LIGHT_SENS Light Sensor Input Pin Maps to PD5

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 AVR-IoT WG’s exposed peripherals.



This I2C bus is exposed via the P_SDA and P_SCL pins on the click connector.



This SPI bus is exposed via the P_SDO, P_SDI, and P_SCK pins on the click connector.



This UART is exposed via the USB connector as well as the P_UART_RX and P_UART_TX pins on the click connector.

Programming Method

Programming the AVR-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 AVR-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 AVR-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 AVR-IoT WG mass storage device. This initiates programming of the AVR-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 AVR-IoT WG with Atmosphere by walking through the following guides:

AVR-IoT WG Guides
Getting Started with AVR-IoT WG
Creating a Monitoring Solution

Demo Projects

Atmosphere includes a variety of AVR-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 AVR-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.  
AVR-IoT Light Monitor Demo AVR-IoT WG This demo reads ambient light data from the onboard sensor, and when the light value is exceeded beyond a certain point, changes the device’s status in the cloud and sends a system notification.
Debug Print AVR-IoT Demo The debug print element is used within this demo project by reading the onboard sensor values and printing them on the debug console.  


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


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