# TinyWifiDongle library enables microcontrollers to function as USB WiFi dongles

> **Key takeaway:** A new MIT-licensed Arduino library allows compatible microcontrollers to act as USB network adapters using the CDC-NCM class.

**Published:** 2026-11-23T15:35:10+00:00 
**Source:** Adafruit Electronics 
**Category:** open-hardware 
**Canonical URL:** https://fosswire.org/news/tinywifidongle-library-enables-microcontrollers-to-function-.html 

## Summary
Phil Schatzmann has released TinyWifiDongle, a header-only C++ library designed for the Arduino ecosystem. The library enables a microcontroller to connect to a WiFi network and present itself to a host computer as a USB network adapter. This functionality relies on the USB Communication Device Class - Network Control Model (CDC-NCM).

To function, the hardware must possess a USB device controller capable of supporting the network class. The library currently supports several platforms, including the ESP32, ESP32-C3, ESP32-C6, and the Raspberry Pi Pico. On the host side, the solution offers native compatibility with Linux, macOS, and Windows 11, though Windows 10 users require a specific driver.

## Technical implementation and hardware requirements
- **Communication Protocol:** Utilizes the CDC-NCM (Communication Device Class - Network Control Model) to facilitate network traffic between the host and the microcontroller.
- **Software Architecture:** Implemented as a header-only C++ library for the Arduino IDE, allowing for easy integration into existing embedded projects.
- **Hardware Compatibility:** Supports microcontrollers with USB device controllers, specifically mentioning the ESP32 series and Raspberry Pi Pico.
- **Host OS Support:** Provides out-of-the-box driver support for Linux and macOS, with Windows 11 support and a requirement for manual driver installation on Windows 10.

## Why it matters
This development provides embedded developers with a low-cost method to add wireless networking capabilities to existing hardware via USB. It simplifies the creation of custom IoT bridge devices and network debugging tools within the Arduino and open-source hardware communities.