nanoFramework.Iot.Device.LiquidLevel 1.2.931

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package nanoFramework.Iot.Device.LiquidLevel --version 1.2.931
                    
NuGet\Install-Package nanoFramework.Iot.Device.LiquidLevel -Version 1.2.931
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="nanoFramework.Iot.Device.LiquidLevel" Version="1.2.931" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="nanoFramework.Iot.Device.LiquidLevel" Version="1.2.931" />
                    
Directory.Packages.props
<PackageReference Include="nanoFramework.Iot.Device.LiquidLevel" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add nanoFramework.Iot.Device.LiquidLevel --version 1.2.931
                    
#r "nuget: nanoFramework.Iot.Device.LiquidLevel, 1.2.931"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package nanoFramework.Iot.Device.LiquidLevel@1.2.931
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=nanoFramework.Iot.Device.LiquidLevel&version=1.2.931
                    
Install as a Cake Addin
#tool nuget:?package=nanoFramework.Iot.Device.LiquidLevel&version=1.2.931
                    
Install as a Cake Tool

Digital liquid level switch

Digital liquid level switches are devices that can detect the presence of liquid/water. GPIO can be used to communicate with the devices.

Documentation

The implementation supports any single pin output digital liquid level switch.

Usage

Define the LLC200D3SH sensor using the LiquidLevelSwitch class.

using (LiquidLevelSwitch sensor = new LiquidLevelSwitch(23, PinValue.Low))
{
    while (true)
    {
        // read liquid level switch
        Debug.WriteLine($"Detected: {sensor.IsLiquidPresent()}");
        Debug.WriteLine();

        Thread.Sleep(1000);
    }
}

An example on how to use the specific LLC200D3SH device binding is available in the samples folder.

LLC200D3SH Circuit

The following fritzing diagram illustrates one way to wire up the Optomax LLC200D3SH digital liquid level switch with a MCU.

MCU Breadboard diagram

Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.0-preview.16 45 3/10/2026
1.2.931 280 11/10/2025
1.2.907 232 10/2/2025
1.2.864 347 4/2/2025
1.2.852 294 3/11/2025
1.2.822 239 2/26/2025
1.2.775 242 2/4/2025
1.2.772 252 2/4/2025
1.2.755 239 1/31/2025
1.2.737 223 1/13/2025
1.2.696 235 12/16/2024
1.2.673 243 10/23/2024
1.2.631 244 8/28/2024
1.2.590 252 7/17/2024
1.2.570 254 6/14/2024
1.2.560 256 5/29/2024
1.2.548 258 5/15/2024
1.2.436 332 11/10/2023
1.2.416 211 11/8/2023
1.2.329 287 5/26/2023
Loading failed