Arduino UNO R4 WiFi multithreading

Subscribe to the forum to receive notifications about new posts.
Post Reply
Mansi
Posts: 53
Joined: Mon Jun 10, 2024 11:57 am

Hello all,

I am using Arduino UNO R4 WiFi, I wanted to know if its RAM supports RTOS? If yes, how can we get access of it?
User avatar
Shraddha
Posts: 61
Joined: Fri Jun 14, 2024 3:54 pm

Hello Mansi,

Yes, the Arduino UNO R4 WiFi does support the use of a RTOS (Real-Time Operating System).
The Arduino UNO R4 WiFi has the Renesas RA4M1 microcontroller, which has 32KB of SRAM. For additional details, please refer to the datasheet https://docs.arduino.cc/resources/datas ... asheet.pdf
This amount of RAM is sufficient for running a basic RTOS like "FreeRTOS".
To use an RTOS on the Arduino UNO R4 WiFi, you can follow these steps:
1. Install the "FreeRTOS" Library
2. Include the FreeRTOS Library in Your Sketch
3. Create Tasks- Define the tasks you want to run under the RTOS. Each task should be a function that loops indefinitely.
4. Upload and Run
- Upload the sketch to your Arduino UNO R4 WiFi.
- Open the Serial Monitor to observe the output from the function.


Hope this helps you. *:)
Post Reply