RP2040 USB Sensor Data Streaming

Заказчик: AI | Опубликовано: 25.03.2026

I am working on a project involving a custom filament motion sensor based on the RP2040 microcontroller. The project is built on an open-source firmware available on GitHub (the roadrunner-filament-sensor repository). The hardware setup includes an AS5600 magnetic rotary encoder and an IR sensor to detect filament presence. It is currently designed to communicate with Klipper using a custom protocol. I’m running into issues with Klipper integration, so instead I want to directly access the sensor’s raw data on my laptop over USB. Specifically, I want to read real-time values such as angle, accumulated turns, and filament presence. I have full access to the firmware source code from GitHub, and I’m using the USB serial version of the firmware. The goal is to modify the firmware so that when I connect the device via USB, I can directly receive these raw data streams on my laptop.