Comments on: ESP32 with FreeRTOS: Getting Started with Semaphores (Arduino IDE) https://randomnerdtutorials.com/esp32-freertos-semaphores-arduino/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Thu, 20 Nov 2025 14:30:34 +0000 hourly 1 https://wordpress.org/?v=6.8.5 By: Sara Santos https://randomnerdtutorials.com/esp32-freertos-semaphores-arduino/#comment-1116993 Fri, 31 Oct 2025 10:31:22 +0000 https://randomnerdtutorials.com/?p=174275#comment-1116993 In reply to Tony Contrada.

Hi.

I’ve already written it, but it was not published yet.

It is scheduled to be published in December.

Regards,
Sara

]]>
By: Tony Contrada https://randomnerdtutorials.com/esp32-freertos-semaphores-arduino/#comment-1116807 Thu, 30 Oct 2025 21:28:08 +0000 https://randomnerdtutorials.com/?p=174275#comment-1116807 Is there another follow on RTOS tutorial utilizing Mutexes for the ESP32?

]]>
By: DuAlvim https://randomnerdtutorials.com/esp32-freertos-semaphores-arduino/#comment-1109533 Tue, 14 Oct 2025 13:29:21 +0000 https://randomnerdtutorials.com/?p=174275#comment-1109533 In reply to Paul.

The main advantages of the semaphores is because they block the tasks using the own system resources. They are more precise and respect the tasks priorities.

]]>
By: Paul https://randomnerdtutorials.com/esp32-freertos-semaphores-arduino/#comment-1109238 Mon, 13 Oct 2025 19:25:42 +0000 https://randomnerdtutorials.com/?p=174275#comment-1109238 Question: what can be done with the semaphors
what cannot be done with the simple boolean DoSometing ( if true)

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-freertos-semaphores-arduino/#comment-1108389 Sat, 11 Oct 2025 09:20:14 +0000 https://randomnerdtutorials.com/?p=174275#comment-1108389 In reply to DuAlvim.

That’s great.
Thank you.

]]>
By: DuAlvim https://randomnerdtutorials.com/esp32-freertos-semaphores-arduino/#comment-1108250 Fri, 10 Oct 2025 23:17:57 +0000 https://randomnerdtutorials.com/?p=174275#comment-1108250 In reply to Sara Santos.

I Just tested the examples here. Excelent job! I follow this site since 6 years ago (since 2019) and the quality of the posts is getting greater each day!

So, congratulations guys, this site is the best place to look for ESP32 features!

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-freertos-semaphores-arduino/#comment-1108143 Fri, 10 Oct 2025 14:14:19 +0000 https://randomnerdtutorials.com/?p=174275#comment-1108143 In reply to Dave K.

Hi.
Thanks for the suggestion.
If you have more ideas for future FReeRTOS tutorials, please share.
Regards,
Sara

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-freertos-semaphores-arduino/#comment-1108142 Fri, 10 Oct 2025 14:12:55 +0000 https://randomnerdtutorials.com/?p=174275#comment-1108142 In reply to DuAlvim.

Hi.
That’s great!
I’m glad this is useful.
Regards,
Sara

]]>
By: DuAlvim https://randomnerdtutorials.com/esp32-freertos-semaphores-arduino/#comment-1108078 Fri, 10 Oct 2025 09:05:57 +0000 https://randomnerdtutorials.com/?p=174275#comment-1108078 Nice job Sara!
The FreeRTOS posts are amazing!
I just read the post and I’m eager to test these features in practice here!

]]>
By: Dave K https://randomnerdtutorials.com/esp32-freertos-semaphores-arduino/#comment-1107979 Fri, 10 Oct 2025 01:38:06 +0000 https://randomnerdtutorials.com/?p=174275#comment-1107979 In reply to Joe Margevicius.

Hi Joe,
I think the biggest advantage is being able to set priorities. You might always want something to happen on time, as soon as an input is received, where other tasks can wait a little bit. For example, if you had a safety beam interrupted on a machine, you want the machine to stop, or reverse immediately, but an input from the control could wait until the current cycle is complete before being updated for the next cycle. Just a thought. Though even then, an ISR could handle the immediate stop. I guess there are many ways to code similar events. Properly implemented, either way would work, but the RTOS would be more of an automated coding system, where the timing/priority is more automated. At least that is my impression so far ;).

]]>