- Build the high-resolution microscope
- Build the low-cost microscope
- Build the upright microscope
- Customisations and alternatives
- Troubleshooting
- Knowledge base

# Complete the wiring

## For this section you will need:

### Printed Parts

- 1 Electronics drawer

### Electronic Components

- 1 Raspberry Pi Power Supply
- 1 Raspberry Pi v4
- 1 Sangaboard v0.5 - If you cannot get a Sangaboard, you can put together workaround motor electronics instead.

### Mechanical Components

- 2 M3 nut
- 2 M3x10 cap head screws
- 4 No 2 6.5mm self tapping screws

Note on Sangaboard v0.5

The Sangaboard v0.5 from our preferred supplier has 11mm tall header connectors. If you purchase a board from another supplier and they use standard 8.5mm headers you will need to print a different electronics drawer

Alternative electronics options

If you are using a version of the Raspberry Pi other than v4, or Sangaboard other than v0.5, you may need a different electronics drawer.

If you do not have a Sangaboard, you can make up a compatible solution from a microcontroller and separate driver boards. This is described in the motor electronics workaround page.

## Assembly video

## Step 1: Prepare the electronics drawer

- Place an M3 nut into the slot just inside the hole in the front of the microscope base.
- Place another M3 nut into the slot above the Sangaboard power connector on the electronics drawer.

## Step 2: Connect the Raspberry Pi

- Take the electronics drawer you printed earlier and push the Raspberry Pi v4 into place so the connectors show through the holes.
- Secure the Raspberry Pi in place with two self tapping screws
- Insert the ribbon cable from the optics module into the camera port of the Rasberry Pi, ensuring the contacts are on the opposite side from the clasp. There are detailed instructions on the Rasbperry Pi website.

## Step 3: Connect the Sangaboard

Your Sangaboard requires firmware in order to work. If you have purchased the board pre-flashed with firmware, it will already be installed. If you have made the board yourself, you may need to obtain and upload the firmware. Details of how to do this are given in the Sangaboard v0.5 page.

- Mount the Sangaboard v0.5 onto the Raspberry Pi GPIO pins, ensuring that the ribbon cable from the optics module passes through the slot.
- Secure the Sangaboard in place with two self tapping screws
- Push the motor cables into their labelled connectors. Make sure the motor from the correct axis on the microscope goes to the correct port.

## Step 4: Connect the LED to the Sangaboard

Connect the wires to the Sangaboard v0.5

- Plug the 2-pin female connector onto the 2 way male header labelled "CC".

"CC" stands for Constant Current, it is the best way to reliably drive the LED.

## Step 5: Mount the electronics drawer

- Slide the electronics drawer into the microscope base making sure not to pinch any wires.
- Hold the electronics drawer in place with two M3x10 cap head screws which should screw into the two nuts.

## Step 6: Wiring Complete

To power up your microscope you will need a power supply. The microscope is powered through the Sangaboard v0.5 UCB-C socket.

Previous page