A protocol and set of libraries to read sensors via the serial port. Useful for WebSerial and MCU-MCU comms.
Here's a document that can help show what we're looking for https://docs.google.com/document/d/1kFMqs5m0gzPVUjSe9lqyT530u-9IesOCGfMhnKY4_XE/edit?usp=sharing
AT ATMakers we are consistently finding a need to communicate over basic UART links with no flow control and no significant buffering. This project is meant to hold solutions to this problem.
- A documented protocol for interfacing with sensors attached to a MCU over a serial link. Protocol should handle error detection, connection reset, and commands to fetch sensors values, start/stop streaming of values, and start/stop recording of values.
- "Host" implementation based on Arduino using TinyUSB when USB Hosting is needed.
- "Client" libraries implemented in Arduino, CircuitPython, and Javascript (WebUSB/WebSerial) for pulling data out