Building OpenAutoLab

This is a detailed description of building OpenAutoLab. If you are using a plant container for heated water bath, note that you may have to move around some of the components a little, since different containers may have inner structures you need to avoid, see section about lower rail. If you have any pre-built modules like main board or one of the rails, just skip the section. If you are 3d-printing the parts yourself, please refer to making parts, it contains useful information about the print settings and post-processing. If you want to change the measurements of some parts, due to differently sized magnets, hoses, threaded rods or other components, refer to modifying parts, it describes how to modify parametric models of all 3d-printable parts to meet your needs.

Building frame

picture of the frame
By the end of this chapter you will have the skeleton of the machine with most components mounted on the frame.

Building upper rail: valves, pumps and mount for electronic box

picture of the upper rail
By the end of this section you will have non-water-tight top part of the machine. It is possible that you will have to change placement of some parts due to individual differences in size of components sourced from different manufacturers. The difference should not be drastic, so the mentioned measurements are a good reference.
picture with all mentioned parts

Parts list

NoPartQuantityFilename if 3d-printable
1Main pump1
2Two-part bracket for the main pump1upper_rail_main_pump_bracket.stl
3Fresh water pump1
4Two-part bracket for the fresh water pump1upper_rail_filter_pump_type1_bracket.stl or type2
5magnetic valves6
6two-part brackets for the valves6upper_rail_valve_bracket.stl
7two-part brackets for the electronic enclosure2upper_rail_enclosure_bracket.stl
8M4x15 screws18
9M4x20 screws3
10M4 nuts16
11M8 threaded rods of length 600mm2

When building the rail together, do not tighten the screws all the way, keep the assembly somewhat flexible, as you may want to move the brackets around before fixing them in place.
pump on bracket
Take the main pump and mount it on its bracket with two M4x15 screws.
pump on rail
Push the threaded rods through the mount and tighten the M4x20 screw fixing the position of the pump about 20mm away from the leftmost end of the rod. Note that connecting pipes should point upwards from the pump. It starts better when the gears inside of it are immersed into a small amount of remaining liquid, rather then when the gravity completely pulls the liquid out.
pump and one valve on rail
Take one of the valves and fix it about 2cm away from the pump leaving some space for the electrical connections. Use M4x15 screws and nuts. Mind the orientation at which the valves are mounted: they are better holding pressure in one direction than in the opposite one, which corresponds well to higher pressure generated by pump pushing liquids towards the valves in comparison to sucking through them. Which cannot create pressure difference greater than atmospheric.
pump and all valves on rail
Mount the rest of the valves onto the rail about 5mm apart from one another.
filter pump bracket screwed
Take the fresh water pump brackets and screw them together with two M4x20 screws leaving 3mm gap.
filter pump on the rail
Place the pump between the brackets, and mount them onto the rail, about 20mm away from the rightmost valve.
Now mount the brackets for electronic enclosure. You may have to push around the valves to make space for correct placement of the brackets.
enclosure brackets on rail and PCB for comparison
The distance between the brackets should be exactly the same as the distance between the mounting points of the PCB and therefore of the enclosure. About 12mm to the right from the first and 3mm to the right from the fourth valves is a good place for the brackets, this way the wires from each of the valves should reach their respective connectors on the PCB without problems.
When you are sure that all parts fit nicely, tighten all the screws.

Building lower rail: vessel and tank interfaces and mounts

assembled lower rail
By the end of this section you will have a water-tight bottom part of the machine. It is possible that you will have to change placement of some parts due to differences in placement of the structures inside the outer box. two lower rails in two containers comparison
The difference should not be drastic, the picture is a good reference anyway. If the force gauge was not originally waterproof, follow the instructions in making parts to make it waterproof first.
picture of all mentioned parts

Parts list

NoPartQuantityFilename if 3d-printable
1rod-mountable magnetic holders5lower_rail_magnetic_holder.stl
2bar-mountable magnetic holder1lower_rail_magnetic_holder_wg.stl
3force-gauge mounting brackets2lower_rail_weight_gauge_bracket.stl
4larger magnet covers with outer thread6lower_rail_magnetic_holder_cover.stl
5filter supports2lower_rail_filter_support.stl
6magnets6
7Waterproof force gauge1
8threaded rods M8 of length 600mm2
9M8 nuts24
10M6x25 screws2
11M4x12 screws2

one magnetic holder mounted on rail
Take two threaded rods and place one nut on each of them about 135mm from the end. Push them through one magnetic holder and fix with two nuts on the other side. four magnetic holders on rail
Place two more nuts about 65mm to the right from the previous two. Repeat nuts-holder-nuts-space pattern for a total of 4 holders.
last holder with filter supports
The rightmost holder is for the filter and should be further away due to filter size and requires two additional supports due to its weight and instability. So, after the fourth holder keep about 150mm of space, then place parts in following order: nuts, support, nuts, holder, nuts, support, nuts. The idea is that each part is fixed on both sides and is in the contact with 4 nuts in total.
mounted force gauge with arrow visible
Take the force gauge, and the pair of mounting brackets and fix the gauge on the left about 20mm from the very end of the rods by threading each screw through two brackets into the gauge. Mind the orientation of the gauge, the arrow must be on the free side and should point downwards, and the angle must be fine tuned later so that the tank is as far from touching any of the walls as possible.
holder mounted to force gauge
Mount the last holder to the other side of the gauge with two M5 screws.
magnets in holders
Place the magnets in the same orientation (all north pole up or all north pole down) in each of the six magnetic holders.
process of screwing cover
Screw a larger magnet cover with outer thread into each of the six magnetic holders.

Bringing two rails together

picture with all mentioned parts

Parts list

NoPartQuantityFilename if 3d-printable
1T-mounts4frame_t-mount.stl
2X-mounts16frame_x-mount.stl
3M8x210mm threaded rods2
4M8x110mm threaded rods2
5M8 nuts20

You need to have two pairs of X-mounts on each of four rods to hold one rail on one side. Each pair should be able to be pressed together by two nuts in order to tightly hold the threaded rod of the rail. four rods with x mounts and nuts
To achieve said structure, loosely put the parts in the following order on each of four rods: nut, two X-mounts (two round cutouts facing each other), two nuts some distance apart, two more X-mounts (also cutouts together), nut.
Take the upper rail and two longer (210mm long) rods.
upper rail on perpendicular rods
Place both ends of the rail (left and right) between pairs of X-mounts and tighten the nuts. Make sure that perpendicular rods are in front of the rail, not on the rear side.
Repeat the same procedure with the lower rail and shorter (110mm) rods. Note that exact placement of those perpendicular rods is not really important, the distances between them should be the same for the lower and the upper rail. The left one could be mounted to the right or to the left of the weight gauge bracket, depending on available space in the outer container, you may have to experiment.
t-mounts on lower part
Now use 4 T-mounts to fix the rails together: each of the two newly mounted perpendicular rods of the lower rail should get a nut, a pair of T-mounts and a second nut. upper half inserted into lower
The perpendicular rods of the upper rail are inserted between those pairs, which are then pressed against each other by tightening the nuts.

Building agitation module

agitation module near the tank
If you have some special developing tank and need to make parts that fit it, or 3d-printing them for the recommended AP developing tank, refer to modifying parts, it has description of how to make the right rod and cap. In this document it is supposed that you already have the parts that fit your tank perfectly.
servo mounted on cap
Mount the servo on tank cap in such a way, that its axis is in the center of the cap using the screws provided with the servo.
mounting the rod
Take a long screwdriver and fix the mixing rod to the servo with the M2.5 screw also provided with the servo.

Connecting hoses

assembled view of interface on vessel
blown view of interface assembly
The vessels and the developing tank are connected to the hoses with interfaces, which are fancy L-shaped tubes with inner M8 threads on each end and a magnet on the bottom. The top thread is for the hollow screw, that is put through the hole in the bottom of the vessel, a gasket ring and then tightened to the interface itself. The side thread is for the hose adapter. This part is designed to be interchangeable, because of how easily it could be accidentally broken. For the same reason it is designed with redundant sleeve that holds the hose and adds to the strength of the part. all mentioned parts

Parts list

NoPartQuantityFilename if 3d-printable
1Silicone hose 6mm ID, 9mm OD
2T-connectors for 6mm hose5
3hose sleeve6lower_rail_hose_sleeve.stlv
4hose adapter6lower_rail_hose_adapter.stl
5hollow screw6lower_rail_hollow_screw.stl
6silicone rings12
7straight vessel interfaces5lower_rail_interface.stl
8Tank interface with a light-trap1lower_rail_interface_light_trap.stl
9interface magnet cover6lower_rail_interface_cover.stl
10Filter attachments holder2upper_rail_filter_attachment.stl
11magnets6
12cable ties

Mounting hose adapters

Cut 6 hoses for vessels, filter and tank. Their lengths need to be enough to connect the upper rail and the lower rail and to allow comfortable handling of vessels, mounted to them. Recommended length is about 300mm. Now connect each hose to adapter as follows.
two sleeves on two hoses, with two adapters: one lying near, another already put on
First, the sleeve is put on the hose, the side with hexagonal cutout facing the end of the hose. Then the narrow side of the adapter is put over the hose.
putting sleeve over adapter
Then holding the hose with one hand, slide the sleeve with the second hand. The pulling force will stretch the hose so it becomes narrower and it is easier to fit the sleeve on top of it, however it should be done carefully not to pull the hose away from the assembled adapter. adapter with hose screwed into interface
Screw those adapters on the sides of the interfaces (not on top part which is opposite to the magnet). You can use TPFE tape, silicone or rubber ring (recommended) to make threaded connection water-tight. Keep in mind, that in case adapter is broken, you need to be able to unscrew the thread.

Preparing vessels and tank

six magnets in six covers
Put 6 magnets into the smaller magnetic covers in the same orientation you put them into magnetic holders.
![process of screwing cap on one interface, near lie assembled and disassembled]
Screw those caps onto interfaces.
drill in tank drill in filter
drill in vessel
The machine is designed with AP developing tank, Ikea 500mL shakers and Brita water filter in mind. If you are building the machine from scratch you need to drill 8mm holes in each of those items: 17mm offset from center for the tank and dead center for the others.
Then for each one of those repeat the following mounting process.
process of screwing vessel onto interface
Put the hollow screw through the hole from the inner side, such that the thread is sticking outside. Put a silicone gasket on the thread. Screw the interface on, magnetic side down. Do not over-tight, especially if you have a 3d-printed screw. Tighten just that the interface is not unscrewing itself when forces are applied by the dangling hose during normal operation.

Finishing the liquid connections

pieces hose on valves and t-pieces, assembly progress
Cut 5 pieces of hose, each of which is just long enough to connect a T-piece with a valve and put T-pieces on top of the five leftmost valves. Note that the picture is taken from the back side of the machine.
last valve connected
Cut one more slightly longer hose to connect the last valve to the side of the T-piece of the neighbouring one. From now on measure the length of the hose to be cut judging from the distance of components that it connects. Note that the picture is taken from the back side of the machine.
connecting t-pieces together, assembly progress
Cut four more short hoses and connect 5 T-pieces together. Note that the picture is taken from the back side of the machine.
connecting main pump to valves
Connect the main pump to the only T-piece left.
connect main pump to tank
Connect the other side of the pump to the tank.
connecting hoses to vessels, assembly progress
Connect the four hoses attached to two vessels, water filter to valves 1 through 6, the sixth valve is for dirty water output, it needs to be slightly longer, because it leads outside of the machine to your waste water container.
two external hoses visible
Cut the hose for clean water input about the same size as the waste water hose, it should reach the source of clean water outside the machine. Connect it to the input of the filter pump. connect filter input hose
Cut about 300mm long hose for the filter input. Connect it to the output of the filter pump and fix its other side to the input of the filter.
securing hoses with ties, assembly progress
Secure each end of each hose with a cable ties.
level sensor on filter
Put the level sensor on the filter input so the filter never overflows.

Mounting and connecting electronics

If you want to make the PCB yourself, or just to understand its work better better, refer to main_board subdirectory of this repository. It contains schematics and board layout in KiCAD format, along with some insights about its production. In this document it is supposed that you already have a PCB with all components soldered to it.

Mounting PCB

Parts list

NoPartQuantityFilename if 3d-printable
1PCB1
220x04 LCD display with i2c interface1
3Front half of the electronic enclosure1enclosure_front.stl
4Back half of the electronic enclosure1enclosure_back.stl
5plastic buttons3enclosure_buttons.stl
6M4x20 screws4
7M4x6 screws4
8M4 nuts4

pcb screwed to back of enclosure
Place the board inside the back half of the box. Put 4 screws through the holes in the board and in the box.
putting enclosure onto brackets
Put those screws sticking from the rear of the box through the brackets on the upper rail.
mounting enclosure onto brackets
Tighten it all with 4 nuts from the back.

Connecting power electronics

Before valves can be connected to the main board, the wires need to be prepared.
crimping wires
The optimal way is crimping the ferrules. Covering ends of wires with solder using soldering iron is not optimal, since the solder slowly deforms under pressure with time and connection may become loose, but better than nothing. Screwing the wires as is is strongly not recommended.
connecting wires to pump
If the pumps have already pre-soldered wires, you can use them or replace if the length is not enough. A nice way is to solder nothing to the pumps and use the contact terminals instead.
connecting valves to board
Put each pair of wires of each valve into the screw terminals and tighten them with screws. Polarity does not matter in case of valves.
connecting power
Connect the rightmost terminal to the power supply, here the polarity is important, make sure that the negative contact is on the left, and the positive is on the right.
connect magnetic sensor,filter pump
To the left of the power terminal is magnetic sensor for the filter and further to the left is the filter pump, both cave no incorrect polarity, unless you are using a different from the recommended bidirectional pump.
connecting main pump to the board
Fourth terminal from the right is the main pump. Polarity is important here, but your pump may theoretically have different polarity. In case it does, don't worry, just do the test run in the end and check that the pump moves the water in the right direction and change the polarity of this pump. If the hoses are connected as depicted, connect the wires as depicted, negative on the left, positive on the right. If your pump runs in the wrong direction, either reverse wires polarity or reverse hoses connections.

Signal-level electronics and front panel

connected force gauge and agitation module
Connect the force gauge, to 4-pin connector and the agitation module to a 3-pin connector as depicted, the polarity is very important.
mounting screen
Place the top cover of the electronic box upside down and mount the screen mounting filter pump switch
Mount the pump switch.
putting buttons in place
Insert three plastic buttons into their places. If you do not invert the box completely they do not fall out, but if you struggle with them, you can hold the box screen-down and invert the whole frame to put the box together.
open enclosure, connected front wires
Attach the screen and switch connectors to the board and put the box together.
fix box halves with screws
Fix the box halves together with four side-mounted M4x6 screws.