Artefact · 3D print + automation

50 mm quarter-turn valve with servo drive

A 3D-printable plug valve with one handle. With the handle in line with the pipe the valve is open. Turn it 90° across the pipe to close it. Two pins on the body stop the handle at exactly open and closed. A servo kit replaces the handle so the valve can open and close on its own.

How it works: the servo closes and re-opens the valve (cut open so you can see the plug and the water)

The valve

Valve open
Open: handle in line with the pipe
Valve closed
Closed: handle turned 90°
Cutaway of the open valve
Cutaway, open: water flows straight through
Cutaway of the closed valve
Cutaway, closed: the plug blocks the flow
Exploded view of the valve
Exploded view: handle, plug with O-rings, body, washer

Print (PETG, 4 walls, 30 % infill)

  • valve_body.stl: 200 × 96 × 113 mm, upright, supports under the spigots only
  • valve_plug.stl: 76 × 76 × 123 mm, upright, no supports
  • valve_handle.stl: 156 × 32 × 24 mm, flat
  • valve_washer.stl: 86 × 86 × 3 mm, flat

Buy

  • 2 × O-ring 65 × 3 mm (top and bottom seals)
  • 2 × O-ring 42 × 2.5 mm (seal the outlet when closed)
  • 1 × M5 × 20 screw (handle), 1 × M5 × 16 screw (washer)
  • Silicone grease

Sizes

  • Spigots: 50 mm outside, with hose barbs
  • Flow channel: 36 mm
  • Plug: 70 mm, 0.25 mm clearance in the body

Servo drive kit

A continuous-rotation servo turns the valve through two gears (18 → 54 teeth, 3:1, which triples the turning force). The 54-tooth gear replaces the handle and uses the same square socket and screw. A Hall sensor on the bracket and two magnets in the gear tell the controller when the valve is fully OPEN or CLOSED.

Servo kit on the valve
Servo kit fitted to the valve
Gears close-up
Gears: 18-tooth pinion on the servo, 54-tooth gear on the plug
Servo side of the kit
Servo side: the bracket clamps around the body above the spigots
Servo kit exploded
Exploded: gear, pinion, servo, bracket, Hall sensor

Print the kit

  • valve_gear_54T.stl: 112 mm, print hub-down, no supports
  • servo_pinion_18T.stl: 40 mm, flat
  • servo_bracket.stl: print collar-down, supports under the servo plate

Buy

  • MG996R-size 360° continuous servo (or a 20 kg version if the valve is stiff)
  • A3144 Hall sensor + 2 × 6 × 3 mm neodymium magnets (glue in, south side down)
  • 4 × M4 × 16 screws with nuts (servo), 1 × M4 × 25 + nut (clamp), M3 horn screw
  • Arduino Nano + 5–6 V / 2 A supply + 2 buttons

Controller

  • Sketch: valve_servo_controller.ino
  • OPEN and CLOSE buttons, or send o / c over USB
  • Stops after 5 s if an end is not reached, to protect the servo