# hpcs330: reconstructing the Hopoo spectrometer serial protocol

> hpcs330 implements a Python reader for the Hopoo HPCS-330 spectrometer using a USB serial protocol recovered from the vendor's Windows application. The protocol notes describe framing and measurement commands; the client retrieves spectral samples and the meter's computed light measurements.

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

## Requirements & limits

- **Prerequisites:** Python 3.10 or later and pyserial 3.4 or later.
- **Prerequisites:** A Hopoo HPCS-330P in USB COM mode; this is the model the author reports testing.
- **Limits:** Other HPCS-330 variants and HPCS-310/320 models are unconfirmed; some computed values have not been checked against the screen.
- **License:** MIT License.

## Primary sources

1. <https://github.com/markchadwick/hpcs330/blob/8e5699029d66f12d3a898832bd6892f7a4a5a16e/docs/protocol.md>
2. <https://github.com/markchadwick/hpcs330/blob/8e5699029d66f12d3a898832bd6892f7a4a5a16e/README.md>

## More in Protocols

- [LB-M8 Settings: reconstructing Lingbao M8 mouse commands](https://awesomerea.org/resources/lb-m8-settings-case/index.md) · Case study
- [iMist: local diffuser control from a reconstructed Bluetooth protocol](https://awesomerea.org/resources/imist-diffuser-case/index.md) · Case study
- [Toshiba e-STUDIO2323AM: reconstructing a PJL/JBIG print stream for CUPS](https://awesomerea.org/resources/toshiba-estudio2323am-cups-driver-case/index.md) · Case study
- [CustomWatch: a Prixton Life Fit companion from BLE protocol research](https://awesomerea.org/resources/customwatch-case/index.md) · Case study
- [reticos-rgb: Speedlink RETICOS RGB mouse profile protocol](https://awesomerea.org/resources/reticos-rgb-case/index.md) · Case study
- [SPL Lab Web: NEXT LAB measurement client and device protocol](https://awesomerea.org/resources/spl-lab-web-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.
