Skip to main content

Meadow.Foundation.ICs.ADC.Ads1015

Ads1015
StatusStatus badge: working
Source codeGitHub
Datasheet(s)GitHub
NuGet packageNuGet Gallery for Meadow.Foundation.ICs.ADC.Ads1x15

Code Example

Sample project(s) available on GitHub

Wiring Example

To wire a Ads1015 to your Meadow board, connect the following:

Ads1015Meadow Pin
GNDGND
VCC3V3
SCLD08 (SCL Pin)
SDAD07 (SDA Pin)

Class Ads1015

Represents a ADS1015 12-bit, 3.3-kSPS, 4-channel, delta-sigma analog-to-digital converter with PGA, oscillator, VREF, comparator

Assembly: Ads1x15.dll
View Source
Declaration
public class Ads1015 : Ads1x15Base, IObservable<IChangeResult<Voltage>>, ISamplingSensor<Voltage>, ISensor<Voltage>, ISensor, ISamplingSensor, II2cPeripheral

Inheritance: System.Object -> Meadow.Foundation.ObservableBase<UNIT>

Implements:
System.IObservable<Meadow.IChangeResult<Meadow.Units.Voltage>>, Meadow.Peripherals.Sensors.ISamplingSensor<Meadow.Units.Voltage>, Meadow.Peripherals.Sensors.ISensor<Meadow.Units.Voltage>, Meadow.Peripherals.Sensors.ISensor, Meadow.Peripherals.Sensors.ISamplingSensor, Meadow.Hardware.II2cPeripheral

Properties

BitResolution

Sample rate resolution

View Source
Declaration
protected override int BitResolution { get; }

ReadShiftBits

Bits to shift for reads

View Source
Declaration
protected override int ReadShiftBits { get; }

SampleRate

Sample rate setting

View Source
Declaration
public Ads1015.SampleRateSetting SampleRate { get; set; }

Implements

  • System.IObservable<Meadow.IChangeResult<Meadow.Units.Voltage>>
  • Meadow.Peripherals.Sensors.ISamplingSensor<Meadow.Units.Voltage>
  • Meadow.Peripherals.Sensors.ISensor<Meadow.Units.Voltage>
  • Meadow.Peripherals.Sensors.ISensor
  • Meadow.Peripherals.Sensors.ISamplingSensor
  • Meadow.Hardware.II2cPeripheral