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

Support MCUs with built-in temperature sensors #390

Open
brentru opened this issue Dec 14, 2022 · 3 comments
Open

Support MCUs with built-in temperature sensors #390

brentru opened this issue Dec 14, 2022 · 3 comments
Labels
enhancement New feature or request sensors

Comments

@brentru
Copy link
Member

brentru commented Dec 14, 2022

Microcontrollers like the RP2040 and ESP32-S2/S3, ESP32-C2/C3 contain built-in temperature sensors. These are not ambient temperature sensors, they measure the temperature of the chip itself.

This temperature returned by these sensors is not very accurate (low resolution and generally higher than ambient temperature) but would serve as a quick way to get temperature data into IO without the use of external parts.

cc @lorennorman - This will likely need to be part of WipperSnapper_Components and WipperSnapper_Boards, too. Since it's technically an ADC measurement, we could denote it as an analog pin component. Only certain microcontrollers have a sensor like this, we may want to figure out how to add this (possibly as a new value) to the board.json too.

References:

@brentru brentru added enhancement New feature or request sensors labels Dec 14, 2022
@lorennorman
Copy link
Contributor

Oh this is fun! I can't envision the whole thing myself, it would help me to see a draft of what new JSON things we'd add to boards/components repos, and how it might show up in the component picker. From there I should be able to collaborate on that design and guess at a work estimate for this.

@brentru
Copy link
Member Author

brentru commented Dec 30, 2022

Proposal for support within WipperSnapper Boards: adafruit/Wippersnapper_Boards#94

@brentru
Copy link
Member Author

brentru commented Dec 30, 2022

Proposal for support within WipperSnapper Components: adafruit/Wippersnapper_Components#111

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request sensors
Projects
None yet
Development

No branches or pull requests

2 participants