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

  • The AVR-IoT does not support UART regular expressions
  • The AVR-IoT 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 blink if the board is in SoftAP mode, and will remain solid if it’s 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 SoftAP 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 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’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 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, 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:

  1. From Atmosphere Studio’s Embedded tab, click the Program Firmware button from the tab’s toolbar. This downloads a .bin file containing the project’s compiled firmware.
  2. Locate the downloaded file on your computer, and move it into the AVR-IoT mass storage device. This initiates programming of the AVR-IoT, 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 with Atmosphere by walking through the following guides:

AVR-IoT Guides
Getting Started with AVR-IoT

Demo Projects

Atmosphere includes a variety of AVR-IoT demo projects for users of all levels. Check them out by clicking the demo’s Try Demo link 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. 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.


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


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