Passive rotational substrate handling in three-axis gantry robots
Pasivno rotaciono rukovanje supstratom kod troosnih portalnih (gantry) robota
Choksi T, Ng E, Nazeri M, Gu F.
2026 · HardwareX · CC BY-NC-ND
Prevod na srpski je mašinski (Claude) i prikazan je radi čitljivosti; original je merodavan.
Graphical abstract
Simple three-axis gantry-based robots are widely used in laboratory automation due to their low cost, ease of implementation and flexibility. However, solid sample manipulation tasks that are intuitive for human operators, such as positioning and reorientation, often require motion capabilities beyond those of standard gantry systems, limiting the implementation of more advanced, uninterrupted automated experiments. Dexterous movements can be achieved using robotic arms or advanced motor systems, but with substantially increased system integration complexity and cost. This work presents a low-cost substrate handling and rotation module that enables passive degree-of-freedom augmentation in existing three-axis gantry-based automated workflows, addressing a key manual handling bottleneck. The modular pick-and-place hardware leverages the existing linear motion of an Opentrons OT-2 gantry to drive a rack-and-pinion mechanism, thereby enabling repeatable 180° rotational motion about a horizontal axis without the need for additional motors, electronics, or an external robotic system. We demonstrate this module in the automated manipulation of contact lens hydrogels for wettability characterization assays, though this platform can be used in broader laboratory automation applications including sample repositioning for microscopy or coating formation.
Specifications table Hardware name Substrate Handling and Rotation Module within Gantry-based System Subject area • Engineering and materials science • Educational tools and open source alternatives to existing infrastructure • General Hardware type • Biological sample handling and preparation • Mechanical engineering and materials science Closest commercial analog Robotic arm, motors Open source license CC BY 4.0 Cost of hardware $7.34 CAD Source file repository http:// doi.org/10.17632/wmtb4hzh4w.4 OSHWA certification UID CA000076 1 Hardware in context The development of automated, high-throughput experimental methods has been an important and growing subset of wet laboratory research since the 1960s, with interest intensifying in the mid-1990 s [1] , [2] , [3] . Automation for sample preparation and characterization offers improved experimental accuracy, reproducibility and safety, by reducing or fully eliminating human involvement and exposure to harmful chemicals [1] , [4] , [5] , [6] . Laboratory automation is also well suited to time-consuming, repetitive protocols, and can be coupled with data-driven decision-making for “closed-loop” experimentation that accelerates parameter space exploration [1] , [2] , [4] . Many automated platforms rely on computer-controlled multi-axis positioning systems for precise and programmable motion to perform tasks ranging from simple liquid handling to complex workflows for material discovery and life science research [3] , [7] , [8] , [9] , [10] . However, commercially available fully automated equipment designed for common protocols, like the Fluent (Tecan, Zürich, Switzerland) or Microlab STAR (Hamilton Company, Reno, USA), can range from $80,000 to $1,000,000 depending on modular add-ons such as grippers, stackers and heaters [3] , [9] , [10] , thereby limiting widespread adoption in typical research environments. Instead, many laboratories have focused on “in-house” reconfiguration of cheaper workstations, such as computer numerical control (CNC) machines and basic liquid handlers, which can range from about $700−$20,000, with 3D printed tools flexible to perform tailored tasks in a cost and time efficient manner [3] , [11] , [12] , [13] , [14] . For example, Nazeri et al. integrated flexible imaging capabilities on the Opentrons OT-2 by designing a 3D-printed, friction-fit camera module that can be picked up by the pipette gantry and transported across the deck [13] . Wu et al. and Naranbat et al. both demonstrated the ability to add customized liquid handling functionality into open-source three-axis CNC machines and 3D printers for plant biotechnology and life science workflows, at costs as low as $400 [15] , [16] . While these approaches extend the functionality of simple platforms, solid sample manipulation tasks that are natural to human movement, such as sample collection, transferring, positioning and reorientation during processes like thin film fabrication or hydrogel characterization, require motor functions that often exceed the capabilities of gantry-based systems [17] , [18] . These dexterous movements can be achieved with robotic arms and grippers [3] , [6] , [17] , [19] , [20] , though these solutions can introduce substantial additional cost ($3,000−$60,000) and complexity to the system. Some three-axis gantry-based robots already possess a rotational degree of freedom (DOF) at the toolhead, allowing rotation about the vertical axis, but would require the addition of a fixed rotary module to unlock rotation about a horizontal axis [21] . Simple motor-based systems provide a low-cost solution and have been implemented in laboratory set ups to tilt instrumentation within a 20° range [22] . However, external motor-based approaches can introduce additional integration challenges and existing work still does not address flexible substrate manipulation. Without automation, dexterous tasks must be conducted via manual intervention, bottlenecking the pipeline and preventing the development of end-to-end automated sample preparation or characterization [20] . A comparison of popular systems used to add rotational DOF within automated laboratory workflows is detailed in Table 1 . Table 1 Comparison of approaches to add degree of freedom (DOF) to automation workflows. System Added DOF Approx. Cost (CAD) Actuation Type Rotational Precision Notes about Integration Robotic Arm [23] 3 $3,000−$60,000 Electric (Servo Motor) High Extensive software integration, potential space constraints Planar Transport Systems [24] 3 $5,000−$25,000 Electromagnetic High External handling required, rotation about vertical axis only Rotary Axis Module [25] 1 ∼$300 Electric (Stepper Motor) High (0.1°) Larger footprint, external handling and additional control integration required Piezoelectric Rotary Stage [26] 1 $1,000−$5,000 Piezoelectric High Extremely delicate external handling and precision control hardware required Custom Stepper Motor Design [27] 1 ∼$100 Electric (Stepper Motor) Moderate External handling, custom actuation and control integration required Manual Handling [28] 23* Existing laboratory personnel/no additional hardware Biological High Intermittent breaks in automated process Substrate Handling and Rotation Module 1 $7.34 Passive Moderate 3D-printed hardware * Based on the DOF described of human hands and wrists. To this end, this paper presents a passive, low-cost substrate handling and rotation module that can be integrated into the Opentrons OT-2 gantry-based automated system. The module is centered around 3D printed hardware that leverages the existing linear motion of the gantry to drive a rack-and-pinion mechanism, thereby enabling repeatable 180° rotational motion about a horizontal axis without the need for additional motors, electronics, or external robotic system. We demonstrate this module in the automated manipulation of contact lens hydrogels for wettability characterization assays, though this platform can be adapted to broader applications for laboratory automation including sample repositioning for microscopy or coating formation [29] . This hardware automates substrate rotation within a three-axis gantry system, addressing a key substrate-handling bottleneck and enabling more advanced, uninterrupted automated experimental protocols without sacrificing the simplicity and low cost of gantry-based platforms. 2 Hardware description The module is presented as a flexible general design for degree-of-freedom augmentation within simple gantry-based laboratory automation robots that can be tailored for various applications such as film deposition or surface characterization. This hardware is made of four primary components: the pipette-pinion assembly, rack clip, substrate holder, and stage. The hardware in this paper is tailored to interface with a liquid handler fitted with two pipettes (OT-2, Opentrons Labworks, Long Island City, USA), though it could be adapted for other gantry-based systems such as Jubilee and CNC machines by redesigning the pipette adapter to fit on the corresponding toolhead. 2.1 Pick-and-place pipette-pinion assembly This work builds on the pipette-based pick-and-place concept used by Nazeri et al. [13] , where a 3D-printed module interfaces with the Opentrons liquid handler via the native friction-fit mechanism of standard pipette tips to add imaging capabilities to the platform. In this context, the pick-and-place approach serves as a simple tool-changing strategy for adding functionality to the Opentrons system. This hardware enables on-demand use of the rack-and-pinion mechanism via a pick-and-place pipette-pinion assembly ( Fig. 1 ), allowing the robot to perform other tasks when substrate handling is not required. Fig. 1 Pipette-pinion assembly coupled with substrate holder in an exploded view (top left), cross section view (top right), and in-mesh with rack (bottom right). The design utilizes 3D printed components, a cut Opentrons pipette tip, and magnetic coupling for precise pick-and-place and rotation. The pipette-pinion assembly is made of two pieces, the pipette adapter and the pinion ( Fig. 1 , Items 2 and 4), which are joined via a snap-fit bushing that serves as the pinion’s axis of rotation. The bushing rotation mechanism provided a simple, easy-to-print solution whilst alternatives such as ball bearings added unneeded complexity and size constraints in the final design. The snap-fit feature, depicted in the cross section of Fig. 1 , secures the pinion to the pipette adapter throughout a workflow. For integration with the Opentrons OT-2, the pipette adapter is designed to fit onto a cut 1000 μL pipette tip and is housed in a dedicated holder ( Fig. 2 , Item A). Standard tip pickup and pipette movement commands native to the liquid handler’s API are used to accurately position and transport the pipette-pinion assembly, making it easy to integrate the rotation module into automated workflows. Fig. 2 Isometric view of pipette-pinion assembly holder, substrate stage, and clip-on rack in 24-deep well plate. 2.2 Substrate manipulation After securing the pipette-pinion assembly on the pipette gantry, the substrate of interest can be picked up. Upon lateral translation of the pipette-pinion assembly, the rectangular extension of the substrate holder forms a sliding fit with the rectangular mating hole on the pinion ( Fig. 1 , Item 4 and 5). Both parts have filleted edges to aid alignment in pickup and dropoff, whilst the rectangular cross-section prevents the substrate holder from rotating freely. The magnetic couples (4x1 mm Circular Neodymium Magnets, kkhouse) provide added security in substrate attachment during transport. A general substrate holder is presented as Item 5 in Fig. 1 . However, depending on the material being manipulated, the attachment style may be modified to account for a variety of gripper styles, including mechanical, adhesive, and suction-based systems (see Supple mentary Files ). Once a substrate has been picked up, the assembly moves to the clip-on rack ( Fig. 1 , Item 6), where the substrate can be rotated as needed. Following rotation, the substrate is placed on a stage for the desired testing. The substrate stage features a small lip with filleted edges to help alignment as the substrate holder is set on the stage ( Fig. 2 , Item B). The lip also facilitates mechanical disengagement of the magnetic connection as the pipette-pinion assembly translates laterally from the holder. The force from the lip gradually overcomes the magnetic attraction between the substrate holder and pinion, enabling smooth and reliable release from the pinion. 2.3 Rack clip and rotation design The main goal of this hardware is to convert linear gantry movements into rotational motion. As the pipette retrieves the assembly and moves it across the rack, the pinion teeth engage, rotating the pinion and the substrate holder ( Fig. 1 ). The rack is built on a clip that sits within a deep well plate (10.4 mL Square 24-Well Plate, Thomson Instrument Company, Carlsbad, USA), which allows the desired pipette movements to be specified using the pre-defined well locations of the hardware. The presented pinion is a module 2, 10-tooth gear with a 20° pressure angle and 10 mm face width (2 M 10 T 20PA 10FW). The gear teeth engage with a compatible rack, shortened to six teeth to allow for 180° rotation of the pinion. The pipette-pinion assembly also houses alignment magnets that hold the pinion at the 0° or 180° orientations ( Fig. 1 ), preventing unintended rotation during transfer. 2.4 General advantages The presented rotation module offers several key advantages, including simplicity, low-cost, versatility and modularity, facilitating integration with a range of experimental workflows. The rack and pinion system provides an easy-to-use, passive approach that can be operated with a robot’s native API and does not require external motors or the associated control, synchronization and software integration. Most components of this design, aside from magnets and one pipette tip, are 3D printed, resulting in low-cost hardware that can be readily modified based on the intended use. Alterations to the general substrate holder are discussed in Section 2.2 Substrate manipulation. Alternative configurations for custom rotation can also be achieved by adjusting the number of teeth on the pinion and rack to modulate the speed of rotation with horizontal displacement, and to tune the degree of rotation. For example, a pinion with 8 teeth would have a step size of 45 degrees per tooth engaged. By adjusting the linear translation distance, custom rotation targets can be defined. Prioritizing simplicity, this workflow uses spur gear geometry. Other types of gears, including helical, double-helical, or bevel, can be input depending on the use case. The housing for the alignment magnets on the pipette-pinion assembly can be repositioned to lock at orientations other than 0° and 180°. Additional alignment guides, through use of magnets or external structures, may also further improve rotational accuracy and repeatability. Further, the rack is currently designed as a clip that can be mounted on a well plate to minimize the slots used on the liquid handler deck. However, this rack design can also be changed to interface with other labware or be a stand-alone component (options provided in Supple mentary Files ). The presented substrate stage ( Fig. 2 , Item B) includes a camera mount for imaging of the substrate profile. However, the stage configuration can also be flexed according to application, whether for film formation via photocuring or characterization of intrinsic properties like surface wettability and dielectric constant [30] , [31] , [32] . Lastly, due to the pick-and-place design, the rotation hardware can be used in conjunction with other pick-and-place modules such as the imaging system developed by Nazeri et al. [13] . Collectively, these attributes position this substrate handling and rotation module as an accessible and flexible solution to bridge manipulation gaps and to expand the range of laboratory protocols that can be automated within a basic gantry-based robot, like the Opentrons OT-2. A video demonstrating the capabilities of the hardware is available in the data repository . The hardware described in this paper can help researchers aiming to automate laboratory protocols by: • Reducing operator dependence for dexterous rotational movements during sample handling • Expanding functionality of low-cost gantry systems through hardware that interfaces with the native tool, enabling substrate handling and rotation without additional motors or electronics. • Enabling pick-and-place tool change , allowing the system to be incorporated into many experimental setups without extensive redesign • Providing customizable hardware designs for handling and rotation, using an Opentrons 1000 μL pipette, that can be adapted to specific applications by tuning pinion teeth, rack length, the substrate holder and deck configuration to control rotation speed and range, and workflow efficiency. 3 Design files summary All hardware and software design files required to build and operate the substrate handling and rotation module, including those used in the contact lens validation study, are summarized in Table 2 . Table 2 Hardware and software design files summary. Design No. Design file name File type Open source license Location of the file 1 Pipette Adapter CAD file (.step) CC BY 4.0 10.17632/wmtb4hzh4w.4 2 Pinion CAD file (.step) CC BY 4.0 10.17632/wmtb4hzh4w.4 3 General Substrate Holder CAD file (.step) CC BY 4.0 10.17632/wmtb4hzh4w.4 4 Clip-on Rack CAD file (.step) CC BY 4.0 10.17632/wmtb4hzh4w.4 5 Substrate Stage CAD file (.step) CC BY 4.0 10.17632/wmtb4hzh4w.4 6 Pipette-Pinion Assembly Holder CAD file (.step) CC BY 4.0 10.17632/wmtb4hzh4w.4 7 General Functions for Rotation Module Code file (.ipynb) CC BY 4.0 10.17632/wmtb4hzh4w.4 8 Rack-Well Plate Labware (fgl_wellplate.json) Code file (.json) CC BY 4.0 10.17632/wmtb4hzh4w.4 9 Substrate Stage Labware (fgl_stage.json) Code file (.json) CC BY 4.0 10.17632/wmtb4hzh4w.4 10 Pipette-pinion Assembly Holder Labware (fgl_1_tiprack_1000ul.json) Code file (.json) CC BY 4.0 10.17632/wmtb4hzh4w.4 FOR VALIDATION STUDY − Contact Lens Pickup 11 Lens Mount CAD file (.step) CC BY 4.0 10.17632/wmtb4hzh4w.4 12 Validation Study − Contact Lens Wettability Assay Code file (.ipynb) CC BY 4.0 10.17632/wmtb4hzh4w.4 Design file descriptions Pipette Adapter: Mounts onto 1000 μL pipette nozzle to enable pick-and-place functionality of rotation module and transfer of the pinion and substrate holder. Pinion: Converts linear gantry motion into rotational torque and interfaces with the pipette adapter and substrate holder via a snap-fit bushing and magnetic coupling. General Substrate Holder: Generalized mount for substrate of interest with a rectangular filleted extension and magnet housing to mate with pinion. Clip-on Rack: Clips onto a 10.4 mL square deep well plate to provide the static gear teeth necessary to drive the pinion mechanism. Substrate Stage: Supports the substrate holder and features a 7 mm-tall, filleted lip to aid alignment and ensure reliable placement for subsequent protocol steps, such as characterization. This stage features a camera mount for image-based characterization. Pipette-Pinion Assembly Holder: Houses a holder for the pipette-pinion assembly before and after pick-and-place manipulation. General Functions for Rotation Module: Python notebook that features functions for pipette-pinion assembly handling and substrate pickup, rotation and drop off compatible with the Opentrons OT-2. Rack-Well Plate Labware: JSON file used to define rack and deep-well plate labware for liquid handler protocol script. Substrate Stage Labware: JSON file used to define substrate stage as a well-plate for liquid handler protocol script. Pipette-Pinion Assembly Holder Labware: JSON file used to define Pipette-Pinion Assembly Holder as a tiprack for liquid handler protocol script. Lens Mount: Specialized substrate holder which supports a contact lens during rotation and handling. Validation Study − Contact Lens Wettability Assay Script: Tailored python notebook for a contact lens wettability assay which incorporates rotation module functions to autonomously pick up and drop off contact lenses. 4 Bill of materials The materials required to build the substrate handling and rotation module are listed in Table 3 , with a total system cost of $7.34 CAD. The module is almost entirely 3D printed in PLA, with five small magnets and super glue used to put it together. Table 3 Bill of materials. Design No. Component Number Cost (CAD) /Unit Total Cost (CAD) Source Material Type 1–6 PLA Basic Filament 1 $25.99/kg $6.23 Bambu Lab Polymer 1–3 4 mm × 1 mm Magnets 5 $8.99/100 Parts $0.45 Amazon Metal 1–3 Gorilla Super Glue Gel 1 $9.97/15 g $0.66 Amazon Polymer As summarized in Table 4 , the 3D printed components used in the workflow weigh a net 195.59 g. With tree supports, the total weight of the printed parts is equal to 239.74 g, equivalent to $6.23 CAD. Additionally, the magnets used to align the substrate come in a set of 100. However, only 5 are used in the hardware, so the total cost of magnets per workflow reduces to $0.45 CAD. Lastly, the cut 1000 μL pipette tip is bonded to the pipette adapter using cyanoacrylate adhesive (super glue). Less than 1 g of adhesive is needed, therefore its cost is conservatively estimated at $0.66 CAD based on 1 g. The total system cost of $7.34 CAD is the sum of the filament, magnet and adhesive costs. The single 1000 µL pipette tip is not included, as it is a standard Opentrons OT-2 consumable already available in labs using this system. Table 4 3D printed parts list. 3D Printed Part Time (mins) Filament for Parts (g) Filament for Supports (g) Total Filament (g) Pipette Adapter 22 5.82 0.14 5.96 Pinion 16 2.84 0.05 2.89 General Substrate Holder 11 1.75 0 1.75 Clip-On Rack 18 4.99 0 4.99 Substrate Stage 132 102.40 22.29 124.69 Pipette-Pinion Assembly Holder 106 77.79 21.66 99.46 Total 305 195.59 44.14 239.74 5 Build instructions This section outlines the steps to customize and assemble the hardware, as well as incorporating handling and rotation functions into a protocol script for automated operation in an Opentrons OT-2. Step 1. Customize the general hardware based on application The hardware in this module, particularly the substrate holder and substrate stage, is presented as generalized components intended for customization across different protocols. The respective.STEP files in Table 2 can be edited with any CAD software. Regardless of change to the substrate holder, the rectangular extension should be maintained to be able to interface with the pinion and to be picked up. It is also recommended that edges of custom substrate holders and stages remain filleted to facilitate alignment between components. Example configurations of customized hardware include the lens holder ( Table 2 , Design No. 11), and a gripper for cylindrical shapes is available in the Supple mentary Files . Other parts of the module may also be modified to adjust substrate orientation, pinion rotation and clip-on rack location, as described in 2.4 General advantages. JSON files associated with the labware definition and layout may need to be updated to reflect design changes, which can be done using the Opentrons custom labware Creator. The 1000 μL pipette of Opentrons OT-2 is recommended for this module because it provides the highest mechanical rigidity among the available pipette options. Although the design could be adapted for smaller toolheads, such as 300 µL or 20 µL pipettes, it is not recommended due to the increased risk of pipette bending during operation. This limitation is mainly because the rotation hardware components discussed in this work are substantially larger and heavier relative to the smaller pipette assemblies. In general, the stability of the toolhead mounted to the gantry should be considered to ensure safe operation of the rotation module and to prevent damage to the robot. Step 2. Print hardware components The hardware in this work ( Table 2 , Design No. 1–6) was 3D printed using fused deposition modeling (FDM) on a Bambu Lab X1E (Bambu Lab, Shenzhen, China) fitted with a 0.4 mm nozzle. Polylactic acid (PLA) filament was used for all components, though any rigid thermoplastic polymer (e.g., PETG, ABS, ASA) would be suitable. The.STEP files were sliced using the Bambu Studio program with default slicing settings with layer height of 0.2 mm and infill density of 15 %. Tree supports were generated where required by the slicing software. After printing, supports were manually removed with pliers. Step 3. Build the pipette-pinion assembly and substrate holder Once the pieces were printed, the pipette-pinion assembly was put together. First, a standard 1000 μL OT-2 pipette tip was scored 28 mm from the top with a precision knife and fractured along the score line, resulting in a clean break. This end-cut pipette was secured through the top cavity of the pipette assembly using a small amount of super glue (Gorilla, Cincinnati, USA). Next, five 4 mm diameter × 1 mm thick magnets (kkhouse, Ningbo City, China) were installed in their designated housings on the pipette adapter (2), pinion (2) and substrate holder (1) using super glue and tweezers ( Fig. 3 ). Magnet polarity must be oriented to ensure attractive coupling between components. One face of the magnet may be marked with a permanent marker to identify the side intended for bonding to the PLA. The pipette adapter and pinion were pushed together to join via a snap-fit mechanism on the bushing. The fit and magnetic connection between the pinion and substrate holder were also tested. Fig. 3 Visual guide for building pipette-pinion assembly and substrate holder. i) and ii) Adhere magnets in housings of pipette adapter, pinion and substrate holder, iii) lightly push bushing of pipette adapter into the pinion, iv) check connection between substrate holder and pinion. Finally, the components were set in their labware. The pipette-pinion assembly was placed in its holder, the substrate holder was placed on the stage, and the clip-on rack was fastened to the deep-well plate by sliding the prongs over the walls of the well ( Fig. 2 ). Step 4. Integrate the rotation module in the gantry-based robot code In order for the gantry-based system to use the rotation module, it must be able to pick up, transfer and drop off both the pipette-pinion assembly and the substrate holder. The General Functions for Rotation Module.ipynb file in Table 2 contains the initiation protocol and main functions required to operate the module on an Opentrons OT-2 liquid handler. Note that the basic functions found in this file can be translated to G-code for operation in other gantry systems such as CNC machines and retrofitted 3D printers. To build a protocol script tailored for an application, start by establishing the connection with the Opentrons OT-2 in cell 1. The attached pipettes and labware locations should be defined in cell 2. The Opentrons Labware Library already has several standard labware types, including tip racks and well plates, predefined within the API which can be called within the code (demonstrated in Validation Study − Contact Lens Wettability Assay.ipynb ). The custom labware used for the rotation module can be called by the design file names available in Table 2 (Design No. 8–10). Should modifications be made to the presented stage, rack or pipette-pinion holder, this should be reflected in the labware JSON file. Proper execution of the protocol script requires that the labware locations specified in the code correspond to their intended physical positions on the deck. In the next cells, the provided general functions (gearPickUp(), gearDropOff(), substratePickUp(), substrateDropOff() and flip() in General Functions for Rotation Module.ipynb ) can be used as a framework to construct application-specific protocols. 6 Operation instructions This section outlines the operating instructions specific to the module running in an Opentrons OT-2 liquid handler. Comparable operating procedures are expected for implementation on other three-axis gantry-based robots. Step 1. Deck setup of the gantry-based robot To prepare the liquid handler for operation, place the pipette-pinion assembly into its holder and the substrate holder onto the stage. Then, slide the clip-on rack into the 24-deep well plate in the locations specified in the rotation code. For this workflow, the rack sits between well locations C3 and C5. Ensure that the rack is flush with the bottom edge of the square well. Next, place all hardware components into the designated slots in the gantry-based robot. As described by the General Functions for Rotation Module.ipynb script, this workflow has the pipette-pinion assembly holder in slot 1, the substrate stage in slot 4 and the deep well plate with the rack clip in slot 5. If the labware positioning is reconfigured according to the user’s setup, ensure the change is reflected in the labware position definition at the start of the protocol script. Finally, all labware should be checked to ensure proper alignment within their deck slot by lightly shaking them within their slot. They should be secure and flush with the deck. Step 2. Software setup of the gantry-based robot After all the hardware components are placed onto the deck of Opentrons OT-2 liquid handler, a workflow script can be uploaded and executed through the integrated Jupyter notebook environment. This environment allows users to directly modify, test, and integrate the rotation functions into custom experimental protocols. To begin, the liquid handler should be turned on using the switch located on the back-left corner of the robot. Once the robot comes online, the Opentrons liquid handler should be connected within the Opentrons application using the correct robot ID number. By clicking the three dots in the top right corner of the application and selecting Robot Settings , users can access the Advanced tab, where there is an option to launch the Jupyter notebook environment connected to the liquid handler. The protocol script should be uploaded into this directory of the Jupyter notebook available on the liquid handler. The labware JSON files should be stored in a separate folder labeled labware . Once uploaded, the liquid handler can recognize the custom labware and use it within the protocol script. The provided Jupyter notebook workflow file used in this work is compatible with Opentrons version 8.2.0. Finally, the protocol script can be opened and the connection with the liquid handler initialized by running the first cell in the notebook. Step 3. Calibration of the liquid handler and execution Before operation, the calibration of movements should be verified for the pipette-pinion assembly pickup and drop off, substrate pickup and drop off, and flipping (substratePickUp(), substrateDropOff(), gearPickUp(), gearDropOff(), flip()). Small positional x-y-z offsets might need to be made due to tolerances in 3D printing. This step is only required if the hardware components or their deck locations are changed. During calibration, care should be taken to avoid crashes or collisions between the pipette and hardware components. When calibrating the flip() function, the pinion should be positioned low enough to engage with the clip-on rack well. Fig. 4 shows the correct amount of engagement between the rack and pinion teeth required for reliable rotation during operation. In addition, gantry movement speeds can be adjusted depending on the protocol requirements; however, moving too fast is not recommended, as it can lead to instability or unsafe operation. If irregular or unexpected movement occurs during calibration, the robot should be homed or the workflow aborted using the stop function. Flexible parameters, including pipette movement speeds, x-y-z offsets and deck location designations can be modified according to the desired protocol and custom labware definitions. Fig. 4 Pinion teeth engaging with rack to convert linear movement into rotation. The initial calibration procedure of movements typically only needs to be done once during the first setup of the system, after which the positional offsets should be saved and reused for future experiments, unless the hardware configuration or deck layout is modified. Once calibration and setup are completed, the workflow code can be executed to begin operation of the workflow. 7 Validation and characterization 7.1 Angular positioning accuracy assessment To characterize the performance of the substrate rotation module, the average angular error was assessed. In this test, the pinion was translated across the rack 10 consecutive times. A camera placed perpendicular to the axis of rotation recorded the final position of the pinion after each 180° turn (refer to Fig. 4 ). Image analysis was completed using ImageJ. To determine the achieved angle, two lines were fitted to the image: one across the well plate to serve as the relative axis, and another along the lower edge of the rectangular mating hole on the pinion. The angular error was calculated as the difference between the relative axis and substrate holder axis. As noted in Table 5 , the average angular error across all turns was + 0.77 ± 0.36°, indicating a slight over-rotation for all turns. This error was inconsequential to the functionality of the module as the pinion and substrate holder both feature filleted edges with ample tolerance to facilitate successful connection within the angular error range. Supplementary data for this test can be found within the data repository. As a result, the substrate handling and rotation module can be confidently employed for specific scientific applications involving substrate transferring and manipulation. Table 5 Angular error after 10 consecutive 180° turns. Flip No. Angular Error 1 +0.70° 2 +0.86° 3 +0.82° 4 +0.85° 5 +0.54° 6 +0.19° 7 +0.26° 8 +1.46° 9 +0.90° 10 +1.15° Average +0.77° ± 0.36° 7.2 Rotation module for automated contact angle measurement on contact lenses Surface wettability, which describes how well a liquid can wet a surface, is an important phenomenon in a variety of applications, including coatings, textiles, and biomedical devices [33] , [34] , [35] . One of the widely used methods for measuring surface wettability is contact angle (CA) measurement through sessile drop goniometry. CA is defined as the angle formed between a liquid droplet and a solid surface at the solid–liquid-air interface. A lower CA indicates that the liquid spreads more easily on the surface, corresponding to higher wettability, while a higher CA suggests poor wetting [36] . CA measurements are commonly made on contact lens materials to understand their wetting properties and biocompatibility within the eye environment [37] , [38] . Although the sessile drop method is relatively simple and relies on image processing to measure the contact angle, it is still highly dependent on the operator. Factors such as how the droplet is applied to the surface (e.g., drop landing versus gently touching the surface), how the droplet baseline is defined, and the entire manual protocol can affect the observed CA. In addition, the process is time-intensive and highly dependent on the operator’s skill and experience [39] , [40] . Therefore, there have been several studies on automating different parts of these CA measurements, such as droplet dispensing and image processing to improve consistency [41] , [42] . Notably, Nazeri et al. introduced the RAISE platform, which uses the liquid handling capability of an Opentrons OT-2 and a pick-and-place camera system to build an automated closed-loop system capable of linking formulation with contact angle measurement [32] . An automated workflow has been developed to standardize and increase the throughput of CA measurement on contact lenses, supporting improved characterization of biomaterial compatibility. Despite the standardized measurement process, operator involvement remains necessary for lens manipulation during setup and post-processing. This is because the delicate contact lens material typically requires an operator using tweezers to gently pick up, invert and place a contact lens onto a mount, followed by careful manipulation for removal after the measurement has been made [43] , [44] . In general, single CA measurements can be completed within a few minutes over several cycles on the scale of 6–24 h [37] , [45] . Automating this nuanced handling enables extended unattended operation of the contact lens assay, potentially for several hours depending on lens availability on the deck. This substrate handling and rotation module offers a standardized and automated approach for contact lens pickup without the need for tweezers or an operator. The automated workflow involves picking up the lens mount, rotating it 180°, dipping it into a well to retrieve a contact lens, then returning it to its original orientation. To adapt the general substrate handling and rotation module for the contact lens testing application, the substrate holder was redesigned to match the base curve of a contact lens ( Fig. 5 ). The lens mount features a narrowed neck to aid the centering of the lens during pickup and to prevent the well from overflowing while the lens is retrieved. To be more space efficient, the clip-on rack was secured onto the deep-well plate between wells C3 and C5. Because of this, the height of the lens mount was limited such that it would not crash with the well plate that the rack was sitting on as it was being rotated. Fig. 5 Deck setup for contact lens manipulation using substrate handling and rotation hardware with customized lens holder. The substrate stage is on slot 1, while the pipette-pinion assembly holder and rack are on slots 7 and 8. The deck setup for the contact lens wettability assay with automated lens pickup and drop off is shown in Fig. 5 . The stage supports the lens mount and a perpendicularly fixed 12 mm pen-like camera in slot 1. Due to the need for high contrast lighting while imaging the droplet without the interference of other labware, the stage had to be placed on a slot that has a direct lane to the LED lighting source. The pipette-pinion holder and rack-well plate were moved further back into slots 7 and 8, respectively. To accommodate these changes, the labware definition for the pipette-pinion holder, stage and rack were modified from the original layout described in the general code ( Table 2 , Design Nos. 7 and 12). The functions associated with the general rotation module were incorporated into the contact lens wettability assay ( Table 2 , Design No. 12). To prepare for the measurement, the substratePickUp() and flip() functions were used to pick up the lens mount from the stage and invert it. Then, the mount was submerged in a well containing the lens, by adjusting the Z position of the pipette gantry, and lifted to adhere the contact lens via capillary force to the mount ( Table 2 , Design No. 12 − lensPickUp()). After, the substrate returned to the rack, flipped back into the original orientation using flip() and placed back on the stage using substrateDropOff(). Once the contact lens has been mounted, five CA measurements over air exposure were made using repeated deposition of 5 µL droplets of MilliQ (MQ) water onto the contact lens surface. To remove the contact lens from the lens mount, the lens mount was picked up once again and inverted (substratePickUp() and flip() functions). Contact lens release was achieved by submerging the mount in the well and lightly brushing it against the well wall (lensDropOff()), allowing the lens to detach and soak in the solution. In this case, MQ water was used to rehydrate the lenses. Lastly, the lens mount was returned to the stage via flip() and substrateDropOff(). The contact lens was immersed in MQ water for 4 min, before the surface wettability was measured again. This cycle was repeated four times in triplicate for the validation study. A video is available in the data repository to demonstrate the protocol. Because there was no other function being used by the 1000 μL pipette, the pipette-pinion assembly was only picked up once and remained attached to the gantry throughout the whole protocol. 7.3 Capabilities and limitations of the hardware The workflow is programmed to flip the lens substrate 180° in 6 s, with other function times reported in Table 6 . The gantry moves over the rack at a speed of 10 mm/s, which allows the substrate holder to be reoriented at an appropriate rate for contact lens handling. The total time required to set up the experiment using the handling and rotation module functions totaled 42 s (including the time to move to various locations on the deck). Table 6 Time required for the actions of rotation module. Individual Actions Time (s) gearPickUp() 10 substratePickUp() 6 flip() 6 lensPickUp() 10 lensDropOff() 10 substrateDropOff() 6 Combined Actions Total time to retrieve lens (experimental setup) 42 Total time to remove lens (experimental post-processing) 42 In this test, the surface wettability of one silicone hydrogel contact lens and one conventional hydrogel contact lens was evaluated over repeated cycles of air exposure and rehydration in MQ water. The measured CAs of senofilcon A (silicone hydrogel) and omafilcon A (conventional hydrogel) contact lenses throughout this protocol are shown in Fig. 6 . Fig. 6 Observed CA of senofilcon A lenses and omafilcon A lenses fresh from their blister packaging solution and after three cycles of rehydration in MQ water (4 min). The grey line indicates when the substrate handling and rotation module was used to pick up the lens and immerse it in MQ water. For the senofilcon A lens, the first measured CA was 54°, increasing to 64° after four minutes of air exposure, indicating a decrease in surface wettability over time. After the next few rehydration cycles (shown as a grey dotted line in Fig. 6 ), the CA did not return to its initial surface wetting state, which suggests that rehydration in MQ water does not fully restore the original wettability of the senofilcon A contact lens surface. The omafilcon A lens exhibited a similar decrease in wettability over air exposure with the initial contact angle measured at 33.4° and increasing to 66.9° after five repeated sessile drop measurements. However, unlike senofilcon A, rehydration in MQ water allowed the surface wettability of omafilcon A to return to a similar state to that of a fresh lens, highlighting the range of surface behaviour that may be observed between contact lens materials. These observations were enabled by the robot’s ability to autonomously perform contact lens pre- and post-experimental procedures, allowing the assay to operate continuously over 144 min while completing measurements in triplicate. During this test, the module successfully handled 48 instances of lens substrate transfer and manipulation across both lenses. This performance may be attributed to the magnet alignment mechanism on the pinion to control degree of rotation, and the substrate holder to secure the mount to the pipette-pinion assembly. Despite the success of this hardware, there are still a few limitations. Foremost, the simple module only provides rotational motion about a single axis at a time. Incorporating additional degrees of freedom would require further hardware development and design optimization. Additionally, the workflow is constrained by the weight and size of the substrate. Heavier or bulkier items can create excess torque at the pipette and the pipette-adapter interface, affecting the friction-fit of the 1000 μL pipette tip and potentially causing twisting and instability. The rotational motion is also limited in precision due to the physical limits of the rack-and-pinion mechanism, which pivots the substrate through discrete incremental steps. However, increasing the number of teeth in the pinion-rack interface and adding alignment guides can improve the rotational precision and consistency for integration in more advanced workflows. Lastly, researchers customizing this design should be mindful of potential collisions within the gantry-based robot. Proper configuration and consideration of size restraints is essential for all the components to work together. In the case that a very large substrate is used, it would be more desirable to use a stand-alone rack (presented in Supple mentary Files ) which does not have a height limitation like the case of the lens mount and rack-deep well plate. 8 Conclusion In summary, this study demonstrates a solution to extend the functionality of a simple three-axis gantry-based platform to perform dexterous sample handling and rotational tasks. Although this work specifically focused on the Opentrons OT-2 liquid handler, the designs can be applied for DOF augmentation across a wide range of automated gantry-based platforms. This low-cost hardware combines pick-and-place design, magnetic coupling and rack-and-pinion actuation to achieve reliable substrate handling and rotation. Constructed of materials totalling $7.34 CAD, this module offers the flexibility to be redesigned and repositioned to accommodate workflow requirements. To demonstrate the hardware in action, the substrate handling and rotation module was successfully used to automate contact lens pickup and removal during pre- and post-experimental processing for contact lens wettability analysis. This enabled repeated CA measurements over a total of 144 min without the need for manual lens manipulation with tweezers, addressing a major bottleneck of the experimental workflow. Despite limitations, including only adding single-axis rotation and finite rotational precision, the simple modular design provides a foundation for developing fine substrate handling in laboratory automation. More broadly, the integration of more pick-and-place systems in gantry-based robotic platforms may support the development of more specialized and higher-throughput workflows. Ethics statements The work presented in this article did not involve human subjects or animal experiments. All data was collected using commercial contact lenses and inert materials. No personal data was collected or analyzed during this research. CRediT authorship contribution statement Tithi Choksi: Writing – original draft, Visualization, Validation, Software, Methodology, Investigation, Conceptualization. Erin Ng: Writing – original draft, Visualization, Validation, Software, Conceptualization. Mohammad Nazeri: Writing – original draft, Supervision, Investigation, Conceptualization. Frank Gu: Writing – review & editing, Supervision, Resources, Funding acquisition. Declaration of competing interest The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
