# cnlohr/espusb

Software-only ESP8266 USB Device

Repository: https://github.com/cnlohr/espusb
Canonical: https://ross.abutalabs.com/products/espusb
Language: C
License: NOASSERTION
License Family: other
Last push: 2022-09-08T18:16:42+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3679, "days_push": 1455, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1546, forks 232 (observed 2026-08-28T04:05:01.603259+00:00)

## What it is
A software-only USB device stack for the ESP8266/ESP8285, implementing low-speed (1.5 Mbit/s) USB in firmware with just one external resistor. It includes examples such as a simulated USB keyboard/mouse controllable via a web interface.

## Use cases
- add USB device capability to an ESP8266 without USB hardware
- build a DIY USB keyboard or mouse
- send control messages from a host to an ESP8266 over USB
- create custom low-speed USB peripherals
- experiment with bit-banged USB protocols

## When to choose
- you need USB device functionality on an ESP8266/ESP8285 with minimal hardware
- you're building simple HID-style peripherals at low-speed USB
- you want to learn how USB works at the protocol level

## When to avoid
- you need high-speed or full-speed USB throughput
- you need USB serial bridges or network devices
- you rely on ESP SDK 2.0 or newer SDKs
- you're using a chip other than the ESP8266/ESP8285

## Facets
- artifact type: library
- maturity: maintenance
- function: embedded
- domain: embedded-systems, hardware, developer-tools
- platform: embedded, iot
- tags: esp8266, software-usb, low-speed-usb, bitbanging, firmware, driver, usb

## Member repositories
- cnlohr/espusb (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:01.603259+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:30:33.359713+00:00, confidence not recorded.
  - readme: https://github.com/cnlohr/espusb (fetched 2026-08-28T04:05:01.603259+00:00, sha b100feceb51f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
