A home-built research bed

A bed that understands how you sleep.

Seventy load cells under the frame weigh the bed ten times a second. From that alone it works out who is lying where, how they lie and when they move.

70
load cells, one under every post
10×/s
a fresh pressure map of the whole bed
2
sleepers told apart, each with their own map

Inside the bed · 1

Every post stands on its own scale

The frame isn't a few legs and a slatted base. It is seventy short posts, and under each one sits a small stack that carries the post's share of the bed into a load cell.

Drag the model to turn it.

Inside the bed · 2

Seven parts, most of them printed

The bedpost sits in a printed slot on top of a half-bridge load cell. A load-distribution plate and a key lock it in place, so the post's weight goes through the cell and nowhere else. A bracket holds the cell, and a soft TPU puck keeps the stack from sliding on the floor.

  • Bedpost
  • Key
  • Load-distribution plate
  • Bedpost slot
  • Half-bridge load cell (50 kg)
  • Bracket
  • TPU grip puck

Inside the bed · 3

Seventy of them make a bed

Ten rows of seven posts, 20 cm apart. The arms of each post lock into the next with T-keys, and every post weighs only its own patch of mattress.

Inside the bed · 4

A tiny amplifier at every post

Each load cell has its own HX711 amplifier. Five Raspberry Pi Picos along the side read fourteen posts each, ten times a second.

Inside the bed · 5

One computer puts it together

The Picos pass their readings round a serial ring to a Raspberry Pi. It zeroes and filters every post, turns the seventy weights into a pressure map and splits it between the two sleepers. Room sensors log the bedroom alongside.

Recorded, not live

What the bed sees

The bed from above, head end at the top. Each sleeper has their own colour: A on the left in blue, B on the right in orange.

One turns, the other follows

When one sleeper rolls over, the mattress moves under the other too. A few seconds later the second sleeper shifts as well. Because every post is weighed on its own, the bed can tell which side started it.

A whole night in under a minute

Played back 600 times faster. Getting into bed, settling, the turns through the night and getting up again all show up in the weight alone.

From weight to sleep

How it works

  1. Weigh

    Seventy load cells, each with its own amplifier, measure the bed ten times a second.

  2. Collect

    Five Picos read fourteen cells each and pass the readings round a serial ring to a Raspberry Pi.

  3. Map

    The Pi zeroes and filters every post, records around the clock and builds a pressure map of the bed.

  4. Tell apart

    It splits the map between the two sleepers and estimates how each one is lying and when they move.

50 kg

half-bridge load cell under each post, read through its own HX711 amplifier

24/7

recording, kept on the Pi so any night can be replayed later

78 %

agreement with a sleep-lab expert for our wristband sleep stages (experts agree 87 % with each other)