Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add warning to conditioning #7

Merged
merged 1 commit into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ See user manual at
[https://sensirion.github.io/python-i2c-sgp4x/](https://sensirion.github.io/python-i2c-sgp4x/).


## SGP41 Conditioning

After each restart of the SGP41 sensor or when the hotplates have been switched off, the conditioning command must
be called from idle mode. The conditioning heats the hotplate of the NOx pixel to a different temperature compared
to the measurement mode enabling a faster switch-on thereafter.

It is recommended to execute the conditioning for 10s, but **10s must not be exceeded** to avoid damage to the sensing material.


## Development

We develop and test this driver using our company internal tools (version
Expand Down
3 changes: 2 additions & 1 deletion example_linux_sgp41.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@

print("SGP41 Serial Number: {}".format(sgp41.get_serial_number()))

# Run conditioning for 10 seconds
# Run conditioning for 10 seconds
# WARNING: To avoid damage to the sensing material the conditioning must not exceed 10s!
for _ in range(10):
time.sleep(1)
sraw_voc = sgp41.conditioning()
Expand Down
3 changes: 2 additions & 1 deletion example_sensorbridge_sgp41.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@

print("SGP41 Serial Number: {}".format(sgp41.get_serial_number()))

# Run conditioning for 10 seconds
# Run conditioning for 10 seconds
# WARNING: To avoid damage to the sensing material the conditioning must not exceed 10s!
for _ in range(10):
time.sleep(1)
sraw_voc = sgp41.conditioning()
Expand Down
2 changes: 2 additions & 0 deletions sensirion_i2c_sgp4x/sgp41/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ def conditioning(self, relative_humidity=None, temperature=None):
conditioning. This command returns only the measured raw signal of the VOC
pixel SRAW_VOC

WARNING: To avoid damage to the sensing material the conditioning must not exceed 10s!

:param relative_humidity: relative humidity in percent. Defaults to 50% RH
:param temperature: temperature in degree celsius. Defaults to 25°C
:return: raw VOC signal (:py:class:`~sensirion_i2c_sgp4x.sgp41.response_types.Sgp41SrawVoc`)
Expand Down
Loading