Page 1 of 1

Arduino UNO R4 WiFi multithreading

Posted: Tue Jul 02, 2024 10:45 am
by Mansi
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?

Re: Arduino UNO R4 WiFi multithreading

Posted: Mon Jul 15, 2024 3:47 pm
by Shraddha
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. *:)