Connect Mothbeams to Mainboard

The Mothbeams are made to pop right onto the mainboard of the Mothbox! There’s some things you can adjust first though! image

Configure Mothbeams

Power

The mothbeams allow you to set how powerful they are with little switches. The more switches you turn on, the brighter they will be, but they will also run through your battery faster! The first two switches add 70mA for each switch. The second two switches add 150mA for each switch.

Remove the protective sticker over the switches. image

Switch your desired switches (I usually use a tool or bit of wire to flip the tiny switches) image

I usually switch the first two switches (+140mA), and this is QUITE BRIGHT. You probably want to switch at least the first 70mA switch on, but I wouldn’t reccomend 3+ switches unless you really really need it to be exceptionally bright! (Or power and heat are not a problem for your setup).

UV and Visible

You can also decide which mothbeams to connect. The board can support up to 3. These can all be UV, all Visible, or a mixture. You can control each of the 3 Attractors individually too, so this can be used for experiments between different wavelengths of light!

(Optional) Reinforce Connector

Because of how metal PCBs are designed, the connectors cannot go all the way through the board. Instead you can see that the connector part is just soldered to the surface. This means it can be a bit weaker mechanically. If you are just connecting your mothbeam to your mainboard, you are probably fine as these parts will not move around much. But if you are using them for something else (like a standalone mothbeam), you might want to reinforce the connector with just a little hot glue. image

Connect Mothbeams

Now that your Mothbeam is setup, you can just pop them on! Connect it to the top layer of the right angle pins sticking out (the bottom pins are just for spacing and aren’t connected to anything). image

Lock in with a Zip Nut

Now for each mothbeam, you will need two thin cable ties. image Push one through the hole on the mothbeam and pull it all the way through. image

now add the second zip tie to the back that will lock it in place! This will keep it from going anywhere. image Trim the dangly ends off the ties, and repeat for the other mothbeams! image

Now all your Mothbeams should be connected! image

Connect Camera to Mainboard

Prepare Camera

The Arducam comes in a little box with one WHITE cable and one BROWN cable. image

The white cable is, unfortunately, usually the one attached, and it is for older computers. We will swap it for the brown one!

First, you can take the little plastic protector off the front of the camera: image image

Next, use the ends of a small screwdriver or tweezers to slide the camera cable lock. You just need to budge it a little bit. image The white cable should slide free easily now!

Now you will connect the brown cable. Make sure the black side of the end is facing the back of the camera like this:

image

Slide the cable in firmly, and then use your tool to snugly lock down the camera connector lock. Sometimes you need to press one side and then the other. image Give the cable a light tug to make sure it is securely connected.

Camera to Board

With its brown cable attached, position the camera on the front of the board so the cable lines up with the slot for it. image Note how the holes line up: image

Position the glare blocker over the camera and again make sure all the holes line up.

image

Now you will add some thin cable ties to two holes in the glare blocker. image

Make them go through the mainboard, out the back, and back to the front of the mainboard. image image

Now get two more cable ties and secure the camera module down. image

Tighten it up, and trim the dangly bits. image

Connect the Pi

SD

First put your SD card (Flashed with the Mothbox software on it) into your Pi. image

Connect Camera

Lift the connect flap on CAM port 0 on the Pi image

I use a fingernail for this. image

The black side of the brown camera cable needs to face the side of the PI that the SD card is in. image

Slide the cable in, and firmly press down the camera cable closer to make a snug connection.

image

Connect Pi to Mainboard

We made our own fun connection to hold the raspberry pi. It’s a bit novel, but it pops in and holds it securely.

Line up your Pi pins with the socket like this: image

You will need to tilt the Pi at a slight angle as you first press it in. Then it will straighten out and slide right into its slot. image image

Congratulate Yourself! You got most of your Mothbox’s electronics connected!