Hardware case study

Posture Patch

A wearable that buzzes when you slouch, taken from a breadboard to a board the size of a stamp.

Tools
KiCad · Blender · Arduino · 3D printing

Problem

After hours at a laptop, my shoulders creep forward and my lower back rounds. I only notice once I'm already sore.

I wanted something lightweight that could catch the pattern early and nudge me before the pain set in.

The goal is quiet, real-time correction without apps or screens: feel a buzz, sit up, keep working.

The question

How might I catch a slouch early and correct it without a screen, in something small enough to forget I'm wearing?

What it does

A buzz on your back, and nothing else.

Learns your upright

Sit the way you want to sit and set that as your baseline. Every lean is measured against it.

Waits before it buzzes

Lean more than 5° and a two-second timer starts. Straighten up in time and nothing happens.

Ignores fidgeting

It only counts a slouch when your body is settled, so reaching for a cup doesn't set it off.

No screen, no sound

The buzz stops the moment you sit up. There is nothing to look at and nothing to dismiss.

Process

From breadboard to a board the size of a stamp

01

I proved the idea on a breadboard

An ESP32-S2 board, an MPU6050 motion sensor, a coin motor, and a push button that saved whatever posture you were holding as the baseline. Tilt from the accelerometer alone jittered, so I fused it with the gyro and added a two-second hold before the buzz. Once the rule felt right on my own back, I knew what the real device had to do.

The breadboard prototype on a wooden desk: an ESP32-S2 board on a breadboard, wired to an MPU6050 breakout at top left and a coin vibration motor at top right
The breadboard prototype
The rule the breadboard ran
Button saves current posture as0°
Lean past that baseline5°
Body settled, gyro under1.0
Held for2 s
→ MOTOR HIGH UNTIL YOU SIT UP
The breadboard firmware
02

Then I shrank it onto one board

The breadboard worked, but it was far too bulky to wear. The goal for the real hardware was to make it smaller and flatter. The ESP32-S2 board and the sensor breakout became four chips on a 24.6 × 35.6 mm board: a Bluetooth module with the processor inside, a motion sensor, a haptic driver, and one power chip that charges the battery.

On the breadboardOn the boardJob
ESP32-S2 boardEzurio BL54L10 moduleProcessor, now with Bluetooth
MPU6050 breakoutBosch BMI270Motion sensing
Coin motor on a pinDRV2605L driver + LRAThe buzz
USB power from a laptopMAX77654 + 200 mAh cellPower and charging
Push buttonNone on the boardSetting the baseline
Drag to rotate
Top copper render of the board
Exploded 3D render of the six copper layers of the board, stacked with gaps between them: top layer with part pads, a solid ground layer, two signal layers, a second ground layer, and the bottom layer
Six copper layers, pulled apart · from the board file

Design decisions

Two choices shaped everything else.

01

Stack the board on top of the battery

Chose
Battery on the bottom, board above it, with the USB-C socket and motor tucked beside the battery.
Because
The battery is a 24 mm square. Putting the board over it keeps the patch to the battery's footprint, 27 × 38 mm, so it stays small on the back.
Cost
Thickness. Everything stacks up to 8 mm, and the USB-C socket has to hang from the underside of the board.
3D render of the enclosure cut in half along its length: battery along the bottom, vibration motor beside it, circuit board above, and the radio module on top at the right-hand end. Arrows label the shell, radio module, circuit board, battery, protection circuit and motor.
Cutaway render
02

One power chip for everything

Chose
A single chip that charges the battery and makes the supply voltages, in place of a separate charger and regulators.
Because
It needs one small coil and a handful of capacitors, which is what lets the whole power section fit in a corner of the board.
Cost
It has 30 solder balls 0.4 mm apart. A track can't pass between them, so eight connections drop through 0.15 mm holes drilled inside the pads, and the board needs six layers.
Close-up render of the 30-ball power chip footprint with holes inside eight of its pads
Power chip footprint

A ready-made radio module

Processor, Bluetooth and a tuned antenna come as one part, so I didn't have to design an antenna. The cost is a strip of board under it that has to stay free of copper on every layer.

A driver chip for the buzz

A haptic driver and a linear motor give a sharper, more controllable buzz than a coin motor on a pin. It costs one more chip and its capacitors.

No button on the patch

Dropping the baseline button saves board space and a hole in the shell. The baseline now has to be set over Bluetooth.

The hardest problem

The board passed every check, and it still would not have started.

  1. What I sawKiCad's electrical and design rule checks both reported zero errors. The files were ready to send to the factory.
  2. What I askedThe checker only knows the rules I gave it. It can't tell if I misread a datasheet. So how do I check for my own mistakes?
  3. What I didI went through the board one connection at a time against each manufacturer's datasheet, and wrote every doubt into a change list.
  4. What I foundThe haptic driver sat on a supply that is off when the board first powers up. An unpowered chip drags down the shared data lines. Those are the same lines the processor needs to switch that supply on, so the board would have been stuck.
  5. What I changedThe driver's datasheet allows 2 to 5.2 V, so I moved it to the always-on battery supply. Then I re-ran every check on the new revision.
RC2 · STUCKSwitched supply · off at startProcessorPower chipHaptic driverShared data lines · dragged downno power RC3 · FIXEDBattery supply · always onProcessorPower chipHaptic driverShared data lines · free Driver needs 2.0 to 5.2 V · the logic supply is only 1.8 V
The loop, and the one wire that broke it

Designed from scratch

How the parts fit

Five layers, top to skin. Modelled and rendered in Blender, with the board built from the KiCad file.

  1. 01Top coverShellPlain lid, 0.8 mm roof. No button, no light.
  2. 02Board + Bluetooth moduleComputeParts on top, USB-C on the underside.
  3. 03Battery + haptic motorPower200 mAh cell and a small vibration motor, under the board.
  4. 04Bottom shellChassis1 mm walls, posts that carry the board.
  5. 05Adhesive padWearReusable silicone, 23 × 34 mm, against the skin.

Outcome

The new hardware, in numbers

24.6× 35.6 mm
Board
6
Copper layers
28
Parts placed
27× 38 × 8 mm
Enclosure
200mAh
Battery
0.4mm
Finest ball pitch

For scale

3D render of two objects lying side by side at the same scale, with a 12 centimetre ruler in front: a plain grey block the size of an AirPods Pro 3 case, and the much smaller, flatter Posture Patch enclosure
  1. AirPods Pro 3 case62.2 × 47.2 × 21.8 mm · plain block at its size
  2. Posture Patch27 × 38 × 8 mm

Both are rendered at the same scale, lying flat next to a ruler. Case size from Apple's published specs.

What I learned

Passing the checks is not the same as being right.

Read the datasheet, then read it again

KiCad's electrical and design rule checks both passed a board that would probably not have started. A line-by-line review against the datasheets found the fault before any money was spent.

Start from the parts, not the shape

My first sketch was a 35 mm round puck. The square battery did not fit inside it. Measuring every part first is what set the real outline.

Small is expensive

Solder balls 0.4 mm apart forced six copper layers and holes inside the pads. Every millimetre saved showed up in the manufacturing quote.

Next steps

A flatter shape for the back

The patch sits between the shoulder blades, so the next version follows that spot. Moving the battery beside the board, not under it, gives a wider, thinner shell with a notch over the spine. This is a concept: the shell is modelled around the real battery, motor and connector, and the board for it is not designed yet.

Render of the next enclosure concept: a wide, flat shell with two lobes joined by a bridge and a notch on the lower edge, with a USB-C opening on one lobe
Concept · 72 × 29 × 6.2 mm
The same concept with the cover removed: battery in the left lobe, vibration motor in the bridge, circuit board in the right lobe
Battery left · motor centre · board right