Conversation
|
An additional comment: these type of sensors generally require a "control" interface to enable or disable features. This is mapped here - and could be a good outcome of the hackathon. |
|
@oscgonfer protobufs are merged and generated upstream now |
247768e to
84865cd
Compare
|
rebased onto #7202 - just to keep in mind that the sensirion library needs to be |
|
sensirion 1.1.0 was released - updated upstream. |
Merged |
|
Thanks for your effort! I can confirm it works with:
|
6237b2e to
3a1a07a
Compare
443a573 to
ec57c62
Compare
|
|
Co-authored-by: Hannes Fuchs <hannes.fuchs+git@0xef.de>
|
Hi @paulwalko @hafu Do you want to give this a go? I believe it'd be final |
Looks good to me! Verified with a diy nrf52 node to take measurements (scd41 only) + rak 4631 to upload them. |
|
Cool! I need to fix a minor detail on the Sen5x part, but it'd be done shortly! I'll mark it as ready when it's done! |
I'll try to test this next week with at least a Heltec v3 |
|
Resolved conflicts on merge. All good on my end, but let's see after tests. |
|
Can also confirm it works using a Heltec v3. I also have a MCP9808 temperature sensor connected to the I2C bus. At first it won't work and I got only |
|
Thank you both @hafu and @Tomas-Kuchta-FPV for testing. Admin commands are now (WIP) implemented in meshtastic/python#903 in case you want to give it a whirl. The commands are used to modify calibration parameters and other config settings. |
I'll test it out. |

This PR adds support for the SCD4X CO2 sensors by sensirion.
It builds upon on the great work by @Coloradohusky, @hafu and @fifieldt in #4601 and https://github.com/hafu/meshtastic-firmware/tree/add-scd30 (although it doesn't add SCD30 support).
This PR tries to sync that work with the current state
masterbranch, and it's rebased on top of #7190, which is an attempt to decoupleAirQualityTelemetryfromPMSA0003Isensor (I have just ordered one sensor to test). I also started using the new Sensirion library for this sensor, which has a new release (and a very annoying change in the library name import).This also goes along with meshtastic/protobufs#719 to support having real temperature and the sensor temperature separately. Testing it, you can see some differences between two sensors that are right next to each other (SHT31 and the one inside the SCD4X).
There are some comments that I point in the code directly below. I also tried to make it work with the screen, but I don't think my system allows for testing it ATM.
🤝 Attestations