1. Oxygen-filled chamber with movable lid
2. Person breathes through tube connected to chamber
3. Lid moves up and down as person breathes in and out
4. Movements recorded by pen on rotating drum or motion sensor
5. Soda lime in tube absorbs carbon dioxide