Before we assemble the touch screen, we need to make sure that our Raspberry Pi has the latest version of Raspbian, and that all the software is up to date. Hook up your Pi to a monitor, plug in your keyboard and mouse and boot your Pi into Raspbian. Once booted up, open up LX Terminal and type the following commands, hitting enter after each one:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
After we have updated the Pi, shut it down, unplug everything for the Pi and put it to one side.
Building the touch screen
As we will be working on the back of the screen, and the screen will be facing a table, we recommend you leave the protective film on until assembly is complete.
Here is everything that you should have, out of the box:
Start by connecting the large ribbon cable from the screen to the connector on the underside of the controller board. You will need to carefully undo the clamp before inserting the cable. Make sure to press the clamp in to secure the ribbon in place.
Now turn the controller board over, and connect the small ribbon cable from the screen to the board. Same principle as above, undo the clamp, insert cable, press clamp closed to secure ribbon in place.
Using the 4 standoffs provided, secure the controller board to the screen
Using the white ribbon cable supplied, connect one end to the controller board, making sure that this end has the blue tab facing down, towards the board (the opposite end, the end not being attached to the controller board, should have the blue tab facing up, so you can see it)
Now connect the 4 jumper wires that were supplied to the controller board.
Red – 5V
Black – GND
Green – SDA
Yellow – SCL
Mount the raspberry pi on top of the 4 standoffs
Connect the white ribbon to the Raspberry Pi’s Display port
Now connect the jumper wires to the Pi.
Red – Pin 2
Black – Pin 6
Green – Pin 3
Yellow – Pin 5
Now it’s time to power it all. Plug a good 2A power supply into the controller board (the controller board will power your Pi via the jumper wires) and away you go!