🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

Meadow.Foundation.Sensors.Camera.UsefulSensors.TinyCodeReader

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Meadow.Foundation.Sensors.Camera.UsefulSensors.TinyCodeReader

Useful Sensor's Tiny Code Reader I2C optical QR code reader

2.2.0.5-beta
NuGet
Version published
Maintainers
1
Created
Source

Meadow.Foundation.Sensors.Camera.UsefulSensors.TinyCodeReader

Useful Sensor's Tiny Code Reader I2C optical QR code reader

The UsefulSensorsTinyCodeReader library is included in the Meadow.Foundation.Sensors.Camera.UsefulSensors.TinyCodeReader nuget package and is designed for the Wilderness Labs Meadow .NET IoT platform.

This driver is part of the Meadow.Foundation peripherals library, an open-source repository of drivers and libraries that streamline and simplify adding hardware to your C# .NET Meadow IoT applications.

For more information on developing for Meadow, visit developer.wildernesslabs.co.

To view all Wilderness Labs open-source projects, including samples, visit github.com/wildernesslabs.

Installation

You can install the library from within Visual studio using the the NuGet Package Manager or from the command line using the .NET CLI:

dotnet add package Meadow.Foundation.Sensors.Camera.UsefulSensors.TinyCodeReader

Usage

TinyCodeReader tinyCodeReader;

public override Task Initialize()
{
    Resolver.Log.Info("Initialize...");

    tinyCodeReader = new TinyCodeReader(Device.CreateI2cBus());

    return Task.CompletedTask;
}

public override Task Run()
{
    //one time read 
    var qrCode = tinyCodeReader.ReadCode();

    if (qrCode != null)
    {
        Resolver.Log.Info($"QR Code: {qrCode}");
    }
    else
    {
        Resolver.Log.Info("No QR Code Found");
    }

    //continuous read
    tinyCodeReader.CodeRead += TinyCodeReader_CodeRead;
    tinyCodeReader.StartUpdating(TimeSpan.FromSeconds(1));

    return Task.CompletedTask;
}

private void TinyCodeReader_CodeRead(object sender, string e)
{
    Resolver.Log.Info($"QRCode message: {e} ({DateTime.Now})");
}

How to Contribute

Need Help?

If you have questions or need assistance, please join the Wilderness Labs community on Slack.

About Meadow

Meadow is a complete, IoT platform with defense-grade security that runs full .NET applications on embeddable microcontrollers and Linux single-board computers including Raspberry Pi and NVIDIA Jetson.

Build

Use the full .NET platform and tooling such as Visual Studio and plug-and-play hardware drivers to painlessly build IoT solutions.

Connect

Utilize native support for WiFi, Ethernet, and Cellular connectivity to send sensor data to the Cloud and remotely control your peripherals.

Deploy

Instantly deploy and manage your fleet in the cloud for OtA, health-monitoring, logs, command + control, and enterprise backend integrations.

Keywords

Meadow.Foundation

FAQs

Package last updated on 03 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts