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

Use updated values for AirGradient API and add OLED switch #2

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

BayLee4
Copy link

@BayLee4 BayLee4 commented Sep 9, 2023

Use the updated value voc_index when sending data to the AirGradient API server. Additionally, also send NOX values using nox_index.
Reference: https://github.com/airgradienthq/arduino/blob/356e76f10ec002c2f6d91f361cc2b1c683c9c3e1/examples/DIY_PRO_V4_2/DIY_PRO_V4_2.ino#L381-L382

@BayLee4
Copy link
Author

BayLee4 commented Sep 10, 2023

@BayLee4 BayLee4 changed the title Use updated values for AirGradient API Use updated values for AirGradient API and add OLED switch Sep 20, 2023
@BayLee4
Copy link
Author

BayLee4 commented Sep 20, 2023

In the last commit I added a switch to turn the display on/off, which should be useful in a bedroom at night.
I also updated the I2C frequency to 100kHz which is the documented "standard-mode" speed in the datasheet: https://sensirion.com/media/documents/5FE8673C/61E96F50/Sensirion_Gas_Sensors_Datasheet_SGP41.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants