Export to GitHub

airsensor-linux-usb - About.wiki


What it is

I was aiming for a quick-and-dirty solution to read out and display the data of the Voltcraft CO-20 USB-stick.

I have NOT thoroughly analyzed the port-traffic under windows, but simply took the part of the incoming byte-stream that seems to yield reasonble results as compared to the windows-program.

The Qt-part is based on the 'cpuplot'-example of QWT.

Compilation

  • qmake
  • make

Dependencies

  • Qt4
  • Qwt
  • libusb-0.1 (alt.: libusb-1.0 + libusb-compat)

Handling

Apart from 'looking at it' you can also log the data. Click the legend 'Air-Quality' to start/stop writing the data to a log-file ('./airsensor.log').