PCBA PARTNER
EN
English中文Deutsch日本語Français
Home / Projects / Coffee grinder

Our own product · Design to EVT

Coffee grinder PCBA: four boards checked in 3D

A grind-by-weight coffee grinder we are developing ourselves. We designed the housing and mechanics, four PCBAs and the firmware, then checked every board against the 3D model before ordering EVT parts. Rotate the model below.

Grind-by-weight coffee grinder, 3D design model, three-quarter view
Design model, Rev B.45a. Size 130 × 190 × 322 mm.
Product
Grind-by-weight coffee grinder with 64 mm flat burrs
Our scope
Mechanical design, 4 PCBAs, firmware, EVT test plan
Status
Design released for EVT prototypes. Testing has not started yet.

3D design model

Look inside before it is built.

Drag to rotate. Switch to X-ray or cut the body open, explode the assembly, or click a part to see what it is made of. Fasteners are hidden to keep the file small.

The brief

Grind into the cup and stop at the set weight.

You set the dose with the crown in 0.1 g steps and press start. The grinder weighs the cup while it grinds, slows down near the target and stops on its own. No separate scale.

The hard part

Weighing grams next to a 184 W motor.

The load cell, a 24-bit ADC, the motor driver and a mains power supply share one small metal body. The weight signal has to stay clean, the motor has to stop on time, and mains wiring has to stay away from low-voltage parts.

The electronics

Four PCBAs, all our own design.

  1. Main controller

    4-layer, 1.6 mm. ESP32-S3 module with Bluetooth, ADS1232 24-bit ADC for the load cell, display and encoder interfaces. A logic gate cuts the motor enable in hardware when the hopper lid is open.

  2. BLDC driver

    4-layer, 80 × 60 mm, 24 V. DRV8306 gate driver with six power MOSFETs, cycle-by-cycle current limit at 12.5 A, braking and speed feedback to the controller.

  3. Display adapter

    22 × 14 mm, 1.0 mm board glued to the back of the 1.54 in display. It takes the display's flex cable and hands it to a harness to the main board.

  4. Hall sensor strip

    8 × 25.5 mm. A Hall switch and an inverter detect the magnet in the hopper lid and feed the hardware interlock.

Main controller PCBA, KiCad 3D view of an early revision
Main controller board, KiCad 3D view of an early revision.

Checked before ordering

We compared every board with the 3D model.

Board outline, mounting holes, connector position and direction, component heights and the cable routes. The check found two problems that would have stopped assembly.

  • Holes did not match. The driver board has 3.2 mm holes on 53 × 73 mm. Its bracket still had 4.0 mm snap-in holes on 54 × 73 mm. We changed the bracket and moved to M3 × 15 standoffs.
  • Connectors faced the bracket. All four connectors on the driver board are vertical, with only 15 mm to the bracket. We cut openings in the bracket so the plugs pass through and can be connected after assembly. The 24 V input is soldered directly for the EVT build.
  • A low-voltage wire ran past mains wiring. The motor Hall cable was routed behind the mains inlet. We moved it to the motor side, more than 8 mm from the mains wires.

Result: the boards could be ordered unchanged. Only the sheet-metal bracket got a new drawing. The full interference, clearance and assembly-path check reports zero problems.

Firmware

Stop on weight, not on time.

  1. Predict the stop

    Coffee is still falling when the motor stops. The firmware stops when the weight plus flow rate times a learned delay reaches the target, then tops up with short pulses if needed. The delay is relearned after every grind.

  2. Slow the motor gently

    Dropping the motor speed too fast pushes energy back into the 24 V supply and can trip its over-voltage protection. The firmware limits how fast the speed can drop.

  3. Fail safe

    Lid interlock in hardware and firmware, stall and over-speed checks from the motor speed signal, and a watchdog that resets a stuck controller.

  4. Signed updates

    Firmware updates over Bluetooth are accepted only with a valid ECDSA P-256 signature. 49 unit tests run on a PC before each release.

EVT test plan

What the first prototypes must pass.

These tests came out of our design review. Results will be added here after the EVT build.

TestWhat we doPass when
T-15 Supply voltage on slow-downDrop from full to low speed 10 times, empty and with beans, and during top-up and stop. Watch the 24 V bus on an oscilloscope.Peak below 26.0 V and the power supply never shuts down.
T-16 Lid open, motor stopOpen the hopper lid while grinding, 10 times per condition. The firmware logs the stop time.Motor stopped in under 500 ms.
T-17 Earthing and insulation25 A for at least 1 s from the inlet earth pin to every metal part. 500 V insulation test on the plastic power panel.Under 0.1 Ω to each metal part. Over 100 MΩ on the panel.
T-18 Power switch lifeSwitch the supply at full load on 264 V AC, 2 s on and 10 s off.10,000 cycles without welded contacts; contact resistance under 50 mΩ.
Exploded view of the coffee grinder design model
Exploded view: housing, hopper, burr set, motor and gearbox, frame, boards.
Section through the coffee grinder showing burrs, chute and electronics
Section through the burr axis: hopper, 64 mm burrs, chute, motor, boards.

Your next project

Bring the idea or the design you have.

We design the electronics, check them against your enclosure and build the boards. Orders start at 1 board. Samples and small batches typically take 14–21 days from complete files.