Add SHT21 sensor support and related configurations#9520
Closed
Tomas-Kuchta-FPV wants to merge 0 commit intomeshtastic:developfrom
Closed
Add SHT21 sensor support and related configurations#9520Tomas-Kuchta-FPV wants to merge 0 commit intomeshtastic:developfrom
Tomas-Kuchta-FPV wants to merge 0 commit intomeshtastic:developfrom
Conversation
Contributor
@Tomas-Kuchta-FPV, Welcome to Meshtastic!Thanks for opening your first pull request. We really appreciate it. We discuss work as a team in discord, please join us in the #firmware channel. Welcome to the team 😄 |
fifieldt
reviewed
Feb 4, 2026
| meshtastic_TelemetrySensorType_BH1750 = 45 | ||
| meshtastic_TelemetrySensorType_BH1750 = 45, | ||
| /* STH21 temperature, R. humidity sensor */ | ||
| meshtastic_TelemetrySensorType_SHT21 = 46 |
Member
There was a problem hiding this comment.
This code is automatically generated. So another PR to the protobufs repo is needed (with basically the same content)
Author
There was a problem hiding this comment.
Alright regenerated and made a PR in protobufs meshtastic/protobufs#855, thanks
ec0c2f6 to
0022148
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi yall,
I've gotten my hands on the SHT21 sensor for a school project. And have written code for it with the help of Copilot.
I have no idea if my PR is welcomed here as you already have SHT3x in te codebase which is way more common.
The code is tested and it works on the target device.
The sensors shares the same addres with
INA_ADDR(0x40). I have implemented a flag-D HAS_SHT21=1, but maybe for user confort a probe would be better. What do you think?Thanks for any sudgestions.
🤝 Attestations