nanoFramework.Iot.Device.LiquidLevel 1.2.907

Prefix Reserved
dotnet add package nanoFramework.Iot.Device.LiquidLevel --version 1.2.907
                    
NuGet\Install-Package nanoFramework.Iot.Device.LiquidLevel -Version 1.2.907
                    
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.907" />
                    
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.907" />
                    
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.907
                    
#r "nuget: nanoFramework.Iot.Device.LiquidLevel, 1.2.907"
                    
#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.907
                    
#: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.907
                    
Install as a Cake Addin
#tool nuget:?package=nanoFramework.Iot.Device.LiquidLevel&version=1.2.907
                    
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
1.2.907 159 10/2/2025
1.2.864 253 4/2/2025
1.2.852 235 3/11/2025
1.2.822 178 2/26/2025
1.2.775 182 2/4/2025
1.2.772 187 2/4/2025
1.2.755 179 1/31/2025
1.2.737 163 1/13/2025
1.2.696 172 12/16/2024
1.2.673 179 10/23/2024
1.2.631 185 8/28/2024
1.2.590 188 7/17/2024
1.2.570 190 6/14/2024
1.2.560 196 5/29/2024
1.2.548 194 5/15/2024
1.2.436 311 11/10/2023
1.2.416 191 11/8/2023
1.2.329 258 5/26/2023
1.2.313 250 5/12/2023
1.2.297 240 5/3/2023
1.2.217 391 1/6/2023
1.2.203 373 12/28/2022
1.2.159 450 11/14/2022
1.2.153 471 11/5/2022
1.2.141 488 10/25/2022
1.2.122 519 10/12/2022
1.2.114 497 10/8/2022
1.2.95 541 9/22/2022
1.2.87 567 9/15/2022
1.2.73 507 9/8/2022
1.1.116.8772 544 6/24/2022
1.1.113.2032 536 6/23/2022
1.1.58.10097 556 5/23/2022
1.1.3 566 4/15/2022
1.1.1 576 4/14/2022
1.0.300 568 3/31/2022
1.0.277-preview.126 214 3/25/2022
1.0.277-preview.125 209 3/25/2022
1.0.277-preview.112 209 3/19/2022
1.0.277-preview.110 202 3/18/2022
1.0.277-preview.105 212 3/15/2022
1.0.277-preview.99 218 3/10/2022
1.0.277-preview.98 208 3/8/2022
1.0.277-preview.77 212 2/18/2022
1.0.277-preview.41 233 1/28/2022
1.0.277-preview.32 234 1/27/2022
1.0.277-preview.17 226 1/24/2022
1.0.277-preview.15 219 1/21/2022
1.0.277-preview.13 217 1/21/2022
1.0.277-preview.1 221 1/11/2022
1.0.259 459 12/9/2021
1.0.218 298 10/18/2021
1.0.209 472 10/12/2021
1.0.155 456 8/31/2021
1.0.135 411 7/16/2021
1.0.134 272 7/15/2021
1.0.133 287 7/14/2021
1.0.129 273 7/6/2021
1.0.125 298 7/5/2021
1.0.121 298 6/29/2021
1.0.119 326 6/28/2021
1.0.35 321 5/24/2021