AI agents & screen readers: for a machine-readable, text-only catalogue, start at /llms.txt. Products are available as Markdown (/products.md, /products/{handle}.md) and JSON (/products.json, /products/{handle}.json).
Store

Adafruit

· MPN: ADA5973

$13.85 |
In stock at supplier
No reviews yet

The Adafruit CH9328 UART to HID Keyboard Breakout lets any microcontroller or single-board computer emulate a USB keyboard — even without native USB support....

Stock availability

Available with leadtime
100 available
Estimated Delivery
Arrives
Disclaimer
View Markdown
Secure checkout

The Adafruit CH9328 UART to HID Keyboard Breakout lets any microcontroller or single-board computer emulate a USB keyboard — even without native USB support. Simply send ASCII characters or raw HID reports over a 9600-baud serial connection, and the CH9328 converts them into real keypresses on the connected computer, laptop, or mobile device.

The breakout includes a USB Type-C port for easy plug-and-play connection to a host device, plus a JST SH connector for solderless wiring to your microcontroller. Four on-board DIP switches configure the operating mode before power-up.

Key Features

  • UART to USB HID Keyboard – Converts serial data into standard USB keyboard keypresses
  • USB Type-C Output – Plug directly into any computer, laptop, phone, or tablet
  • 9600 Baud 3V UART Input – Works with hardware or software serial from any microcontroller or SBC
  • 4 DIP Switches – Configure operating mode before power-up
  • JST SH Connector – Solderless connection option (5V, GND, data in)
  • 5V Power Output – Power your microcontroller from the USB host via the 5V and GND pads
  • Reset Line – Hardware reset input for reliable operation

DIP Switch Modes

  • Mode 0 (SW 2, 3, 4 ON) – ASCII characters sent as-is; 0x1B triggers Enter key
  • Mode 1 (SW 2, 4 ON; SW 3 OFF) – ASCII characters sent as-is, no special key mapping
  • Mode 2 (SW 2, 3 ON; SW 4 OFF) – ASCII characters sent as-is; 0x28 triggers Enter key
  • Mode 3 (SW 3, 4 ON; SW 2 OFF) – Raw 8-byte HID reports for full control over keypresses, key holds, and non-US keyboard layouts
Tip: Mode 3 is recommended for most applications as it gives you full control over keypresses and supports non-US keyboard layouts. Use the Adafruit CH9328 library for easy Mode 3 integration.

Ideal For

  • Adding keyboard emulation to boards without native USB (ATmega328, ESP32, ESP8266)
  • Automating keyboard input from a Raspberry Pi or other SBC
  • Building custom macro keyboards or input devices
  • Cross-device typing — have one computer type into another

Package Contents

  • 1× Adafruit CH9328 UART to HID Keyboard Breakout

Jargon buster

Plain-language definitions for the technical terms used above.

baud
Baud is the signalling rate of a serial connection, often used as the speed setting for UART communication. Matching the baud rate matters because both connected devices must use the same setting for readable data.
breakout
A breakout board carries a small or fine-pitched component and brings its connections out to standard, breadboard- and header-friendly pins. Describing a part as a breakout means it can be wired into a project without soldering directly to the component's tiny contacts.
DIP switch
A DIP switch is a small set of physical on/off switches used to configure hardware settings without software. It matters because changing features such as auto power-on or charging limits may require moving these tiny switches correctly.
ESP32
ESP32 is a family of low-cost microcontroller chips and modules from Espressif with built-in WiFi and Bluetooth. They support programmable firmware and over-the-air updates, and are commonly programmed with toolchains such as the Arduino core and ESP-IDF.
GND
GND is the ground or reference connection (0 V) for a circuit. When connecting two devices together, their grounds must be joined so both agree on what counts as a low or high signal.
HID
Human Interface Device is a USB device class used for keyboards, mice, gamepads and similar controls. If a board supports HID over USB, it can act like an input device to a computer without needing a custom driver.
microcontroller
A microcontroller is a small computer on a single chip that runs a stored program and controls connected inputs and outputs such as buttons, sensors, displays and communication interfaces. In a device built around one, it is the part that executes the code and coordinates the device's behaviour.
native USB
Native USB means the microcontroller itself handles USB communication, rather than using a separate USB-to-serial chip. This matters for programming, debugging, and projects that need the board to act directly as a USB device.
single-board computer
A complete computer built onto one circuit board, usually including the processor, memory, ports, and connectors. This matters because accessories like heatsinks must match the board’s layout and mounting holes to fit properly.
Type-C
USB Type-C (USB-C) is a small, reversible USB connector used for charging, power, and data transfer on many modern devices. A Type-C port or plug indicates the cable and charger connection needed to power, charge, or communicate with a device.
UART
UART is a simple asynchronous serial interface that sends data over separate transmit and receive wires, usually labelled TX and RX, with both ends set to the same baud rate. It is a common way for microcontrollers and other serial devices to exchange data.
USB host
A USB host is the side of a USB connection that controls attached devices, like a computer talking to a keyboard or flash drive. This matters because most microcontroller boards are normally USB devices, so adding USB host support lets them use common USB peripherals.
USB Type-C
USB Type-C is a small, reversible USB connector used for power, data and sometimes video on many modern devices. The connector itself does not guarantee a particular speed or voltage, so check the supported USB version, data rate and whether it carries more than 5V via USB Power Delivery.
Stella
Stella Expert

Ask me anything about this product

Maddy, co-founder of Little Bird

Need help? We're here for you!

Hi, I'm Maddy. My team and I are ready to help with your order or any questions.