Skip to content

Change Arduino SDK #625

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

Closed
urbanze opened this issue Sep 11, 2017 · 5 comments
Closed

Change Arduino SDK #625

urbanze opened this issue Sep 11, 2017 · 5 comments

Comments

@urbanze
Copy link

urbanze commented Sep 11, 2017

Hi! I using idf-component to use this mcu (to change sdk configs in arduino ide) and I can't find how to read temperature sensor. How can I do this ?

ps: I tryed app_main with and without InitArduino(), both worked. What this function do ?
----------------------------- Remove above -----------------------------

Hardware:

Board: ESP32 DoIt Nodemcu
Core Installation/update date: ?11/jul/2017?
IDE name: IDF component with Arduino boot
Flash Frequency: 80Mhz
Upload Speed: 115200

@copercini
Copy link
Contributor

@urbanze what temperature sensor?

@urbanze
Copy link
Author

urbanze commented Sep 16, 2017

image

This sensor, from technical_reference datasheet.

@copercini
Copy link
Contributor

copercini commented Sep 16, 2017

There are some examples from @pcbreflux here: https://github.com/pcbreflux/espressif/blob/master/esp32/arduino/sketchbook/ESP32_int_temp_sensor/ESP32_int_temp_sensor.ino

Also a video explaining the things: https://www.youtube.com/watch?v=d57LKkHCVgI

PS: here has a discussion of how accurate it is and what is the best way to read the internal temperature: espressif/esp-idf#146

@urbanze
Copy link
Author

urbanze commented Sep 16, 2017

Oh, the secret of temperature sensor is "extern "C" "........ I forgot this -_-. Thank you for reply, see you later :D

@urbanze urbanze closed this as completed Sep 16, 2017
@copercini
Copy link
Contributor

See you =)

me-no-dev added a commit that referenced this issue Sep 18, 2017
Fixes: #563
Fixes: #625
Source:
https://github.com/pcbreflux/espressif/blob/master/esp32/arduino/sketchb
ook/ESP32_int_temp_sensor/ESP32_int_temp_sensor.ino
blue-2357 pushed a commit to blue-2357/arduino-esp32 that referenced this issue Jul 17, 2024
dash0820 added a commit to dash0820/arduino-esp32-stripped that referenced this issue Mar 10, 2025
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

No branches or pull requests

2 participants