Difference between revisions of "Component: Barometer (BMP180) (Environmental)"
From Flowcode Help
Jump to navigationJump to searchLine 14: | Line 14: | ||
==Barometer component== | ==Barometer component== | ||
Barometric pressure sensor with a I2C bus interface. Pressure range 300 to 1100 hPa. Temperature range -40 to +85 °C. | Barometric pressure sensor with a I2C bus interface. Pressure range 300 to 1100 hPa. Temperature range -40 to +85 °C. | ||
+ | |||
+ | ==Component Pack== | ||
+ | |||
+ | SENSORS | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 26: | Line 32: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Revision as of 16:24, 7 January 2022
Author | Matrix TSL |
Version | 1.1 |
Category | Environmental |
Contents
Barometer component
Barometric pressure sensor with a I2C bus interface. Pressure range 300 to 1100 hPa. Temperature range -40 to +85 °C.
Component Pack
SENSORS
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
![]() |
ReadPressureFloat |
Reads the pressure as a floating point value in Bars. Calls the ReadPressureRaw function and then converts to a meaningful value. | |
![]() |
Return |
![]() |
Reset |
Resets the device | |
![]() |
Return |
![]() |
I2C_Read_Register |
Reads a byte value from a register on the device | |
![]() |
Address |
![]() |
Return |
![]() |
Altitude |
Calculates the altitude based on difference between actual pressure and the pressure at the sea level P0=1013.25 hPa. | |
![]() |
Return |
![]() |
Forced_Read |
![]() |
Return |
![]() |
I2C_Write_Register |
Writes a byte value to a register on the device | |
![]() |
Address |
![]() |
Value |
![]() |
Return |
![]() |
Initialise |
Starts up the I2C bus and initialises the pressure sensor ready for use. Returns 1 for a sucessful startup. Returns 0 for a failed startup or no device detected. | |
![]() |
Return |