Skip to content
BENIBIX Learn

Real-Time Operating System (RTOS)

Development🔌 Embedded & IoTEmbedded Software

Also known as RTOS, Real-Time OS, FreeRTOS, Zephyr RTOS

A tiny system that runs a device's jobs on a strict clock. No job is late.

Think of it like

It is like a strict teacher with a clock. Each child gets a turn, and no one is late.

Example

A drone runs a task that keeps it level 500 times a second, plus a slower one for the radio. The RTOS makes sure the level task is never late.

Why it matters

In brakes, pacemakers and drones, an answer that comes late is a wrong answer.

Definition

A real-time operating system is a tiny operating system for devices that must act on time. It splits the work into tasks, such as read the sensor and update the screen. A scheduler gives each task a turn by how urgent it is. The key promise is not speed but timing you can count on. The most urgent task always runs within a known time.
On a bigger chip, an RTOS shares the one processor between tasks.

Common mistake

Thinking real time means fast. It means on time, every time, even if that time is slow.

Key takeaways

  1. 1
    Tasks. Work is split into small jobs.
  2. 2
    Priorities. Urgent tasks go first.
  3. 3
    Known timing. Deadlines are met every time.