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
streetdogg
streetdogg•15mo ago
are these periodic tasks?
Marvee Amasi
Marvee Amasi•15mo ago
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.
streetdogg
streetdogg•15mo ago
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.
BenCos18
BenCos18•15mo ago
J.A.R.V.I.S
youcef_ali
youcef_ali•15mo ago
Thanks you, wishing you good luck
seymour soot sniffer
seymour soot sniffer•15mo ago
The ram be doubling
No description
seymour soot sniffer
seymour soot sniffer•15mo ago
The ram be twicing as much as before
Marvee Amasi
Marvee Amasi•15mo ago
Nice thanks
Prem Thengil
Prem Thengil•15mo ago
#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 .
Umesh Lokhande
Umesh Lokhande•15mo ago
Hi @Prem Thengil Welcome! I'm looking forward to see you in EH Event
Camila_99$$
Camila_99$$•15mo ago
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.
Prem Thengil
Prem Thengil•15mo ago
You Can Try Ultrasonic Sensor (HC-SR04) its Range Is From 2/3cm to 400cm
techielew
techielew•15mo ago
Welcom prem!
seymour soot sniffer
seymour soot sniffer•15mo ago
I notice some pins on the left look maybe a bit oxidized do you think this affects performance?

Did you find this page helpful?