v1.3 6. Solar Board - alanbjohnston/CubeSatSim GitHub Wiki

Solar PCB v0.6

IMG_3187

Here is the Solar PCB v0.6:

Here is the schematic:

Start with the blank PCB, shown here top on left with AMSAT logo, bottom on the left:

IMG_3129

The diodes D1 - D6 and resistors R3 and R4 are installed vertically:

IMG_3130

The polarity of this diode is marked by a white band, which is on the left side in this photo, which matches the schematic symbol on the PCB for D1:

IMG_3234

Here is the polarity of the diodes:

IMG_3141

They are installed on the PCB top then soldered on the PCB bottom. Solder one lead on each diode then flip the board over and double check polarity, insertion, and straightness before flipping board back over and soldering the other lead:

IMG_3132

Trim the leads after soldering:

IMG_3137

Do the same for the resistors, but resistors do not have a polarity to worry about.

On the bottom, install the two 1x6 female headers for the INA219 boards, and the 2x20 GPIO female header. Note you can skip the 1x6 female headers if you want to directly solder the INA219 boards to the PCB:

IMG_3145

Use blue putty to hold the 1x6 female headers in place, straight and vertical:

IMG_3150

Flip the PCB to the top and solder. Solder one pin on each header, then flip board over and double check insertion and straightness.

IMG_3151

Here's how it looks with all the components installed on the bottom of the PCB:

IMG_3152

Next, flip the board and install the JST connectors on the top of the PCB. Some connectors click in place. If yours don't, you should add a drop of superglue gel or other adhesive to secure it to the PCB so it won't pop out when you are unplugging solar panels:

IMG_3155

Note that these connectors have a polarity. Make sure the slot in the connector faces to the outside of the PCB:

IMG_3240

Here's how the board looks with them all installed:

IMG_3157

Flip the board over and solder one pin on each one then flip back and check insertion, orientation, and straightness.

Next install the four 1x6 female headers and the 1x6 male header used for testing the INA219 boards

IMG_3160

Use blue putty to hold them in place and, as always, only solder one pin on each board before checking for straightness and insertion:

IMG_3165

Here's how they look installed:

IMG_3162

Next, install the Qwiic connector.

IMG_3168

This is optional, but very useful if you ever want to add additional I2C sensors for the Raspberry Pi Zero. First you will install the 1x4 male pin header with the long pins through the PCB. Solder them on the bottom:

IMG_3169

Then insert the red Qwiic board, checking that you have it in the right way by checking the pin labels. Make sure it is horizontal and straight before soldering on top:

IMG_3170

Here's how the top of the PCB looks:

IMG_3171

Before soldering your INA219 boards, I recommend testing them first. You can do this by plugging your Pi Zero with the SD card which has had the software installed. You will need to power the Pi Zero by connecting a power cable to one of the micro USB connectors. When the Pi boots up, login to the Pi and type the command:

CubeSatSim/telem

You will see this output:

Now, take one of your INA219 boards and plug it in as shown here:

IMG_3175

While holding it slightly tilted so the pins make contact, type the command again CubeSatSim/telem and now you should see this output:

Repeat for all of your INA219s including the one for the Battery board. If they all test OK, continue soldering them.

Power down and unplug the Pi Zero and flip the PCB to the bottom. Solder the two INA219 boards to their pin headers for the bottom:

IMG_3154

First, insert the 1x6 male pin headers into the female sockets, long side of the pins into the socket. If you aren't using the female sockets, just insert the pins into the PCB.

IMG_3180

Place the INA219 board on top and support using blue putty so it is level and straight.

IMG_3181

Then solder the pins:

IMG_3182

After they are installed, you need to set the address jumpers A0 and A1 on the INA219 boards. Only the right one needs to be set in this case. Add a small blob of solder on the A0 jumper as shown here:

IMG_3183

Here they are installed with addresses set:

IMG_3186

Now flip the PCB to the top and do the same for the four INA219s on the top:

IMG_3166

First insert the 1x6 pin headers into the female sockets:

IMG_3172

Then plug in the boards and support so they are horizontal and straight:

IMG_3173

Then solder the pins on top:

IMG_3176

The addresses need to be set.

Here's the complete board:

IMG_3187

The next step is Step 8. Board Stack