Skip to content
Florian Forster edited this page Nov 20, 2023 · 1 revision

The sigrok plugin

Name:

sigrok plugin

Type:

read

Callbacks:

config, init,shutdown

Status:

supported

FirstVersion:

5.4

Copyright:

2013 Bert Vermeulen

License:

Manpage:

collectd.conf(5)

See also:

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

Clone this wiki locally