Note

Design the mechanism before the board

The mechanism decides where the board goes, what shape it is and what is on it.

What goes wrong the other way

Take a control lever: a pivot, a spring return, a detent at centre, and a Hall sensor reading a magnet on the pivot. Draw the board first, 60 x 40 mm, sensor in the middle, connector on one edge.

Then the pivot bearing goes where it has to. The magnet ends up 9 mm off the sensor axis, the connector sits under the return spring, and a mounting hole lands inside the detent plunger. None of this shows in the schematic. The board gets drawn again.

Animated lever in charcoal on yellow with numbered parts, in side view and end view: the lever swings against its springs and detent, the red and white magnet on the pivot turns over a Hall sensor on the same axis, and the output marker follows.
  1. Handle
  2. Return springs
  3. Detent
  4. Magnet on the pivot
  5. Hall sensor on the board
  6. Output
The magnet turns over the Hall sensor on the pivot axis, so the mechanism fixes where the board must go.

What we do instead

We model what moves first: through what angle, against what force. The motor, sensor and magnet go where the motion needs them. Then the parts a hand touches and the things that go through the outside: handle, connectors, display, cable entries.

The board goes in last, as a block in the room that is left. Its outline, holes and connector positions come from the model.

What this catches early

Sensor alignment. A magnetic encoder wants its magnet on axis at a known air gap, often to a fraction of a millimetre. That tolerance is set by the bearing, the shaft and the board mounting together.

Cables that move. Anything that flexes needs a route, a bend radius and a clamp at each end. Without room for that loop, the cable finds its own and breaks there.

Heat. A motor at stall gets hot, and so does its driver. With the mechanism modelled, the driver goes against the frame and the analogue parts stay away from both.

Service. Whether a hand with a spanner can reach the belt tensioner, and whether the connector unplugs without taking the shaft out.

When it doesn’t apply

If the mechanism already exists, as with a replacement unit, it is a constraint and we start by measuring it. If the job really is a board in a wall box, the box comes first. Otherwise the order holds: mechanism, then board, then firmware, with the firmware person in the room from day one.

Tell us what it has to do.

A few lines, a sketch or photos of the equipment are enough to start.