Cross-platform
Works over USB on Windows, macOS, and Linux. The board appears as a CH340 USB-serial device and the library finds it for you.
DOER USB GPIO BOARD
One USB-C cable gives Windows, macOS, and Linux a set of 28 Raspberry Pi-style GPIO pins. Write Python, connect an LED or sensor, and start building.
WHY GPIO
Keep the computer you already use. The board handles the real-time pin work, and the open-source Python library keeps your code familiar.
Works over USB on Windows, macOS, and Linux. The board appears as a CH340 USB-serial device and the library finds it for you.
Use familiar setup(), input(), and output() calls with GPIO numbers printed on the board.
All 28 pins handle digital I/O. Eight support hardware PWM, eight support 12-bit analog input, and one I2C controller has two routes.
The Python library and STM32 firmware are public and GPL-licensed, so you can inspect the protocol and adapt your setup.
SEE IT RUN
The original board demo uses a few lines of Python to make an LED blink from a desktop computer.
Prefer a standalone page? Open the demo video page or watch on YouTube.
GET STARTED
Install the library, plug in a data-capable USB-C cable, and run a normal Python script. The board reports its hardware and software version when it connects.
DoerGPIO supports Python 3.9 and newer. pyserial is installed automatically.
pip install DoerGPIOUse pip3 or python -m pip when your system needs it.
Plug the board into a USB port with a data-capable USB-C cable. It identifies as a CH340 USB-serial device.
If your computer does not detect it, the troubleshooting guide has the checks to make next.
from DoerGPIO import GPIO
import time
GPIO.setup(17, GPIO.OUT)
for _ in range(5):
GPIO.output(17, GPIO.HIGH)
time.sleep(0.5)
GPIO.output(17, GPIO.LOW)
time.sleep(0.5)
# Read an input with its pull-up enabled
GPIO.setup(22, GPIO.IN, pull_up_down=GPIO.PUD_UP)
print("GPIO 22:", GPIO.input(22))WHAT YOU CAN BUILD
Use any GPIO 0–27 as an input or output with configurable pull-up, pull-down, or no pull resistor.
28 configurable pins
Set a whole-number duty cycle from 0–100 on GPIO 4, 9, 10, 16, 18, 20, 22, and 26. Some pins share a timer.
8 PWM pins
Read 12-bit values with GPIO.adc_read() on GPIO 0, 9, 10, 11, 14, 15, 18, and 26.
8 ADC pins · 0–4095
Use the hardware controller on either GPIO 16/20 or GPIO 3/2. Only one route is active at a time.
2 selectable routes
AT A GLANCE
These are the current software and source-backed specifications. The full docs keep individual items that still need hardware confirmation clearly marked.
| Microcontroller | STM32F070 · exact variant (C6 or CB) to be confirmed |
|---|---|
| GPIO pins | 28 configurable pins · GPIO 0–27 |
| USB | USB-C through a CH340 bridge · USB ID 1a86:7523 |
| PWM | 8 pins: 4, 9, 10, 16, 18, 20, 22, 26 · whole-number duty cycle 0–100 · default 1 kHz |
| ADC | 8 pins: 0, 9, 10, 11, 14, 15, 18, 26 · 12-bit readings from 0–4095 |
| Pull resistors | Configurable pull-up / pull-down on all pins |
| Platforms | Windows · macOS · Linux · driver availability depends on OS and version |
| I2C | 1 controller · two selectable pin routes |
| Serial link | 230400 baud |
| Python | 3.9+ · pip install DoerGPIO · library 1.1 |
| Firmware | C (STM32CubeIDE) · source release v0.2 |
| License | GPL-3.0 (library: GPL-3.0-or-later) |
See the full specification table for PWM frequency notes and the firmware notes for board compatibility.
MADE FOR
Blink LEDs, read sensors, and control a motor through a suitable external motor driver from the laptop on your bench.
Test hardware interactions from the same development machine where you write and debug the rest of your code.
Explain GPIO with familiar Python syntax on the Windows, Mac, or Linux computers already in the classroom.
FROM SCHEMATIC TO CASE
The board's story runs from schematic and layout through assembly and the finished 3D-printed case.






OPEN SOURCE
The board runs open-source STM32 firmware, and the Python library is developed alongside it. DoerGPIO 1.1 with firmware v0.2 adds I2C support.
ORIGINAL PRODUCT INSTRUCTIONS
The original GPIO page included these three steps. They remain here for review; board and bootloader compatibility by shipment batch is still unverified. Do not run them until the hardware audit is complete.
pip install pyserialGet the latest .bin firmware file and upload_fw.py from the GitHub Releases page.
With the board unplugged, run the script and plug it in when prompted. The original command was:
python3 upload_fw.py DoerGPIO_FW.binThe original banner also says “FIRMWARE UPDATE VIA OTA”; that wording is retained in the source artwork and is not treated as a verified capability. Read the migration notes →
FAQ
Windows, macOS, and Linux. Driver availability can depend on the operating system and its version; the full troubleshooting guide covers what to check if the board is not detected.
Run pip install DoerGPIO. Python 3.9 or newer is required, and the library finds the board over USB when it connects.
PWM: 4, 9, 10, 16, 18, 20, 22, 26. ADC: 0, 9, 10, 11, 14, 15, 18, 26. All pins support standard digital I/O.
Yes. The Python library and STM32 firmware are public under GPL licenses. Browse the library and firmware repositories.
The board is available from the Doer online store.
READY TO BUILD?
Start with the board, then keep the complete pinout, API reference, troubleshooting, and firmware notes close by.