Plugin:sigrok

From collectd Wiki
Revision as of 11:56, 18 August 2013 by Octo (talk | contribs) (Description: Some markup fixes.)

Jump to: navigation, search

The sigrok plugin

sigrok plugin
Type: read
Callbacks: config, init,shutdown
Status: supported
First version: 5.4
Copyright: 2013 Bert Vermeulen
License: GPLv2+
Manpage: collectd.conf(5)
List of Plugins

Description

The sigrok project aims at creating a portable, cross-platform, Free/Libre/Open-Source signal analysis software suite that supports various device types, such as logic analyzers, MSOs, oscilloscopes, multimeters, LCR meters, sound level meters, thermometers, hygrometers, anemometers, light meters, DAQs, dataloggers, function generators, spectrum analyzers, power supplies, GPIB interfaces, and more.

The sigrok plugin is a fully fledged libsigrok client, and can use any supported hardware to feed measurements to collectd. Only analog sources are supported.

Hardware supported by libsigrok generally provides samples at much higher than 1Hz. The default output plugin in collectd, RRDtool, cannot deal with updates more than once per second, so the MinimumInterval keyword is recommended in this case.

Synopsis

collectd configuration:

<Plugin "sigrok">
   LogLevel 3
   <Device "Sound level">
       Driver "cem-dt-885x"
       Conn "/dev/ttyUSB3"
       MinimumInterval 1
   </Device>
   <Device "Temperature">
       Driver "uni-t-ut32x"
       conn "1a86.e008"
       MinimumInterval 1
   </Device>
</Plugin>


Example graphs

Sigrok-spl.png Sigrok-temp.png

Dependencies