by John Lauer
Two-board Molecule interferometer with onboard RP2040, USB-C data, 15 V USB-C PD power and a JST stage interface.
| Name | Last updated |
|---|---|
| bench | |
| controller | |
| design | |
| LICENSE | |
| README.md |
Stepper-driven interferometer test stage
Prototype design for moving a first-surface mirror along the 658 nm laser axis. The mechanism targets 15.625 nm of nominal motion per commanded pulse and a 25 µm scan. The calculated scale is a starting point for calibration. No hardware has been assembled or measured. The bench uses the 82 × 82 mm head released in package 1.3.1. The RP2040 control map is bound to the prototype connector. Controller R0.2 uses a stage-local logic supply. The main-board 1.4 power connector and hardware commissioning are pending.
Motion calculation
| Quantity | Nominal value |
|---|---|
| Motor | STEPPERONLINE 17HS08-1004S, bipolar, 1.8° |
| Full steps per turn | 200 |
| Commanded microsteps per full step | 16, with interpolation disabled |
| Screw | M3 × 0.5 mm, single-start, fixed nut and sliding hex drive |
| Pivot to screw and beam | 50 mm and 5 mm |
| Screw advance per pulse | 500 µm ÷ 3200 = 156.25 nm |
| Mirror advance per pulse | 156.25 nm × 5 ÷ 50 = 15.625 nm |
| Scan | 1600 pulses, 0.250 mm at the screw and 25 µm at the mirror |
| Fringe scale | 329 nm per cycle, about 21.06 pulses per cycle |
Allowing ±2% local screw lead and ±0.2 mm in each effective lever arm gives a geometry-only range of 14.64 to 16.65 nm/pulse. A microstep sets the requested magnetic angle. Static friction, detent torque and motor nonlinearity can absorb individual increments and release them in a larger move.
The 14 mm-wide, 3 mm-thick PETG hinge has an 8 mm free length. With an assumed 1.9 GPa elastic modulus, its rectangular second moment is 31.5 mm⁴. The small-angle rotational stiffness estimate is 7.48 N·m/rad. The force at the screw is about 3.0 N/mm of advance, giving 0.75 N preload at 0.25 mm and 1.50 N at 0.50 mm. The maximum estimated surface strain is 0.19%. The 0.5 mm screw lead needs approximately 0.6 mN·m at 1.5 N and 20% efficiency, before tip and drive drag. Inspect a printed hinge and check force versus displacement before using it in an optical test. Print with continuous perimeters across the hinge.
An estimated 60 µm/(m·°C) PETG expansion gives 600 nm/°C over a 10 mm effective axial stack, or 4800 nm/°C across an 80 mm printed baseline. A 0.1 °C change across that baseline could move the apparent position by more than one fringe. Parts expand in several directions, so these numbers describe sensitivity to plausible temperature changes. Log air and motor temperature and include stationary intervals around each measurement. The lever preload holds one thread flank engaged. It cannot remove motor angle error, driver compliance, or lateral motion due to a wobbling screw. The mirror also rotates with the lever. Over the 25 µm scan, the 5 mm output arm rotates about 5 mrad, which can shift a reflected spot by about 0.8 mm at the lens 80 mm away.
Bench and alignment
The base measures 298 × 185 × 6 mm. The head sits horizontally behind the separate optical fixture. Four insulating sockets seat the released Molecule pins on a 64 mm square. Each socket has a Ø2.15 mm blind tail bore, a Ø4.10 mm shoulder recess and a separate blind M3 pilot below. In CAD, the pin tips have 0.55 mm clearance and all four pins seat without interference. Check fit, coplanarity and socket insulation with the boards unpowered. Secure both harnesses to the base so they cannot pull the head off its sockets.
The SM05 lens barrel clamps between the saddle and strap. The insulated diode riser holds a machined aluminium TO-56 seat. Verify diode-to-lens focus travel and case-to-ambient performance on the assembled fixture before sustained operation. The nominal lens-to-mirror distance is 80 mm and the beam height is 33 mm. The motion-critical motor and mirror use the exact part STEP files. The lead screw and sliding key use supplier-dimensioned geometry. The barrel preview shows the fit envelope and leaves the optical aperture clear. Height, throw and barrel diameter are parametric. Resize the lens fasteners and refit the diode fixture if you change them.
- Bench STEP assembly ZIP · Bench GLB · Bench render · Head-seat check
- Parametric source and input files · Full mechanical BOM · Order-code checks
- Base STL · Head socket STL · Lens saddle STL · Lens strap STL · Diode riser STL · Machined diode seat STEP · Diode clip STL
- Lever STL · Motor mount STL · Mirror carrier STL · Stop bracket STL · Drive adapter STL · HOME bracket STL
- Fit the motor to the bracket. Trap the stationary M3 nut behind the screw guide. Fit the sliding 2.5 mm hex key and confirm the screw advances by hand without pulling the motor axially. Polish the screw tip and check that it leaves a smooth contact on the lever.
- Secure the lever base and optical fixture to the plate. Set 0.25 mm of screw preload at HOME. Set the forward stop 0.05 mm beyond normal travel. Set the jam-nut stop on the lead screw to prevent reverse overrun and loss of preload. Slide the switch bracket until its NC contact opens at HOME before the reverse stop. Verify both limits by hand. Confirm that the switch force leaves the follower against the screw.
- Hook the mirror spring to the two cross pins, then attach the mirror with its coated face toward the lens. The spring seats the carrier against three M3 adjusters. Roughly square the mirror at mid-travel and tune the return in the enclosed beam path. Follow the head guide for interlock, current and case temperature. Record the optical tuning conditions with every capture.
- Before connecting the 1.4 power harness, verify its voltage, polarity and upstream fuse. Check phase pairs, winding current, DIR polarity, and HOME response including a disconnected switch.
Components
| Assembly | Order codes and attachment |
|---|---|
| Stepper | One 17HS08-1004S and four M3 × 8 BSH3X8CLZ. DFH |
| Screw and stops | One fully threaded SNSS-M3-25-FT, three NR3SS, one 2.5 mm hex stub cut from 05022504002, one SS3X6FLATSS and one SS3X10FLATSS. See the BOM for the adapter and stop installation. |
| Flexure and motor mount | One printed lever and one motor mount, plus one printed forward stop. Eight M3 × 16 BSH3X16CLZ and eight NR3SS through the plate. |
| Return mirror and tilt | One L14817, three SS3X6FLATSS, one EI 007A 01 S, two Ø0.81 mm cross pins from 5501 and one 467MP tape patch. Surplus Shed |
| HOME | One low-force D2F-01FL on the slotted printed bracket. Two M2 × 12 SB2X12SS and NR2SS for the switch, two M3 × 16 and NR3SS for its mount. |
| Lens and laser fixture | One each C220TMD-A, S05TM09, SM05L05 and HL6501MG. Two M3 × 50 SNSS-M3-50-FT and NR3SS clamp the barrel strap. Two M2 × 8 SB2X8SS hold the machined diode seat to the insulated riser. Two M3 × 10 BSH3X10CLZ secure the riser. |
| Laser head support | One released head, four printed sockets, four M3 × 10 BSH3X10CLZ and one CON-JST-PH-12-FF harness. |
| Base | One printed or drilled plate. Four M3 × 16 BSH3X16CLZ and NR3SS secure it to 6 mm blocks. |
The motion-stage budget is approximately $25 before shipping with workshop hardware. The motor is $13, the mirror $5 and the HOME switch $2.08 at the listed sources. The remaining $5 is an allowance for consumed hardware. Supplier pack prices, the existing optics and electronics, printing and the aluminium diode seat are outside that allowance. A one-off order from empty stock can exceed the budget.
Measurement
- Let the system reach steady temperature with the motor energized. Record raw monitor samples and temperature through a stationary window. Repeat the stationary window after the scan.
- Start at pulse 128 from HOME. Move +128 pulses four times, then −128 pulses four times. Dwell for 1 s at each plateau. The nominal displacement is 2 µm per rung, or 6.08 fringes. Capture pulse timestamps, dashboard count, raw waveform, dropouts and motor temperature. Require the measured sign to reverse and inspect the fringe amplitude over the entire scan.
- Fit fringe displacement against cumulative pulses and elapsed time. Compare the forward and reverse plateaus at the same commanded position. Record the final return residual after drift correction and repeat with the opposite approach. Report the slope, confidence interval, reversal error and return error separately.
- For small pulses, use raw detector data. Fit a local phase curve from a calibrated multi-fringe scan at stable optical feedback. Make repeated ±1, ±2, ±4 and ±8 pulse moves starting on the same monotonic branch. At 658 nm a nominal 15.625 nm move changes the external phase by 0.298 rad. Compare signed phase differences and stationary scatter. A whole-fringe counter cannot resolve individual 15.625 nm movements.
The released dashboard simulator counted all 60 fringes and ended at zero residual in its built-in 10 µm step-and-return case. This is a software reference for the bench sequence.
Laser-head guide · Dashboard guide · Verified connector map and proposed stage commands
Main J4 to stage J1
| Pin | Signal | RP2040 GPIO | Notes |
|---|---|---|---|
| 1 | GND | Return | |
| 2 | STEP | GP10 | 68 Ω on the main board |
| 3 | DIR | GP11 | 68 Ω on the main board |
| 4 | EN_N | GP12 | Active low, local pull-up, 68 Ω series |
| 5 | UART | GP13 | Single-wire half duplex, 68 Ω series |
| 6 | HOME | GP14 | Local pull-up, 68 Ω series, normally closed switch to ground |
| 7 | 3V3 | 75 Ω reference output. R0.2 uses it for presence sensing through a 1.68 MΩ divider. | |
| 8 | GND | Return |
All eight pin numbers match the main board 1.3.1 package and controller R0.2. The software 1.3.1 release implements the stage commands and exercises them in simulation. Hardware testing is pending.
Controller prototype R0.2
The 40 × 40 mm board has two copper layers and all automated placements are on the top side. Four large corner pins seat it on the 32 mm scaffold grid. The sole motor power input is J4, a provisional 2-pin JST PH with pin 1 at 12 V and pin 2 at ground. MC1 is electrically unconnected. Confirm the header and polarity against main-board 1.4 when it is published.

Rear silkscreen and assembly legend · KiCad source ZIP · Schematic PDF · Controller STEP · Controller 3D preview
Prototyping Gerbers and drill ZIP · BOM with component pages · Placement reference · EDA checks
The TMC2209 uses 0.47 Ω sense resistors and a proposed 0.410 A RMS winding set point. Its 3.3 V logic rail comes from the local LDO. A powered-off-protected switch isolates STEP, DIR, EN_N and UART until both boards' rails are valid. HOME is a passive switch referenced to the main board. See the electrical interface and commissioning checks and datasheet corner check.

Power transient model · Power screen results · Thermal screen
MIT licence.