Become a leader in the IoT community!
Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.
Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.
@superbike_z @techielew i have project based in board stm32f4 dicovery and i should be management modules (dht22,lcd_i2c,rfid rc522,etc) in real time using FreeRTOS … i use in this project stm32cubemx and iar embedded workbench
Nice! tell us more about this project, please.
ok no problem … The goal of this project is to develop a home automation system for controlling and monitoring various household elements. The system will manage common household devices and detect essential parameters, such as humidity, temperature, and RFID tag presence, allowing for actions like controlling lights or opening and closing doors with a motor. Additionally, the system will be managed in real-time using FreeRTOS to ensure efficient and timely response to user commands and environmental changes.
You asked about FreeRTOS bringup on this before. What issues have you been experiencing in this setup?
@ala_hassine for the monitoring data you can use UART based display module also?
i use interface graphic based in C++/Qt
what part of that combination is problematic for you?
Hi @ala_hassine Here’s dedicated Engineering Hour session about using FreeRTOS with STM32CubeIDE *timestamp 35:19*. Its detailed and step-by-step guide <https://www.youtube.com/watch?v=reX6S8x94eM>. I’m sure this video will answer otherwise we’ll be happy to help you.
my problem is how i can configurate freertos in stm32cubemx and how for example generate many tasks in same time
Right there in the stm32cubemx go to the **middleware** section and turn on **freeRTOS** . After dat you should check wher you would see **Tasks and Queues** and click **Add** to make more of tasks. When the code is generated, youβll see the tasks in **freertos.c**
You can then edit the `StartDefaultTask()` function to set what each task does
What configuration settings are you trying to set up and why do you need to genetate multiple tasks?
CONTRIBUTE TO THIS THREAD