Does anyone know any Project that implement freertos ESP32-S3 idf plaftform ?
Hi all, Does anyone know any Project that implement freertos ESP32-S3 idf plaftform ?
15 Replies
I am using esp32-s3 as main controller to interface a flow sensor to get the volume and need to display it via a spi display interface the GUI middleware is LVGL and need to some data to send to the server using rest API(wifi) and also need to interface a sd card for data logging and need to use bluetooth also and OTA to update the firmware may i know any example code or project using esp-idf frawmework for me to refences ?
Hey @kingrom, you'll found multiple examples on the idf epo, please take a look, https://github.com/espressif/esp-idf/tree/master/examples
GitHub
esp-idf/examples at master · espressif/esp-idf
Espressif IoT Development Framework. Official development framework for Espressif SoCs. - espressif/esp-idf
Thank you for the source. Do you have project base example ?
you can start with this sample programme of lvgl, you'll find LVGL and Freertos combined, I usggest that you start with this ti get fammilar with esp-idf and lvgl: https://github.com/lvgl/lv_port_esp32/tree/master
GitHub
GitHub - lvgl/lv_port_esp32: LVGL ported to ESP32 including various...
LVGL ported to ESP32 including various display and touchpad drivers - lvgl/lv_port_esp32
Hi , actually i am done port the esp32 to lvgl but i am not familiar how to display the flow sensor reading to display concurrently need to handle lvgl. The flow sensor is sending the hex code it interface with esp32-s3 via modbus how can i handle the reading and display it on the tft display ?
Did you already connect your sensors with your board and are you receiving data from your sensor ?
Is a hex code
Would you please share it with us
may i know how to display the flow sensor reading to the display via lvgl gui framework ?
But first you need to extract data from your hex code, put it in a variable and display it,
But i need to concurrent to display the data and reading the flow rate do i need to set task 1 for lvgl and task 2 for reading the sensor in a freertos environment
Yes I suggest first ensure that you are reading the right value, ensure each task separately and combine everything together
i am very new to freertos do you have any example code or project ?
Check this video https://youtu.be/Yhg9maZjqiw?si=j4Icy-EpzxjJpUQp
OL Workshop
YouTube
ESP-IDF#6: Part-1 | Creating a FreeRTOS task on ESP32 | ESP-IDF |...
#espidf #esp32 #task #freertos
Part -2 here:
https://youtu.be/2Bjbg9UK4N4
hi youcef_ali i think i need to even-driven programming include freertos queue to handle this concurrent task ?