Component: Humidity AHT10 (Environmental): Difference between revisions
Appearance
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable"" |
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"" |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 34: | Line 34: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Initialise''' | ||
|- | |- | ||
| colspan="2" | Startup I2C bus and initialise the sensor. Returns 1 if the device is replying to commands. | | colspan="2" | Startup I2C bus and initialise the sensor. Returns 1 if the device is replying to commands. | ||
| Line 48: | Line 48: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ReadHumidity''' | ||
|- | |- | ||
| colspan="2" | Gets the humidity reading from the last sample. | | colspan="2" | Gets the humidity reading from the last sample. | ||
| Line 62: | Line 62: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ReadTemperature''' | ||
|- | |- | ||
| colspan="2" | Gets the temperature reading from the last sample. | | colspan="2" | Gets the temperature reading from the last sample. | ||
| Line 76: | Line 76: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Sample''' | ||
|- | |- | ||
| colspan="2" | Reads the sensor and collects the latest termperature and humidity readings. Returns 1 for a successful sample. | | colspan="2" | Reads the sensor and collects the latest termperature and humidity readings. Returns 1 for a successful sample. | ||
| Line 91: | Line 91: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | I2C Options | ||
|- | |- | ||
|- | |- | ||
| Line 139: | Line 139: | ||
| colspan="2" | Baud rate to be used | | colspan="2" | Baud rate to be used | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Simulation | ||
|- | |- | ||
|- | |- | ||
Latest revision as of 14:37, 13 July 2026
| Author | Matrix TSL |
| Version | 1.0 |
| Category | Environmental |
Humidity AHT10 component
A high precision I2C based temperature and humidity sensor.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_Humidity_AHT10.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_Humidity_AHT10.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
Initialise
| Initialise | |
| Startup I2C bus and initialise the sensor. Returns 1 if the device is replying to commands. | |
| Return | |
ReadHumidity
| ReadHumidity | |
| Gets the humidity reading from the last sample. | |
| Return | |
ReadTemperature
| ReadTemperature | |
| Gets the temperature reading from the last sample. | |
| Return | |
Sample
| Sample | |
| Reads the sensor and collects the latest termperature and humidity readings. Returns 1 for a successful sample. | |
| Return | |