Uploaded September 2018 | Updated September 2026, 3 weeks ago
This tutorial explains how to obtain the total free heap of the ESP32, using the Arduino core.
Written tutorial with code:
techtutorialsx.com/2017/12/17/esp32-arduino-getting-the-free-heap
ESP32 Firebeetle board:
dfrobot.com/product-1590.html
ESP.h file:
github.com/espressif/arduino-esp32/blob/a38ffe58fe1d73a56295edb0c6051a46932e0175/cores/esp32/Esp.h
ESP.cpp file:
github.com/espressif/arduino-esp32/blob/a38ffe58fe1d73a56295edb0c6051a46932e0175/cores/esp32/Esp.cpp
Header file for the lower level get heap function:
github.com/espressif/arduino-esp32/blob/a59eafbc9dfa3ce818c110f996eebf68d755be24/tools/sdk/include/esp32/esp_system.h
Related tutorials (written):
Get Free heap and restart ESP32 remotely: techtutorialsx.com/2018/02/10/esp32-arduino-web-server-get-free-heap-and-reset-device-remotely
Restart ESP32 from software: techtutorialsx.com/2017/12/03/esp32-arduino-software-reset
A lot more ESP32 tutorials (written) at my blog:
techtutorialsx.com/category/esp32
This tutorial explains how to obtain the total free heap of the ESP32, using the Arduino core.
Written tutorial with code:
techtutorialsx.com/2017/12/17/esp32-arduino-getting-the-free-heap
ESP32 Firebeetle board:
dfrobot.com/product-1590.html
ESP.h file:
github.com/espressif/arduino-esp32/blob/a38ffe58fe1d73a56295edb0c6051a46932e0175/cores/esp32/Esp.h
ESP.cpp file:
github.com/espressif/arduino-esp32/blob/a38ffe58fe1d73a56295edb0c6051a46932e0175/cores/esp32/Esp.cpp
Header file for the lower level get heap function:
github.com/espressif/arduino-esp32/blob/a59eafbc9dfa3ce818c110f996eebf68d755be24/tools/sdk/include/esp32/esp_system.h
Related tutorials (written):
Get Free heap and restart ESP32 remotely: techtutorialsx.com/2018/02/10/esp32-arduino-web-server-get-free-heap-and-reset-device-remotely
Restart ESP32 from software: techtutorialsx.com/2017/12/03/esp32-arduino-software-reset
A lot more ESP32 tutorials (written) at my blog:
techtutorialsx.com/category/esp32
![ESP32 Arduino: controlling a relay demo [written tutorial in blog]
Demo showing the control of a relay from the ESP32.
This video is just a demo, the tutorial can be found at my blog:
https://techtutorialsx.com/2018/02/17/esp32-arduino-controlling-a-relay/
You can find a lot more tutorials on the ESP32 at my blog:
https://techtutorialsx.com/category/esp32/ ESP32 Arduino: controlling a relay demo [written tutorial in blog]](https://i.ytimg.com/vi/TUd_R5gE514/mqdefault.jpg)









