Namespace Pamoja.Sensors
Classes
- Ads1115
A Texas Instruments ADS1115 16-bit analog-to-digital converter, and a driver for one on an I2C bus.
- Ads1115.Sim
An ADS1115 that is not there, for a bus with nothing plugged in.
- Ads1115Config
An ADS1115 configuration register, field by field.
- Bme280
A Bosch BME280 temperature, pressure, and humidity sensor, and a driver for one on an I2C bus.
- Bme280.Register
The registers a driver reads and writes.
- Bme280.Sim
A BME280 that is not there, for a bus with nothing plugged in.
- Bme280Calibration
A BME280's factory calibration, read once and reused for every measurement.
- Bme280Measurement
A compensated BME280 reading.
- Bmp280
A Bosch BMP280 pressure and temperature sensor, and a driver for one on an I2C bus.
- Bmp280.Sim
A BMP280 that is not there, for a bus with nothing plugged in.
- Bmp280Calibration
A BMP280's factory calibration, read once out of the registers and reused for every measurement, since the compensation the datasheet specifies needs it.
- Bmp280Reading
A compensated BMP280 reading.
- Ds18b20
A Maxim DS18B20 1-Wire thermometer.
- Ds18b20Reading
A decoded DS18B20 scratchpad.
- Ds18b20Thermometer
A DS18B20 the Linux kernel serves as a
w1_slavefile.
- Hdc1080
A Texas Instruments HDC1080 humidity and temperature sensor, and a driver for one on an I2C bus.
- Hdc1080.Sim
An HDC1080 that is not there, for a bus with nothing plugged in.
- Ina219
A Texas Instruments INA219 current, voltage, and power monitor, and a driver for one on an I2C bus.
- Ina219.Sim
An INA219 that is not there, for a bus with nothing plugged in.
- Ina226
A Texas Instruments INA226 current, voltage, and power monitor, and a driver for one on an I2C bus.
- Ina226.Sim
An INA226 that is not there, for a bus with nothing plugged in.
- Opt3001
A Texas Instruments OPT3001 ambient light sensor, and a driver for one on an I2C bus.
- Opt3001.Sim
An OPT3001 that is not there, for a bus with nothing plugged in.
- Scd4x
A Sensirion SCD40 or SCD41 carbon dioxide sensor, and a driver for one on an I2C bus.
- Scd4x.Sim
An SCD4x that is not there, for a bus with nothing plugged in.
- Sht3x
A Sensirion SHT3x-DIS humidity and temperature sensor, and a driver for one on an I2C bus.
- Sht3x.Sim
An SHT3x that is not there, for a bus with nothing plugged in.
- Tmp117
A Texas Instruments TMP117 high-accuracy thermometer, and a driver for one on an I2C bus.
- Tmp117.Sim
A TMP117 that is not there, for a bus with nothing plugged in.
Structs
- Ads1115Sample
One ADS1115 conversion.
- Bme280Config
A BME280
configregister, field by field.
- Bme280CtrlMeas
A BME280
ctrl_measregister, field by field.
- Ina219Config
An INA219 configuration register, field by field.
- Ina219Reading
One INA219 conversion: the four result registers as read, and what they mean.
- Ina226Config
An INA226 configuration register, field by field.
- Ina226Reading
One INA226 conversion: the four result registers as read, and what they mean.
- Opt3001Reading
An OPT3001 illuminance result.
- Tmp117Alerts
The TMP117's alert flags: whether a result since they were last read crossed a limit.
- Tmp117Reading
A TMP117 temperature result.
Enums
- Ads1115.DataRate
The data rate, as its register code.
- Ads1115.Mux
The input multiplexer setting, as its register code.
- Ads1115.Pga
The full-scale range, as its register code.
- Bme280.Filter
The IIR filter that smooths pressure and temperature, as its register code.
- Bme280.Mode
A power mode, as its register code.
- Bme280.Oversampling
How many samples a measurement averages, as its register code.
- Bme280.Standby
The period the part rests between measurements in normal mode, as its register code.
- Bmp280.Oversampling
How many samples a measurement averages, as its register code.
- Hdc1080.HumidityResolution
The humidity channel's resolution, as its bit count.
- Hdc1080.TemperatureResolution
The temperature channel's resolution, as its bit count.
- Ina219.Adc
A converter's resolution, or the samples it averages at 12 bits, as its register code.
- Ina219.AddressPin
What an address pin is tied to, as the code Address(AddressPin, AddressPin) takes.
- Ina219.BusRange
The bus-voltage range, as its register code.
- Ina219.Gain
The shunt gain and the shunt-voltage range it gives, as its register code.
- Ina219.Mode
The operating mode, as its register code.
- Ina226.AddressPin
What an address pin is tied to, as the code Address(AddressPin, AddressPin) takes.
- Ina226.Averaging
How many samples each result folds together, as the register code.
- Ina226.ConversionTime
How long one bus or shunt conversion takes, as the register code.
- Ina226.Mode
Which voltages the part converts, and whether once or continuously, as the register code.
- Opt3001.ConversionTime
How long each conversion integrates.
- Sht3x.Repeatability
How repeatable a measurement is, which trades noise against time and energy.
- Tmp117.Averaging
How many conversions are averaged into one result, as its register code.