Skip to content

Internal sensors missing from ESP32-C3 port of the ESP library? #10443

Answered by fivdi
Ajb2k3 asked this question in ESP32
Discussion options

You must be logged in to vote

The ESP32-C3 has a temperature sensor but it doesn't have a hall sensor. At least there is no mention of a hall sensor in ESP32-C3 datasheet.

If I understand the source code correctly, functions esp32.hall_sensor() for reading the internal hall sensor and function esp32.raw_temperature() for reading the internal temperature are only available for the ESP32 but not for the ESP32-C3, ESP32-S2 or ESP32-S3. The code is here and is only added if CONFIG_IDF_TARGET_ESP32 is defined. The code is not added when CONFIG_IDF_TARGET_ESP32C3 is defined (which is the corresponding define for the ESP32-C3.)

Replies: 14 comments 34 replies

Comment options

You must be logged in to vote
3 replies
@Ajb2k3
Comment options

@fivdi
Comment options

@scruss
Comment options

Answer selected by robert-hh
Comment options

You must be logged in to vote
3 replies
@fivdi
Comment options

@MATTYGILO
Comment options

@sophiedegran
Comment options

Comment options

You must be logged in to vote
4 replies
@sophiedegran
Comment options

@ricksorensen
Comment options

@sophiedegran
Comment options

@robert-hh
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@robert-hh
Comment options

Comment options

You must be logged in to vote
11 replies
@robert-hh
Comment options

@robert-hh
Comment options

@robert-hh
Comment options

@robert-hh
Comment options

@robert-hh
Comment options

Comment options

You must be logged in to vote
3 replies
@robert-hh
Comment options

@robert-hh
Comment options

@robert-hh
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@robert-hh
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@robert-hh
Comment options

Comment options

You must be logged in to vote
5 replies
@robert-hh
Comment options

@robert-hh
Comment options

@ricksorensen
Comment options

@robert-hh
Comment options

@robert-hh
Comment options

Comment options

You must be logged in to vote
2 replies
@robert-hh
Comment options

@robert-hh
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
ESP32
8 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy