User Tools

Site Tools


oak:tutorials:tft

This is an old revision of the document!


THIS TUTORIAL HAS NOT YET BEEN REVIEWED, PLEASE DO NOT USE UNTIL IT HAS

Oak TFT Shield Kit Tutorial

Product Description:

oak-tft-shield-1.jpg oak-tft-shield-4.jpg

The Oak TFT Shield Kit allows you to build a shield that adds a 2.2“ color TFT LCD to the Oak. The shield works with the easy to use Adafruit GFX library. Use it to show project status, your favorite Twitter feed, or even turn it into an alarm clock!

This is an unassembled kit and requires basic soldering. This is designed for use with the Digistump Oak development board, which is not included.

Parts:

Part Quantity Identification
Oak TFT Shield PCB1
TFT Display1
47 ohm 1/4 W resistor 1% or 5%1 Yellow - Violet - Black
1×40 pin male 0.1” pitch header 21 pins worth

Resistor Values: For more information on how to identify the value of the resistors, we recommend these sites: A nice simple resistor calculator: http://www.ealnet.com/m-eal/resistor/resistor.htm A comprehensive article on identification: http://www.diyaudioandvideo.com/Electronics/Color/

Soldering: If you are new to soldering we recommend the following tutorials: Soldering Basics (http://www.sparkfun.com/tutorials/106) and Soldering Crash Course from the folks at Sparkfun (http://www.sparkfun.com/tutorials/354). How to solder from the Curious Inventor: http://store.curiousinventor.com/guides/How_to_Solder

Adafruit has this excellent guide that starts with the tools needed and then shows detailed pictures, including some of the common problems that beginners experience (http://learn.adafruit.com/adafruit-guide-excellent-soldering)

We assume for these assembly instructions that you know the basics of thru-hole soldering. If you don't check out the links above, these boards are very easy to solder - we promise!

Assembly:

Empty kit bag (or if using a raw PCB, acquire parts) and verify contents.

oak-tft-shield-1.jpg

Solder the leads of the resistor and clip off the excess.

oak-tft-shield-2.jpg

Cut or Snap a length of two male headers 9 pins long and one 3 pins long. Insert into corresponding positions (on the bottom of the board) and solder each pin. Be sure to leave the row of holes on the edge of the board open where there are two sets of 9 holes. This is where the TFT screen is soldered.

Tip: Inserting the headers into a breadboard and then placing the board on top can make this process easier.

Note: If you are using stackable headers, use them here instead of the standard male headers.

oak-tft-shield-3.jpg

The TFT screen should have headers pre-soldered into place. Insert into the open row of holes on the right edge of the shield and solder each pin from the bottom.

Note: For a less permanent solution, use a row of female headers so you can remove the TFT screen as needed.

oak-tft-shield-4.jpg

Your Oak TFT shield is complete!

Code:

See Examples→Adafruit_ILI9341→graphicstest - NOTE: This uses a modified version of the Adafruit_ILI9341 library (that is still compatible with other platforms), ensure that the example references the Oak otherwise you have a conflicting library installed.

SD Card:

To use the SD Card slot use wire to connect the corresponding pins on the LCD to the PCB.

oak/tutorials/tft.1454906788.txt.gz · Last modified: 2016/02/07 20:46 by digistump