ESP profiler app running on FireBeetle 2 ESP32-C6 IoT Development Board with Arduino

During ESP-series SoC development, running your application alongside a profiler offers invaluable insights into code efficiency and execution bottlenecks on physical hardware. By pinpointing resource-heavy tasks and excessive processing loops early, you can optimize your code to eliminate CPU overloading and maintain smooth system performance.


To monitor these metrics in real time without relying on a serial console, you can pair your setup with an I2C SSD1306 OLED display. Rendering live CPU load percentages on the screen provides immediate visual feedback during hardware testing, making it easy to spot sudden processing spikes as you interact with the device.

HARDWARE LIST
1 FireBeetle 2 ESP32-C6 IoT Development Board for Smart Home Control System
1 I2C SSD1306 OLED
STEP 1
Wiring connection between FireBeetle 2 ESP32-C6 and I2C OLED
STEP 2
Install Arduino libraries
STEP 3
Clone the project repo
CODE
git clone https://github.com/teamprof/arduino-esp-pf-app.git
STEP 4
Build firmware

- Open "arduino-app.ino" under "arduino-app" folder under Arduino IDE

- On Arduino IDE, click menu "Tools" -> "Board: " -> "Board Manager..." ->

"DFRobot FireBeetle 2 ESP32-C6"

- On Arduino IDE, click menu "Tools" -> "USB CDC On Boot:" -> "Enable"

- Build the code by clicking Menu -> “Sketch” -> “Compile/Verify”

If everything goes smoothly, you should see the following screen.

STEP 5
Upload firmware

- On Arduino IDE, click Menu -> “Sketch” -> “Upload”

If everything goes smoothly, you should see the following screen.

STEP 6
Run firmware

- On Arduino IDE, open Serial monitor and then reset the board

If everything goes smoothly, you should see the following screen.


License
All Rights
Reserved
licensBg
0