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
kingrom
kingrom3mo ago
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 ?
youcef_ali
youcef_ali3mo ago
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
kingrom
kingrom3mo ago
Thank you for the source. Do you have project base example ?
youcef_ali
youcef_ali3mo ago
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
kingrom
kingrom3mo ago
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 ?
youcef_ali
youcef_ali3mo ago
Did you already connect your sensors with your board and are you receiving data from your sensor ?
kingrom
kingrom3mo ago
Is a hex code
youcef_ali
youcef_ali3mo ago
Would you please share it with us
kingrom
kingrom3mo ago
may i know how to display the flow sensor reading to the display via lvgl gui framework ?
youcef_ali
youcef_ali3mo ago
But first you need to extract data from your hex code, put it in a variable and display it,
kingrom
kingrom3mo ago
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
youcef_ali
youcef_ali3mo ago
Yes I suggest first ensure that you are reading the right value, ensure each task separately and combine everything together
kingrom
kingrom3mo ago
i am very new to freertos do you have any example code or project ?
kingrom
kingrom3mo ago
hi youcef_ali i think i need to even-driven programming include freertos queue to handle this concurrent task ?
Want results from more Discord servers?
Add your server
More Posts