Preparing the POP Kiosk Hardware

From CLIO

Revision as of 14:29, 21 April 2022 by Metaphoraccoon (talk | contribs)

Add a photo.png

Prepare the Touchscreen

Remove the touchscreen from the box and place on the protective foam, on top of the gray electrostatic discharge bag.  We recommend that you keep the film screen protector on the display to prevent scratching.  Remove all additional parts from the box before setting it aside.  Place the touchscreen display so that the ribbon cable connecting the display to the controller board is facing away from you.

First, we will be installing the four color-coded cables that are provided with the touchscreen. These are used by the display to receive power and touch input data from the Raspberry Pi computer.  We will start by connecting them to the proper pins on the display’s circuit board. These power cables are connected to the five pins on the lower right corner.  

There are five pins, but there are only four cables.  This is because, starting from the right side, we will be skipping the second pin.  We will be connecting the red cable to the pin labeled “5V”, which will be used to power the display.  The green cable connects to the pin labeled “SDA”, which is used to transmit touch input data.  The yellow cable connects to the pin labeled “SCL”, which is used to keep the display and computer in sync.  Finally, the black cable will connect to the pin labeled “GND”, which will act as the ground.

Once these cables are connected, it is time to connect the cable that will provide the touchscreen with the picture that it will display on the screen.  This is transmitted using the white ribbon cable, which will connect to the Serial Data Interface (SDI) port on the Raspberry Pi computer.  The SDI port is located on the center right side of the touchscreen controller board, directly above the pin cables we just connected.  It is labeled as “RPI-DISPLAY”.  

We will first need to open the port so it can accept the ribbon cable.  On the top and bottom of the light brown port, there are two dark brown tabs.  Using gentle finger pressure, pull them away from the controller board so that tabs hang down slightly.  The tabs will only move about 2mm in total.

Once the port is open, take the ribbon cable to place it beside the port, with the metallic pins facing up.  It does not matter which end of the ribbon cable you use, as long as the pins are facing up when placed beside the port.

Gently push the ribbon cable into the port, until the metallic pins are barely visible and the cable just starts to meet resistance.  Once the cable is in, we will use gentle finger pressure to close the DSI port again by pushing the dark brown tabs back towards the touchscreen controller board.

Prepare the Raspberry Pi

Now that we have the touchscreen prepared, we can start to focus on getting the Raspberry Pi mounted.  The display comes with four stand-off screws pre-installed, which we can use to attach our Raspberry Pi.  Before we do that, however, we should install the heatsinks to our Raspberry Pi.  They can be purchased separately or as part of a Raspberry Pi bundle, through resellers like Canakit or Adafruit.

Each heatsink has small adhesive pads on its backside that can be used to attach it directly to the Raspberry Pi computer.  We have two heatsinks that we will use for the primary processor and the networking chip.  To apply them, simply remove the protective backing on the adhesive and place directly on the chip.  

The larger heatsink will be applied to the primary processor, which is the polished metal chip in the center of the board.  Do not place the heatsink on the metal chip with the Raspberry Pi logo on it, because covering it can decrease wireless network connectivity.  The second smaller heatsink is placed on the networking chip, which is located near the USB ports.

Once the heatsinks are installed, we can now mount the Raspberry Pi computer onto the touchscreen.  Place the Raspberry Pi on top of the touchscreen controller board so that the holes on the Raspberry Pi board line up with the four stand-off screws.  Position the Raspberry Pi so that the DSI port is on the same side as the ribbon cable that is sticking out of the touchscreen controller board.  Use the four provided screws to attach the Raspberry Pi.

On the DSI port, you will find a small red-orange sticker, and we must remove it before using the port.  In a similar fashion to the touchscreen controller board, we will need to open the DSI port before we can insert the ribbon cable.  Using light finger pressure, pull the dark brown tab up slightly and insert the ribbon cable.  Once inserted, you can close the port again.

The final step will be connecting the four color-coded pins to the Raspberry Pi GPIO 30-pin port, which can be found along the long side of the computer.

We will be connecting the same pins on the touchscreen controller and Raspberry Pi GPIO port.  The red “5V” cable can be connected to pin 4 (“5V power”), and will provide power to the display.  The green “SDA” cable can be connected to pin 3 (“GPIO 2 SDA”), and will transmit touch input data.  The yellow “SCL” cable can be connected to pin 5 (“GPIO 3 SCL”), and will keep the computer and display in sync.  The black “GND” cable will connect to pin 6 (“Ground”), and will act as the ground.

After the cables are all connected, you can place the entire construction into the gray electrostatic discharge bag.  Using the protective foam on the bottom of the touchscreen display box, you can safely store the electronics until they are needed to construct a kiosk.