You are signed in. Close

You are signed out. Close

Thank you. Your subscription has started. Close

Thank you. You will get an email when a new comic comes out. Close

We could not confirm your payment. If you paid, use the link "Sign in" at the bottom of the page. Close

Something went wrong on our side. Please try again in a moment. Close

Previous episode Firmware: the program that runs in an endless loop inside a device

How embedded systems work: the hidden computers in everyday things, and how engineers build them

Interrupts and sleep mode: how a battery device can watch all night for a year

A smoke alarm, a TV remote or a door lock can run for a year or more on a few small batteries, and still answer the moment you need it. A computer that never rests would empty them in days, so a battery device keeps watch another way.

  1. 1 Rono stays the night to watch the flap. At two in the morning, he clips a meter to its batteries, and the needle barely moves, as if the flap were switched off.2 a.m.+power usedRono

    Rono stays the night to watch the flap. At two in the morning, he clips a meter to its batteries, and the needle barely moves, as if the flap were switched off.

  2. 2 Then the grey cat walks up to the door. A flap that seems switched off now has to notice it, read its tag and keep the latch shut.power used

    Then the grey cat walks up to the door. A flap that seems switched off now has to notice it, read its tag and keep the latch shut.

The rest of this episode is for subscribers

Subscribe to read every premium episode. You can cancel when you want.

Paid yearly: $99 instead of $119.88

Next episode Real-time systems: what "real time" means inside an airbag

Share this comic

More comics