# pd-usb: reconstructing Playdate USB commands

> pd-usb implements Playdate USB communication in a JavaScript WebSerial library using commands recovered through packet sniffing. It reads device status, controls and screen data, sends bitmaps, and exposes command and compiled-Lua payload operations.

- Type: Case study
- Targets: Protocol
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-08
- Added to the catalog: 2026-11-09
- Original resource: <https://github.com/cranksters/pd-usb>
- Primary source: <https://github.com/cranksters/pd-usb/blob/a200e8a139ebc104e415c2856354f57b3aedcf17/readme.md>
- Catalog page: <https://awesomerea.org/resources/pd-usb-case/>
- Record JSON: <https://awesomerea.org/resources/pd-usb-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/pd-usb-case/index.md)

## Requirements & limits

- **Prerequisites:** A Playdate connected over USB and a browser with WebSerial support in a secure context.
- **License:** MIT License.

## Primary sources

1. <https://github.com/cranksters/pd-usb/blob/a200e8a139ebc104e415c2856354f57b3aedcf17/readme.md>

## More in Protocols

- [GlanceClock: reconstructing its BLE command protocol](https://awesomerea.org/resources/glance-clock-ble-case/index.md) · Case study
- [prolink-connect: implementing Pioneer PROLINK exchanges](https://awesomerea.org/resources/prolink-connect-case/index.md) · Case study
- [Open Remote Start: reconstructing the Fortin antenna data-link](https://awesomerea.org/resources/open-remote-start-case/index.md) · Case study
- [PythonWifiBulb: reconstructing MagicLight bulb commands](https://awesomerea.org/resources/pythonwifibulb-case/index.md) · Case study
- [Laser Drift: reconstructing Carrera infrared slot-car control](https://awesomerea.org/resources/laser-drift-case/index.md) · Case study
- [mx3000control: reconstructing Perixx MX-3000 HID settings](https://awesomerea.org/resources/mx3000control-case/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
