/// FIRST PRINCIPLES · EMBEDDED SYSTEMS · FIRMWARE · IOT · AI

20+ years building.
Here’s what’s real.

Human experience. AI amplification. Real products.

20+ years · 40+ products shipped. Hardware to cloud, bench to factory floor. Written by Ritesh Anand, founder of Ritzy Lab.

Experience Opinion Fact Fiction
All Posts
May 27, 2026
Why the Best Firmware State Machines Live in Tables

Every firmware product has dozens of state machines. The form that compounds — for the team, the auditor, and the AI agent — is the flat five-column table. Boring to look at. Calm to extend. Hard to get wrong.

Read →
Experience 35% Opinion 45% Fact 20%
May 21, 2026
Message-Driven or Shared State: The Choice That Compounds

Shared state ships fast and reasons slowly. Message-driven costs an extra day of design and removes whole classes of bug — races, priority inversion, ambiguous ownership. It is also the only model an AI agent can reliably extend, because every interaction has a contract the agent can read.

Read →
Experience 40% Opinion 40% Fact 20%
May 21, 2026
From Printf to Observability: The Step That Changes Debugging

A brilliant engineer. Six weeks chasing one field bug. The serial log had one line: ERROR: timeout. The fix took two hours. The move that changes that six-to-one ratio is structural — a bounded event taxonomy written once in the layer above the RTOS, captured by default.

Read →
Experience 45% Opinion 35% Fact 20%
May 16, 2026
After Mbed OS: Choosing the Architecture That Outlasts Your RTOS

Mbed OS reaches end of maintenance in July 2026. The conversation usually starts at the RTOS — Zephyr, FreeRTOS, NuttX. But the architecture above the RTOS is the part of the choice that compounds, across this migration and the next.

Read →
Experience 35% Opinion 40% Fact 25%
May 13, 2026
The Layer Above Your RTOS Has a Name

Every embedded codebase has the same shape: hardware, RTOS, application. Between the RTOS and the application is a space most teams have lived with implicit. The shift in 2026 is that this space has a name — and naming it on day one is the move that compounds across the team and the AI agent.

Read →
Experience 30% Opinion 50% Fact 20%
May 8, 2026
The Architecture Spec Your AI Reads First

Every embedded codebase has three readers now: the team, the next hire, and the AI agent. The application-architecture spec is what each of them reads first. Six elements, a few pages, written once — compounding across all three.

Read →
Experience 30% Opinion 50% Fact 20%
May 8, 2026
AI Can Write Your Frontend. It Can't Write Your Firmware. Here's Why.

AI agents already write good firmware at the function level — drivers, helpers, register-level code. The gap is one level up, at the architecture. Here's why, and what actually fixes it.

Read →
Experience 30% Opinion 50% Fact 20%
April 29, 2026
Your RTOS Is Not Your Architecture

Every few months I watch a team debate RTOS choice for weeks, then ship code with the same structural problems regardless. The decision they're skipping is the one that matters.

Read →
Experience 50% Opinion 35% Fact 15%
April 29, 2026
You Cannot Review Your Way to Quality

A Fortune 500 hardware company, an external vendor, and the same class of bug appearing every sprint. What I eventually understood changed how I think about firmware quality forever.

Read →
Experience 50% Opinion 35% Fact 15%
April 29, 2026
20+ Years of Ideas. Articulation Is the Craft. Here's How I Write Now.

20+ years of building. First year of writing. Here is the rule I am bringing with me.

Read →
Experience 30% Opinion 50% Fact 20%

Get new posts in your inbox.

No noise. Just a note when something worth reading goes up.