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
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@ Note: Installation via the Arduino Library Manager is coming soon.
Plotter` via the `Tools` menu to observe the measurement values. Note that
the `Baud Rate` in the corresponding window has to be set to `115200 baud`.

# Conditioning

After each restart of the 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.

# Contributing

**Contributions are welcome!**
Expand Down
4 changes: 3 additions & 1 deletion examples/exampleUsage/exampleUsage.ino
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@

SensirionI2CSgp41 sgp41;

// time in seconds needed for NOx conditioning
// Time in seconds needed for NOx conditioning
// WARNING: To avoid damage to the sensing material the conditioning must not
// exceed 10s!
uint16_t conditioning_s = 10;

void setup() {
Expand Down
3 changes: 3 additions & 0 deletions src/SensirionI2CSgp41.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ class SensirionI2CSgp41 {
* different temperature for conditioning. This command returns only the
* measured raw signal of the VOC pixel SRAW_VOC as 2 bytes (+ 1 CRC byte).
*
* WARNING: To avoid damage to the sensing material the conditioning must
* not exceed 10s!
*
* @param defaultRh Default conditions for relative humidty.
*
* @param defaultT Default conditions for temperature.
Expand Down
Loading