v1.3 8. Board Stack - alanbjohnston/CubeSatSim GitHub Wiki

The four boards in the board stack are shown here:

IMG_3195 2

You will need these tools:

  • Safety glasses (to protect eyes while soldering or trimming leads)
  • Soldering iron and solder (I use lead-free solder, but leaded solder is easier to work with)
  • Small Philips screwdriver
  • Small flathead screwdriver
  • Needle nose pliers (to bend leads and hold parts)
  • Side cutters (to trim leads)
  • Drill and drill bits, sandpaper or emery cloth (if you are making the dipole or monopole antenna)

Useful to have:

  • Liquid flux to solder SMA connector

Video

Here is a video of the antenna install and board stack:

Checklist

The BOM has a sheet "By Steps" which lists the parts needed for each step in order. http://cubesatsim.org/bom If you have a Google account, you can make a copy of this spreadsheet ("File" then "Make a Copy") and check off each part as you install it.

8.1 Antenna Install

Before we build the board stack, we need to install our antenna. You can build a SMA antenna (left), a tape measure dipole (center), or a tape measure monopole (right) as shown here:

CubeSatSimu 1U Frame

The images in this section show the Main V1 board, but the instructions still apply generally to attaching antennas to the v1.3 STEM Payload board. However, for the V2, there will be two SMA antennas.

SMA Antenna

To connect antennas using SMA connectors, you just need to solder two SMA connectors onto the top and bottom of the STEM Payload board.

This part takes a lot of heat, so make sure your iron is set to high heat. You might also want to apply liquid flux to the pins to help solder it.

IMG_3375

Which gives this:

IMG_3376

IMG_3374

IMG_3377

You will connect SMA coax cable and a rubber duck antenna to each SMA connector when you put the frame together. Note that there are two lengths of SMA coax cable that will work, but the shorter (90mm) is more convenient.

IMG_3378

Tape Measure Dipole Antenna

Alternatively, you can make a tape measure dipole or monopole (vertical) using these parts:

  • 1/4" Tape measure (3/8" and larger ones work too)

  • Two metal screws, nylon will not make electrical contact

  • Two nuts, nylon or metal since it is just a spacer

Extend all the tape out of the measure before cutting or the remaining tape will retract inside and you will need to break open the case. Be careful of sharp edges, and put electrical tape over the cut edges immediately.

SMA Antenna

For the dipole antenna, you will need two 1/4 wavelength lengths of tape measure, each with a hole drilled in it. Drilling the hole can be tricky, so drill the hole first, then cut the tape to length. Also, using a punch or small screwdriver to dent the tape in the middle can help prevent the drill from moving around. Also, start with the smallest drill bit you have, ending up with a 3/32" drill bit. It doesn't matter if the hole is slightly off center. Using sand paper or emery cloth, remove the paint from the tape around the hole on the bottom (no numbers) side of the tape measure. Cut to length after you have successfully made the holes, approximately 6.5 inches:

SMA Antenna

Screw the nut onto the screw, the put the screw through the hole in one of the tape lengths. The screw will cut threads into the center hole of the antenna connector as shown. It can be easier to start the screw in the hole without the tape measure at first to begin cutting the threads.

IMG_3372

IMG_3370

The two tape measure antennas will go through the gap between the solar panels in the frame.

antennas

Tape Measure Monopole Antenna

To build the monopole, you need to cut two lengths of tape measure to the same length as the dipole, approximately 6.5 inches long. You need to bend the tape measure next to the hole to a right angle, but don't fold it as it will break off

Screw the screw into the board so the monopole antenna goes vertical. There will be a slot in the top frame piece for the tape measure antennas to stick out.

8.2 Stacking the Boards

In order to stack the boards, we will need a set of 2.5mm brass or nylon spacers and two GPIO stacking headers.

Standoffs are described by the thread size (M2.5 in this case), length of the standoff (6, 10, and 15mm), and length of the standoff threads if any (+6mm). Also M2.5 screws and nuts are used. Here are the standoff pieces needed for the three board stack along with their names in their correct order and orientation:

standoffs

In total, you will need 8x M2.5 screws, 2x M2.5 nuts, 2x 6+6mm, 8x 10+6mm, 8x 15+6mm, 2x 10mm, 2x 15mm which can be found in a standoff kit such as this one: https://www.amazon.com/gp/product/B075K3QBMX/

You will also need two stacking GPIO headers to give extra spacing between the boards. They are identical to the ones soldered onto the Battery and STEM Payload boards.

Start with the Battery board. Make four sets of a 10+6mm and a 15+6mm for on top of the Battery board. Under the board, you will need two 10mm and two nuts:

IMG_3280

The 10mm go on the holes next to the GPIO header (+X side) while the nuts go on the holes furthest from the GPIO header (-X side):

IMG_3275

Here's how the Battery board looks from the bottom:

IMG_3276

Next, plug the Raspberry Pi into the GPIO header on the bottom of the Battery board:

IMG_3271

Here's how it looks from the side facing the GPIO header (+X side):

IMG_3274

Next, you will need two 6+6mm and two 10mm. The 6+6mm go into the Pi Zero while the 10mm go into the Battery Board as shown:

IMG_3269

Here's how it looks from the bottom:

IMG_3270

The stack of the Battery board and the Pi Zero should sit level when placed on a flat surface:

IMG_3266

Install a stacking GPIO header, as shown in the photo above. Here's how it looks from the top:

IMG_3268

Next, insert the STEM Payload board on top. With the extra stacking GPIO header, the pins will make good contact.

IMG_3263

Install another four sets of 10+6mm and 15+6mm standoffs on top of the STEM Payload board:

IMG_3261

Install another stacking GPIO header, as shown in the previous photo. Here's how it looks from the top:

IMG_3262

Next, install the Solar board on top of the stack:

IMG_3259

Secure the board with four screws. Here's how it looks from the top:

The board stack is now complete. Here's how it looks from three sides:

IMG_3256 IMG_3257 IMG_3258

You can test the CubeSatSim by removing the RBF pin. Unless the batteries are fully depleted (NiMH batteries normally come charged up), the green light on the Pi will flicker and the CubeSatSim will boot up and start running.

The green LED on the Main Board will be lit up after booting is complete and the software is running. The blue LED on the Main Board will be lit up when the CubeSatSim is transmitting. The red LED on the Main Board will be lit up when the battery is being charged by either the micro USB power supply.

The pushbutton on the Main Board can be used to reboot or shutdown the CubeSatSim. Pressing and releasing the pushbutton will cause the green LED to turn off and the Pi to reboot. Pressing and holding the pushbutton until the green LED flashes three times slowly then releasing will shutdown the Pi. Once it has shutdown, it is safe to plug the RBF pin back in. Pressing the pushbutton with the RBF pin inserted will not turn on the Pi.

8.3 Installing the Board Stack into the Frame

The Board Stack is now ready to go into the Frame.

Video

Here is a video of the frame assembly:

The 1U frame of the CubeSatSim has solar panels on each face, which are labeled by the Cartesian axes X, Y, and Z. For the sides that face in the direction of the axes (see https://en.wikipedia.org/wiki/Cartesian_coordinate_system#/media/File:Coord_system_CA_0.svg), they are labeled +X, +Y, and +Z. For the sides that face in the opposite direction, they are labeled -X, -Y, and -Z. The CubeSat Design Specification (CDS) standard also has drawings showing the X, Y, and Z sides of a 1U CubeSat https://www.cubesat.org/cds-announcement. Here is a figure from that document:

X Y Z Coordinates

On the CubeSatSim, the +Z side is the top of the CubeSatSim, the +X side has the pushbutton, micro USB connector, and the LEDs. The -X side has the Camera. The STEM Payload printed circuit board has the axes labeled on it as well.

In the Step 6. Solar Panels and Frame you soldered the JST connectors to the solar panels, did a test fit of the frame parts, and mounted the solar panels on the top (+Z), bottom (-Z), and sides (+X and -X).

To build the frame, we will now attach the board stack to the bottom frame, then attach the two sides, then the top.

IMG_3382

Four screws mount the bottom of the board stack to the frame bottom. In this photo, the LEDs and other connectors are facing to the left. The Pi Camera ribbon cable is routed as shown here:

IMG_3384 IMG_3386

Here's how it looks from the +X side, the side with the LEDs and connectors.

IMG_3392

The Pi Camera should face outward on the -X side opposite the LEDs and switches as shown here:

IMG_3393

The solar panel JST connectors plug into the Solar board on the top of the stack. Start by plugging in the -Z solar panel connector from the bottom.

(Not shown)

If you are using the SMA antennas, screw the SMA coax cables into the STEM Payload board:

(Not shown)

The first frame side to be mounted is the -X side which has the Pi Camera mount. We will mount the Camera using two nylon screws and two nylon nuts. You will have to drill out the two holes in the frame to mount the Camera

IMG_3396

Here's how the Camera looks from inside the frame when it is mounted. The holes in the Pi Camera are slightly small for the plastic screws so you will need to apply pressure as you screw them in. The nuts aren't really needed but they can be used to secure the Camera:

IMG_3397

Carefully stand up the frame, being careful not to stress the Pi Camera ribbon cable and snap into position on the bottom frame. Here's how it looks from the outside:

IMG_3400

Secure the -X frame with two nylon screws and two nuts to the - Z bottom frame.

IMG_3404

Here is how it looks from the the -X side:

IMG_3406

Here is how it looks from the top. Plug in the -X solar panel cable.

IMG_3407

The next frame side to be mounted is the +X side. We will use the frame without the camera mount and two nylon screws and two nylon nuts.

IMG_3408

On this side with the LEDs and button, screw the SMA coax cable into the SMA connector on the STEM Payload board.

IMG_3409

If you are using the tape measure dipole antenna, the tape measure will come out in the gap between the solar panels.

IMG_3412

This photo shows the SMA coax cables which were attached earlier:

IMG_3413

Next, we will connect the top frame +Z, but we won't secure it with screws until all the solar panels have been plugged in:

IMG_3415

If you are using the SMA antennas, remove the nuts from the coax and insert the coax through the frame, then put the nut on the other side to secure the coax.

IMG_3418

Then, carefully bend the coax so that you can put the top frame in place

IMG_3419

The two SMA antennas can now be screwed on:

IMG_3421

Now we will attach the -Y solar panels:

IMG_3422

Start by plugging the JST cables in:

IMG_3423

Then attach them to the frame:

IMG_3424

Now do the same thing for the +Y solar panels. First connect the JST connectors to the board:

IMG_3425

Then attach them:

IMG_3426

Now you can secure the top frame using four plastic screws and four nuts

(Not shown)

Here's how it looks:

IMG_3428

Your CubeSatSim is complete and ready for Step 9. Final Testing

IMG_3428 2