Meadow.Foundation.ICs.ADC.Ads7128
2.2.0.2
See the version list below for details.
dotnet add package Meadow.Foundation.ICs.ADC.Ads7128 --version 2.2.0.2
NuGet\Install-Package Meadow.Foundation.ICs.ADC.Ads7128 -Version 2.2.0.2
<PackageReference Include="Meadow.Foundation.ICs.ADC.Ads7128" Version="2.2.0.2" />
<PackageVersion Include="Meadow.Foundation.ICs.ADC.Ads7128" Version="2.2.0.2" />
<PackageReference Include="Meadow.Foundation.ICs.ADC.Ads7128" />
paket add Meadow.Foundation.ICs.ADC.Ads7128 --version 2.2.0.2
#r "nuget: Meadow.Foundation.ICs.ADC.Ads7128, 2.2.0.2"
#addin nuget:?package=Meadow.Foundation.ICs.ADC.Ads7128&version=2.2.0.2
#tool nuget:?package=Meadow.Foundation.ICs.ADC.Ads7128&version=2.2.0.2
Meadow.Foundation.ICs.ADC.Ads7128
TI ADS7128 I2C analog to digital converter
The Ads7128 library is included in the Meadow.Foundation.ICs.ADC.Ads7128 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.ICs.ADC.Ads7128
Usage
private Ads7128 adc;
private IAnalogInputPort ch0;
public override async Task Initialize()
{
Resolver.Log.Info("Initialize...");
var bus = Device.CreateI2cBus();
adc = new Ads7128(
bus,
Ads7128.Addresses.Default);
ch0 = adc.CreateAnalogInputPort(adc.Pins.AIN0);
}
public override async Task Run()
{
while (true)
{
var voltage = await ch0.Read();
Resolver.Log.Info($"AIN0 voltage: {voltage.Volts:N2}");
await Task.Delay(2000);
}
}
How to Contribute
- Found a bug? Report an issue
- Have a feature idea or driver request? Open a new feature request
- Want to contribute code? Fork the Meadow.Foundation repository and submit a pull request against the
develop
branch
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.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Meadow.Foundation (>= 2.2.0.2)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Meadow.Foundation.ICs.ADC.Ads7128:
Package | Downloads |
---|---|
Meadow.Foundation.ProgrammableAnalogInput
Meadow Programmable Analog Input module |
|
Meadow.Foundation.Relays.ProgrammableAnalogInput
Wilderness Labs Programmable Analog Input module |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.2.0.5-beta | 24 | 6/3/2025 |
2.2.0.4-beta | 123 | 5/28/2025 |
2.2.0.2 | 160 | 5/7/2025 |
2.2.0.1 | 156 | 5/7/2025 |
2.2.0 | 152 | 5/7/2025 |
2.1.0.7-beta | 149 | 5/7/2025 |
2.1.0.3-beta | 144 | 4/7/2025 |