planktoscope/docs/assembly_guide.md
2022-11-11 17:15:51 +01:00

14 KiB
Raw Blame History

Assembly guide of the PlanktoScope

Complete

Step 0: Gather everything you need

  • Laser cut structure
  • M12 lenses
  • Peristaltic pump and tubing
  • Raspberry Pi, motor driver board, GPIO connectors
  • Flashed SD card
  • Stepper motors
  • PiCam and flex cable
  • GPIO ribbon connector, headers, HATs, LED
  • DC Power terminal
  • Magnets
  • Super glue
  • Standoffs (M2.5), M3 screws and nuts

Make sure you have your screwdriver kit, soldering iron, and components ready. Also, remember to flash the PlanktoScope image disk on the SD card before installing the Raspberry Pi.

If you are not familiar with any process, such as soldering, tapping, or wiring, try and familiarize yourself with the topics first.

Soldering deals with high heat and potentially toxic materials, so make sure to use the proper precautions.

Step 1: Laser cutting

Step1

Laser cut all components using the .ai file ensuring all cuts are complete. The current design should have a 5mm material thickness. Start by placing laser cut base A on a flat workspace. Make sure all holes are complete, and negative space is clear.

!!! warning If you are doing the laser cutting yourself, please take the time to check the calibration of the machine and its power output for the material you are using. A tight fit is needed between the different plates to avoid unwanted play between critical parts.

Step 2: Standoff installation

Step2 Step2 standoff location

Place 8 standoffs (M2.5 6mm) into the designated holes on the laser-cut base A. A pair of pliers make the job more comfortable. Do not overtighten as it is possible to crack the base material.

Step3

Step 3: Motor HAT preparation

Step4

Insert and solder the terminal blocks and headers onto the motor driver PCB.

Step5

Place the motor driver PCB on to the indicated standoffs.

Step 4: Magnets setup

Step6

Now is a good time to think about how the magnets will function within the microscope. The magnets in the sample stage will need to attract to the magnets on the flow cell holder. The magnets in the objective holder will need to attract the magnets on the mount. Keep this in mind as you are adding your magnets and tapping your respective M12 holders so your orientation will be correct.

Step8

You can now fix your magnets into their appropriate holes on sample stage B. It is recommended to glue the magnets in place. If the magnets are too large to fit in, the holes can be widened with a handheld drill. However, they should be quite snug in place. Before you glue them in place make sure that the polarity is maintained, as they will be impossible to remove after gluing.

Step 5: Sample stage assembly

Step9

Dont be alarmed by the color swap, this is the sample stage B. You can now fit the pegs on the driver mounts into the corresponding holes on the sample stage. They should be glued in place with superglue or epoxy. You can spin the shaft to align the driver mounts on the 2 steppers if it helps making the process easier.

Step10

You should now have a sample stage and motor assembly that looks like this.

Step 6: Lenses tapping and mounting

Step12

You now need to tap the holes for the M12 lenses in stage and mount M and D. It is helpful for alignment to do both the objeDtive and tube lens mount together. It is important to do this as straight as possible. A drop of mineral or olive oil can help the process. Be careful to use a right-hand tap (that goes down when turning clockwise).

Step13 Step14

Step6-2

You can now screw the objective lens (the 25mm one) in part D. Step14

Step 7: Camera preparation

You can now unscrew the lens from the Pi camera, being careful not to disturb the sensor below. Image22 Image30

Step 8: Camera mount

Step17

You can mount the camera using the appropriate holes on the camera mount G. Be careful to avoid getting oil or dust on the sensor.

Step 9: LED preparation

Step18

The LED can then be wired up and put into its mount F. If you wire the LED yourself, remember to give enough length to reach the motor driver on the other end of the microscope. You can also add a bit of glue to fix F to the motor mount E at this time to make assembly easier, though it is not required.

!!! warning Led

This picture shows the correct wiring for the LED. Please make sure the red wire is on the long pin of the LED.

Step 10: Vertical slices assembly

You can now start placing the motor mount/LED assembly- B, Step5

C, Step6

D, Step7

E, Step8

F, Step8

and G into the base A.

Step 11: Pump setup

The pump can then be mounted in place on H. Thread the wires through the hole with the pump tubing pointed toward the holes on the mount. Step19

Fix the pump in place. Step20

Step 12: Pump mounting

You can now mount the pump on base A. Step15

Your setup should look like this. Don't worry about the wiring, we'll have a look at it in the next step!

Step21

Step 13: Motor HAT wiring

Step22

You will now want to wire the steppers and pump to the terminals on the motor driver board.

!!! info The PlanktoScope uses only bipolar stepper motors (with 4 wires coming out, and two coils inside), so you need to identify the two wires working together for each coil. The RepRap Wiki has great information on how to do this, either with a multimeter or without.

You can find more information about stepper motors and how they work in this [document](http://resources.linengineering.com/acton/attachment/3791/f-00ca/1/-/-/-/-/Stepper%20Motor%20Basics.pdf).

!!! tip If your wires are too short, you can invert the pump and the focus wiring. However, you will have to remember to change the configuration later on.

!!! tip Make sure the wires are properly connected by pulling on them a little. They should not come loose.

Step 14: Raspberry Pi setup and installation

Step24

At this point, you can insert your flashed SD card into your Raspberry Pi. Consult the guide for flashing your SD card before you do this. The heat sink can also be added to the processor.

!!! note If you choose the Expert path, you still need to flash your sd card, either with the lite version of Raspberry OS or with the desktop version.

Step16

Mount the Raspberry Pi containing the flashed SD card on the standoffs attached to the laser cut base A.

Step 15: Standoffs

Step17

Add 8 standoffs (M2.5 15mm) to fix the motor driver board and the Raspberry Pi to the base.

Step25

Step 16: Camera flex cable

Step26

At this point you can use the Pi camera flex cable to connect the camera to the Pi. This is done by gently pulling up the tensioners, inserting the cable in the right orientation, then pushing the tensioners back in place to set the cable. Try not to kink or fold the flex cable too much as it is possible to damage it.

Step 17: Power supply wiring

Step29

The power wires can be wired into place on the motor driver board.

!!! tip Make sure the wires are properly connected by pulling on them a little. They should not come loose.

Step 18: Prepare the GPS HAT

Step18-1

Insert the battery to power the GPS HAT and solder the terminal mounts in place.

Step 19: Install the GPS HAT

Step18

Mount the GPS HAT over the motor driver PCB using the standoffs attached to the laser cut base A.

Step 20: Install the Fan HAT

Step19

Place the cooling fan HAT above the Raspberry Pi by mounting it to the standoffs on base A.

!!! warning Be careful to slide the camera flat cable in the slot in the HAT above the connector.

Step 21: Secure the HATS

Step20

Secure the cooling fan HAT and GPS HAT by tightening the 8 screws to the standoffs on base A

Step 22: Install back panel

Step21

Insert the laser cut border I into base A.

Step 23: GPS output connector

Step22

Insert the power and GPS connectors into side plate J.

Step 24: Install side panel

Step23

Place the side plate J into the designated slots on the base. You can connect the GPS cable to its connector on the board.

!!! warning The GPS connector is quite fragile, make sure to align it properly before inserting it.

Step 25: Install the other side panel

Step25

Mount the side plate K on base A using the assigned slots.

Step 26: Secure the sides together

Step26

Secure the laser cut sides with the screws and nuts.

Step 27: Secure the sides to the base plate

Step27

Secure the laser cut sides to the base plate A with the screws and nuts.

!!! warning To make this easier, you can turn the assembly upside down or on its side. Be careful when doing so as the plates may fall.

Step 28: Insert the camera ribbon cable in the camera

Step28

You can now connect the camera flex cable into the connector on the camera board. Once again, gently pull up the tensioners, insert the cable in the right orientation, and push the tensioners back in place to set the cable. Try not to kink or fold the flex cable too much as it is possible to damage it.

Step 29: Assemble the GPIO ribbon cable

If you didn't get an already assembled ribbon cable, you need to build it yourself.

The orientation of the connector does not really matter. However, you need to make sure that both connectors are oriented in the same direction and are on the same side of the ribbon.

To assemble, slide the ribbon in its connector and close it off. You need to tighten it really hard. It's very warmly recommended to use a vice to do so.

!!! warning Once assembled, the ribbon should NOT look like this: Ribbon wrong

It should rather look like this:
![Ribbon good](images/assembly_guide/pictures/ribbon_good.webp)

Step 30: Insert the ribbon cable

Step28

Attach the GPIO ribbon to connect the cooling fan HAT to the GPS HAT.

!!! tip You can try to route the flat ribbon from the camera under the ribbon cable you are connecting now. Step31

Step 31: Fluidic assembly

Step29

Feed in the tubing from syringe 1 to form the fluidic path as shown.

Step30

Feed in the tubing from syringe 2 to form the fluidic path as shown

Step31

Feed in a length of tubing as shown through motor mount H and illumination mount FE

Step34

Step 32: Close your PlanktoScope

!!! warning Take a moment to check your wiring one last time. Also check the routing, make sure the LED wires and the pump stepper wires are in their dedicated channel.

Step33

Place the top L into the slots on the PlanktoScope body. Secure it in place with screws and nuts.

Step34

Step 33: Enjoy

Congratulations on a job well done. You can have some rest, get a tea and some biscuits!

Step35

You can now plug the machine in and test it. If you have choose the Expert's path, now is a good time to finish setting up your machine.

Step 34: Read the getting started guide

A guide to get started with your machine use is available!