Skip to content
Skip to content
✓ Done
Embedded Systems

Real-Time Operating Systems

An RTOS doesn’t make your code faster. It makes it predictable. Your security camera’s video pipeline needs to grab a frame from the CMOS sensor, run H.264 encoding, write the NAL units to a network buffer, and check the PIR motion sensor. All of that within 33 milliseconds (30 fps). Every single frame. A general-purpose OS like Linux will usually hit that deadline. Usually. But sometimes the garbage collector runs, or a kernel thread preempts your encoder, and you drop a frame. An RTOS guarantees a worst-case interrupt latency. On FreeRTOS with the ESP32, that’s about 3 microseconds. The frame will be processed. Every time. That’s not a marketing distinction.

Browse all guides →