Component: Humidity (SHT21, EBM016) (Sensors: EBM Modules)
Author | Matrix TSL |
Version | 1.0 (Release) |
Category | Sensors: EBM Modules |
Contents
Humidity (SHT21, EBM016) component
Humidity and temperature sensor using an SHT21 IC connected via I2C - as used by the Matrix e-block module EBM016. On screen GUI allows temperature and humidity values to be simulated, and will show all I2C communication in a console window.
Examples
This example reads the temperature and humidity levels from the sensor and displays the readings on the LCD. EBM016 Example
Downloadable macro reference
GetTemperatureReal
Return temperature reading as a float value in degrees C
Parameters
- This macro has no parameters
Return value
GetTemperatureData
Returns the raw register pair value
Parameters
- This macro has no parameters
Return value
GetTemperatureInt
Return temperature reading as an integer value in degrees C
Parameters
- This macro has no parameters
Return value
GetHumidityInt
returns the relative Humidity reading as an integer value
Parameters
- This macro has no parameters
Return value
GetHumidityReal
returns the Humidity reading as a float value
Parameters
- This macro has no parameters
Return value
GetHumidityData
Returns the raw register pair value
Parameters
- This macro has no parameters
Return value
Simulation macro reference
This component does not contain any simulation macros
Property reference
Channel
This property is of type Fixed list of ints and can be referenced with the variable name CHANNEL.
No additional information
SDA
This property is of type Single digital pin and can be referenced with the variable name SDA.
No additional information
SCL
This property is of type Single digital pin and can be referenced with the variable name SCL.
No additional information