TeensyView Hookup Guide

Pages
Contributors: MTaylor
Favorited Favorite 5

Hardware Overview and Assembly

The hardware comes as a headerless PCB with OLED soldered on. There are jumpers on one side to configure how the OLED communicates with the attached Teensy. You'll need to set the jumpers, solder the TeensyView to the Teensy or to headers, then affix the OLED.

This section instructs the use of male headers on the TeensyView, with stackable headers on the Teensy.

Teensy View, Teensy, headers

In addition to the kit (TeensyView and foam square), you'll need a single Straight Break Away Header and stackable Teensy Header Kit in order to follow along with this guide.

Careful! The flex cable is fragile before the OLED is mounted. Avoid unnecessary stress, and avoid letting the OLED flop around during assembly.
  1. The TeensyView has two available connections for the OLED communication lines, to allow compatibility with various boards. One side (factory configuration/'Standard') is all connected by copper jumpers, with the 'Alternate' side available to reconfigure the connections.

    Use this table to determine which pins to use for the TeensyView, or leave them set by copper to the standard pins if no other resources are in use.

    Jumper Default Copper Jumpers
    (Standard)
    Audio Board Compatible
    (Alternate)
    Prop Shield Compatible
    RST 15 2 15 (Std.)
    D/C 5 21 21 (Alt.)
    CS 10 20 20 (Alt.)
    SCLK 13 14 13 (Std.)
    DATA 11 7 11 (Std.)
  2. If necessary, carefully cut the copper jumper on the board and apply solder to reroute the signal.

    Cutting Traces

    Cutting the copper traces: Make two cuts, one on each end of the copper link, then remove the excess copper with a slight twist of the knife. Solder connections are not shown here, but if you remove the copper link you will need to apply a solder jump between two of the pads of the jumper!

  3. Separate two 14-pin lengths of straight male header and fit them into the breadboard, then set the PCB onto them with the jumpers facing up and the LCD facing down. The LCD will fold over and cover the jumpers.

    Using a Breadboard to Help Solder

    Notice that the OLED is soldered to the back side and folds around the edge of the PCB, covering the selection jumpers. This is so the jumpers can still be accessed if the TeensyView is more permanently attached to a Teensy.

  4. Next, solder the headers onto the TeensyView using a flux core solder. The silkscreen rings denote pins that are electrically connected to the TeensyView circuitry. You can choose to either solder all pins, for better mechanical stability, or just the connected pins, if you foresee removal of the pins in the future. This board is assumed to be the top of a stack and may not need all of the Teensy's signals passing through.

    Soldering Pins with Rings

    Attaching the straight headers to the Teensy using a breadboard.

  5. Now that the TeensyView has headers, it can be used to help keep the Teensy Stackable Headers in place for assembly. Put the 6 long and two 13 long headers onto the TeensyView, then place the Teensy on and apply solder.

    Stacking Teensy View on Top of Teensy

    Using the TeensyView as a soldering jig

    Solder Stackable Headers on Teensy Using the TeensyView

    Attaching the Teensy Header Kit

  6. If you've decided to only solder the electrically connected pins, now's a good time to pull the spare pins. Hold the TeensyView firmly with one hand and give a steady pull with pliers or wire strippers. To double check, there should only be pins left in the holes with silkscreen rings.

    Pulling Pins from Header

    Pulling the pins

  7. Apply the screen using the double-sided foam. It's best to start with little pieces until you're sure of the configuration you would like. Visualize how the foam will be divided or draw on it with a pen. Then use your scissors to cut off strips, and subdivide from there.

    Dividing Foam Tape

    A way to divide the square of foam tape

    A couple small pieces go a long way to keep it in place, while a large piece can keep it there on a more permanent basis. Reasons to remove the screen may be to adjust left-right justification (to match a chassis cutout, for example) or to change the configuration of the pins. It can be tempting to just start with a large piece, but don't! The foam is extremely grippy once it's set.

    Cut Small Pieces To Hold Screen Down Large Piece to Hold the Screen Down as a More Permanent Solution
    Two small pieces keep the screen from flopping around. A large piece can be used as a permanent solution.

    Carefully Setting Down Class

    Carefully set down the glass.

  8. Oh no! You've put your screen down too early and need to adjust something! Don't worry, but don't just pry up the glass either. Use a thin, blunt tool to push the meat of the foam out from the side.

    Removing the Screen Carefully by Pusshing Foam Tape with a Thin Blunt Tool

    Breaking the foam structure without applying force to the OLED glass.

  9. Attach the TeensyView and USB cable. Then run the examples. The TeensyView has a few pins (labeled 0, 13, 14, 3V and GND) to help make sure it's oriented the right way. Here's what the final stack should look like on the Teensy 3.2 and Teensy 3.6. As you can see, the bend of the OLED's flex cable is on the side of the Teensy's USB connector.

Completed Assembly and Powered Up
TeensyView on Teensy 3.2 TeensyView on Teensy 3.6