Consider using a different scheduling algorithm like Earliest Deadline First (EDF) or Rate Monotonic
Consider using a different scheduling algorithm like Earliest Deadline First (EDF) or Rate Monotonic (RM) for better real-time performance in your home automation system. These algorithms are often more suitable for meeting timing requirements compared to Round-Robin scheduling in FreeRTOS.
16 Replies
are these periodic tasks?
Hmm, EDF 🤔 thanks @Joseph Ogbonna
Yes, some of the tasks are periodic, such as sensor data sampling and actuator control updates. However, I'm also dealing with non-periodic tasks like user interface responsiveness and event handling.
cool. I think you should assume all the tasks to be periodic and come up the CPU utilisation factor. If that is within 70%, the tasks can be scheduled and no deadline will be missed. If u see that the utilisation is more than 70%, then u need a CPU thats faster or u need to optimise the code to be faster.
J.A.R.V.I.S
Thanks you, wishing you good luck
The ram be doubling

The ram be twicing as much as before
Nice thanks
#Hello Guys And My Mentors ,My Name Is Prem Thengil, Im From India , I Have Completed My Engineering In Electronics And Telecommunication And Recently I Have Completed My PG-Diploma In Embedded System Design , Im Here Because I Would love to Learn And Work With You Guys .
Hi @Prem Thengil Welcome! I'm looking forward to see you in EH Event
Welcome @Prem Thengil
Hi everyone
I used a laser distance sensor (CJMCU-530 Laser) with an Arduino, which is supposed to have a maximum distance of 2m, but in my various tests, I have never managed to exceed 1.2m... Has anyone else experimented with this distance sensor? Otherwise, do you have a reference for another sensor (I need a distance between 0 and 2m) besides the ultrasonic sensor SRF05.
Thank you.
You Can Try Ultrasonic Sensor (HC-SR04) its Range Is From 2/3cm to 400cm
Welcom prem!
I notice some pins on the left look maybe a bit oxidized do you think this affects performance?