Software Design

Digital Camera Autofocus and Shutter

State Diagrams · made in Skemio

State machine diagram showing camera shutter states: Standby, AF Hunting, Focus Locked, Exposing, and Buffer Flush.
State machine diagram showing camera shutter states: Standby, AF Hunting, Focus Locked, Exposing, and Buffer Flush.

What it shows

  • Half-press triggers phase detection hunting and exposure locking.
  • Full-press capture locks the mechanical shutter or rolling readout.
  • Buffer write flushing runs asynchronously while allowing next shot.

The takeaway

Decoupling shutter exposure from flash memory buffer writes prevents shutter lag.

More state diagrams