watterott / CO2-Ampel

CO2-Ampel / CO2-Traffic-Light to measure and show the carbon dioxide concentration in a room, based on Sensirion SCD30/SCD4x sensor and Microchip SAMD21 microcontroller
https://learn.watterott.com/breakouts/co2-ampel/
23 stars 12 forks source link

Provide basic "generic" shell script for monitoring sensor values over USB/serial #8

Closed olberger closed 3 years ago

olberger commented 3 years ago

Would it be possible to provide (in this repo ?) a basic shell script that could be generic enough to work on most Linux distros, to read sensor values over /dev/ttyACM0 (serial USB) ?

The docs in https://learn.watterott.com/breakouts/co2-ampel/getting-started/#serial-interface-usb point to the HTerm program, with a nice GUI etc. but for simple testing, I guess some stty / screen and such could be widely available on Linux boxes.

Thanks in advance.

awatterott commented 3 years ago

We have updated the documentation, but there are no plans for making a script. Screen can also be used for the readout: screen /dev/ttyACM0 9600