deniz.in

Markets

Weather

Loading weather

· via Hacker News – Front Page (native)

Open-source XYZ micro-manipulator reaches 50 nm step resolution with steppers and G-code

An open-hardware project that hit Hacker News's front page pairs printable parallel kinematics with closed-loop steppers to move in 50 nm steps for microscopy, optics alignment and electronics probing.

Open-source XYZ micro-manipulator reaches 50 nm step resolution with steppers and G-code

An open micro-manipulator for the workbench

A project called the Open Micro-Manipulator reached Hacker News's front page on October 18, offering a motorized XYZ positioning platform that its author says can be built cheaply while resolving motion down to sub-micrometer scale. According to the project's GitHub repository, published under the handle 0x23, the device is aimed at optical alignment, probing electronic components, and microscopy.

Parallel kinematics with miniature ball joints

Mechanically, the platform departs from the usual stack of linear stages. The repository describes a parallel kinematic structure built around miniature ball joints, which is said to provide good mechanical stiffness along with a large range of motion in a compact footprint.

Actuation comes from ordinary off-the-shelf stepper motors, driven by a closed-loop controller running at 30 kHz with what the documentation calls a very precise PWM signal. Position feedback relies on low-cost magnetic rotary encoders, whose resolution is multiplied by a factor of 30 through a magnetic gearing approach, allowing steps as small as 50 nm.

The documentation is candid about the limits: resolution and accuracy are not the same thing, and the project states that absolute accuracy is significantly worse than the fine step size. That positions the device for tasks where small, repeatable relative motion matters more than knowing an exact coordinate.

G-code firmware and a Python stack

Control is deliberately conventional. The device accepts plain G-code commands over a USB serial interface, which the repository says makes it easy to integrate into other projects. The firmware implements a complete motion-planning stack with look-ahead, intended for smooth and accurate path following.

Firmware v1.0.4 adds tool support — laser engraving is the given example — on two GPIO pins of the controller board, with PWM outputs generated using the microcontroller's PIO feature. Tools are integrated into the planner so their timing lines up with g-code execution. Other recent firmware additions include parallel homing via G28, motor enable and disable commands with pose recovery from the encoders, joint calibration that persists to flash storage, and a set of diagnostic commands for reading encoder values and device state.

On top of the serial interface sits a lightweight Python API that handles communication, with functions to connect, home, move, calibrate joints and query device information. A separate Python GUI offers basic jog controls, a live camera feed for a microscope camera, a g-code runner, and real-time mouse control aimed at biology applications.

Hardware v4.0 and how to build one

A version 4.0 hardware revision fixes a list of practical problems from earlier designs: self-collision during homing, a ball-joint block that was not well constrained when screwed in place, linkage rods whose length could not be made consistent, unnecessary ball-joint friction, ball positions that depended heavily on print quality and corner rounding, and rubber bands that could not be changed once glued.

The CAD files are maintained in FreeCAD so anyone can view and modify the design without proprietary software, and most parts are designed to be machinable on a three-axis CNC mill. The repository notes the parts can also be 3D printed, at the cost of thermal drift, which carbon-filled filament can reduce. The electronics are drawn in KiCad and use only commonly available motor-driver and MCU modules connected by a simple PCB, with no SMD soldering required. The board runs on 5 to 6 volts at around 2 amps.

Two caveats stand out. The bill of materials has not yet been updated for the new hardware revision, and anyone who fabricated PCB version 1.2 must drill out a misplaced via near a diode that shorts the 5 V rail to ground; the flaw was corrected in v1.3.

Why it matters

Fine-positioning hardware has generally been the domain of closed, specialized lab equipment. By publishing the full mechanical, electronic and firmware stack under an open license — and choosing FreeCAD, KiCad and no-SMD assembly to keep the barrier low — the project turns sub-micron-scale motion into something a research group, maker or hardware hacker can replicate and modify. The clear separation of resolution from accuracy, together with the honest warnings around the outdated bill of materials and the PCB revision bug, means prospective builders need to read carefully. Even so, the combination of parallel kinematics, commodity steppers and g-code control is a credible recipe for low-cost micro-positioning in microscopy and microelectronics work.

  • #open-source
  • #hardware
  • #motion-control
  • #microscopy
  • #3d-printing

Related posts