RETIRED - Pi Wedge B+ Hookup Guide

This Tutorial is Retired!

The SparkFun Pi Wedge B+ kit has been retired. If you are still looking for a way to connect to the Raspberry Pi's 40-pin header, there is a preassembled 40-pin Pi Wedge version available.

View the updated tutorial: Preassembled 40-pin Pi Wedge Hookup Guide

Pages
Contributors: Byron J.
Favorited Favorite 1

Assembly

The Pi Wedge B+ comes to you as loose parts, which you need to assemble before you can use it. The following steps will guide you through that process.

Kit Contents

Let's start by reviewing the contents of the Pi Wedge B+ kit.

Loose Parts

Pi Wedge parts

You should have the following parts.

  • Pi Wedge B+ PCB
  • 40-pin shrouded header
  • Two 17-pin straight headers
  • Two 10 uF 25V electrolytic capacitors
  • 6-pin straight header
  • Ribbon cable

Instructions

Assembly of the Pi Wedge B+ should be mostly obvious and straightforward. One thing to notice is that components are soldered to both sides of the board. The headers that interface with the breadboard are on the bottom of the board, soldered from the top. The other components go on the top, and are soldered from the bottom.

Pin Alignment

To keep the breadboard pins properly spaced and aligned while you solder, you can use your breadboard as an assembly jig. Simply insert the 17-pin headers in the breadboard...

Start with pins

Pins in breadboard

Then place the PCB over them, and solder it in place. Notice that the PCB is placed over the pins so that the signal labels are facing up.

PCB Overlaid

Add the PCB

Be careful not to overheat and melt the breadboard while soldering the pins. Zig-zagging between the rows will help distribute the heat. Also, somewhat counter-intuitively, using a hotter setting on your soldering iron will allow you to work more quickly, minimizing the risk of melting the breadboard.

Shrouded Header

The shrouded header has a notch that keeps the ribbon cable properly oriented. The notch should be lined up with the corresponding rectangle in the PCB silkscreen.

Shrouded header alignment

Header Alignment

Capacitors

The electrolytic capacitors are polarized. The body has a band of "-" signs near the negative lead, which should be inserted into the PCB hole marked with the - sign. The negative lead is also shorter than the positive lead.

Electrolytic Capacitor Polarity

Capacitor Polarity

Serial Adapter Connector

The 6-pin header is soldered onto the PCB across from the capacitors.

alt text

Serial Port Connector

If you want a lower profile assembly, you can substitute a right-angle header for the straight pins in the kit.

Connection

With the wedge soldered together, you're ready to attach it to your Pi B+, and test it out.

The ribbon cable is polarized. On the Pi Wedge B+, the tooth on the cable will interface with the notch in the shrouded header.

Ribbon cable alignment

The header on the Pi B+ itself doesn't have anything to help guarantee the alignment. You'll need to take care that it gets connected properly. Pin 1 on the Pi is marked with a dog-eared corner on the silkscreened rectangle. The ribbon cable connector is embossed with (a barely visible) small triangle that marks pin 1. The first pin is also coded on the wire, such as the red markings in the photo below (though it may also be another color, such as black or dark blue).

J8 Alignment

Proper pin-1 orientation

The FTDI connector also needs to be aligned correctly. Be sure to match up the "grn" and "blk" markings on both boards.

FTDI Bridge Alignment

Proper FTDI-basic orientation

In the next section, we'll explore how the signals from the Pi are mapped to the Wedge.