Skip to content

A protocol and set of libraries to read sensors via the serial port. Useful for WebSerial and MCU-MCU comms.

License

Notifications You must be signed in to change notification settings

ATMakersOrg/SerialSensors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

SerialSensors

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

Goals

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.

Components

  1. 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.
  2. "Host" implementation based on Arduino using TinyUSB when USB Hosting is needed.
  3. "Client" libraries implemented in Arduino, CircuitPython, and Javascript (WebUSB/WebSerial) for pulling data out

About

A protocol and set of libraries to read sensors via the serial port. Useful for WebSerial and MCU-MCU comms.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published