Uses of Interface
com.diozero.devices.SensorInterface
-
Packages that use SensorInterface Package Description com.diozero.devices Classes representing actual devices such as LEDs, Buttons as well as GPIO, devices that are connected via I2C, SPI and Serial interfaces.com.diozero.devices.sandpit -
-
Uses of SensorInterface in com.diozero.devices
Subinterfaces of SensorInterface in com.diozero.devices Modifier and Type Interface Description interface
BarometerInterface
interface
DistanceSensorInterface
interface
HygrometerInterface
interface
LuminositySensorInterface
interface
ThermometerInterface
Classes in com.diozero.devices that implement SensorInterface Modifier and Type Class Description class
BH1750
BH1750 Luminosity sensor Datasheet Python code Pins:class
BME280
Provides access to the Bosch BMx280 pressure and temperature sensor.class
BME680
Deprecated.UseBME68x
insteadclass
BME68x
class
BMP180
Bosch BMP180 I2C temperature and pressure sensorclass
GP2Y0A21YK
Sharp GP2Y0A21YK distance sensor.class
HCSR04
User's manual: https://docs.google.com/document/d/1Y-yZnNhMYy7rwhAgyL_pfa39RsB-x2qR4vP8saG73rE/edit# Product specification: http://www.micropik.com/PDF/HCSR04.pdf Provides 2cm - 400cm non-contact measurement function, the ranging accuracy can reach to 3mm You only need to supply a short 10uS pulse to the trigger input to start the ranging, and then the module will send out an 8 cycle burst of ultrasound at 40 kHz and raise its echo.class
HTS221
STMicroelectronics HTS221 "ultra compact sensor for relative humidity and temperature".class
LM73
class
LPS25H
STMicroelectronics LPS25H "ultra compact absolute piezoresistive pressure sensor".class
TMP36
Support for reading temperature values from a TMP36 Temperature Sensor by Analog Devicesclass
TSL2561
Datasheet Pins:class
W1ThermSensor
-
Uses of SensorInterface in com.diozero.devices.sandpit
Classes in com.diozero.devices.sandpit that implement SensorInterface Modifier and Type Class Description class
HCSR04UsingEvents
Note this version doesn't work as well as the polling-based HCSR04 version.class
HCSR04UsingWait
User's manual: https://docs.google.com/document/d/1Y-yZnNhMYy7rwhAgyL_pfa39RsB-x2qR4vP8saG73rE/edit# Product specification: http://www.micropik.com/PDF/HCSR04.pdf Provides 2cm - 400cm non-contact measurement function, the ranging accuracy can reach to 3mm You only need to supply a short 10uS pulse to the trigger input to start the ranging, and then the module will send out an 8 cycle burst of ultrasound at 40 kHz and raise its echo.class
VL6180
Datasheet: https://www.st.com/resource/en/datasheet/vl6180.pdf
-