Skip to content

Experimental support for Sensirion Liquid Flow sensors

License

Notifications You must be signed in to change notification settings

Sensirion/arduino-liquid-flow

 
 

Repository files navigation

Experimental Arduino library for Sensirion liquid flow sensors

Build Status

This is an Arduino library for the Sensirion Liquid Flow sensors, based on the github snippet page at https://github.com/Sensirion/arduino-liquid-flow-snippets and the documentation on https://developer.sensirion.com/tutorials/arduino-interface-for-liquid-flow-sensors/ .

Supported sensors

Currently, the following sensors are supported:

  • SLF3X

The following sensors are expected to work, but haven't been tested:

  • LD20

Included examples

slf3x-minimal

This is a minimal example, reading out the data from the sensor and printing it to the serial console. Use the Arduino IDE's "Serial Monitor" to see the values read from the sensor

slf3x-demo

This example adds a second output format that is suitable for the plotter that is integrated with the Arduino IDE. To enable that format, simply uncomment the #define GENERATE_PLOTTER_OUTPUT line. Note that the code will scale the flow values by a factor of 1000 which changes the unit of the output to micro liters per hour; this is done to get the values into a similar range as the temperature read from the sensor.

The plot should look similar to this:

SLF3X plot

Feedback

If you have questions or suggestions, please submit an issue via github.

About

Experimental support for Sensirion Liquid Flow sensors

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%