FreeRTOS on the Raspberry Pi Pico (RP2040) Part 4: Mutex
FreeRTOS is an open source Real Time OS available for a wide range of microcontrollers and this video is part 4 in a series on using FreeRTOS on RP2040 based boards such as the Raspberry Pi Pico. In this video we show you how the FreeRTOS mutexes work and we briefly cover how to use mutexes, what they are and when not to use them. By the end of this tutorial you will have a project which explains how mutexes can affect and protect shared resources. The written version of this tutorial and the code used is available: https://learnembeddedsystems.co.uk/fr... Template Project Repo: https://github.com/LearnEmbeddedSyste... GitHub Command: "git clone --recurse-submodules https://github.com/LearnEmbeddedSyste..." Playlist of FreeRTOS on the RP2040: • FreeRTOS Tutorial In this tutorial we create a simple program where a Raspberry Pi Pico uses two FreeRTOS tasks to print to a command line over the USB interface which task is running. Timestamps 00:00 Intro 00:43 What is a mutex? 02:02 Why use a mutex 03:23 When not to use a mutex 04:23 FreeRTOS API Calls 05:05 Example 08:57 Conclusion If this video helped you, please consider leaving a like and subscribing, thank you! To see our videos on the Raspberry Pi Pico, check out the playlist here: • Pico Tutorials You can find more embedded systems tutorials and projects on our website https://learnembeddedsystems.co.uk -- Equipment we use regularly -- The following links are affiliate links where I may make a small percentage on qualifying sales through these links. Use the respective UK or US links listed. Budget Soldering Iron: UK: https://amzn.to/3pQpvUu US: https://amzn.to/3bBawIJ Breadboards: UK: https://amzn.to/3solZCe US: https://amzn.to/3dGsHiS Jumper Cables: UK: https://amzn.to/37JfToi US: https://amzn.to/3r384S9 Camera: UK: https://amzn.to/3qKLwFr US: https://amzn.to/3pK0V7C Lens: UK: https://amzn.to/380lQxp US: https://amzn.to/3knH3WL Tripod: UK: https://amzn.to/37H0Nzw US: https://amzn.to/3byKHsV All videos and tutorials on this channel and mentioned websites are for educational purposes only.

FreeRTOS on the Raspberry Pi Pico (RP2040) Part 5: Semaphores

FreeRTOS on the Raspberry Pi Pico (RP2040) Part 3: Scheduling and Task Priorities

FreeRTOS on the Raspberry Pi Pico (RP2040) Part 2: Tasks and Queues

The Petabyte Pi Project
![FreeRTOS on the Raspberry Pi Pico (RP2040) Part 1: VSCode Setup and Blinky Test! [UPDATED]](https://i.ytimg.com/vi/2cDpGoCyrHQ/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLBuGEjvSdXzStLhAsdet2bNKD9gxg)
FreeRTOS on the Raspberry Pi Pico (RP2040) Part 1: VSCode Setup and Blinky Test! [UPDATED]

Raspberry PI Pico 2 Gets FreeRTOS Kernel Updates

the true reason C++ always wins

FreeRTOS SMP on the RP2040 Tutorial - Symmetric Multiprocessing with FreeRTOS!

Stop Buying the Wrong Board — Arduino vs ESP32 vs STM32 vs Raspberry Pi vs BeagleBone vs Jetson Nano

Linus Torvalds: AI Is Changing Linux Fast

The Raspberry Pi Pico WAS Overrated! But that changed!

In-depth: Raspberry Pi Pico's PIO - programmable I/O!

I kept coding until an RTOS was inevitable

The Future of Home Computing: Radical Changes Ahead?

Multi Thread Coding on the Raspberry Pi Pico in MicroPython - Threads, Locks and problems!

FreeRTOS on Raspberry Pi Pico 2: The Ultimate Guide

An Operating System on a $4 Board? | Getting Started with FreeRTOS on the Raspberry Pi Pico

ESP32 Guide 2026

