Introduction: Raspberry Pi Touchscreen Setup
For this project you will need the following components:
Raspberry Pi 7" Touchscreen Display
- DSI Ribbon cable
- 4 x Jumper wires
- 4 x Screws (used to mount Pi board to the Adapter board)
Step 1: Setting Up the Touchscreen.
Flip over the screen and you will find the Adapter board already attached to the back of the screen.
Open the ribbon housing by slightly sliding out the black brackets on either side of the housing at the same time. (May need to use fingernails.)
Insert the DSI Ribbon blue side down.
Step 2: Connect Jumper Wires.
The kit includes 4 jumper wires. Insert the wires into pins correct pins on the board.
(You can use different colors than what I chose, however the color will need to match up with the correct pin on the Pi board in later steps.)
- GND (Black)
- 5V (Red)
- SCL (Yellow)
- SDA (Green)
Step 3: Install a Keyboard to Your Pi.
Before attaching the Pi to the Adapter board you will need to configure it for touchscreen use.
Hook up your Pi to a keyboard and monitor.
Open Terminal and type:
sudo apt-get install matchbox-keyboard
Reboot your pi:
sudo shutdown -r now
The keyboard can be found by clicking the Menu -> Accessories-> Keyboard.
If you do not see the Keyboard in the Accessories menu after reboot, or if you would like to make a Desktop icon,
This opens GNU nano:
In Terminal: (Command that makes the shortcut icon executable.)
chmod +x keyboard.sh
Step 4: Adjust Screen for Rotation.
When I first tested the touchscreen in the display case, it appeared upside down.
Follow these steps to flip the screen.
sudo nano /boot/config.txt
Ctrl + X
Shutdown Pi and remove all plug-ins.
Step 5: Mount Pi to the Adapter Board.
Now you are ready to attach the Pi.
Align the Pi so the ribbon ports are stacked on the same side.
Secure the boards together with the 4 screws included.
Slide the ribbon brackets upward on the Pi to open the housing.
Insert the ribbon and slide the ribbon brackets back down to tighten.
Attach wires to the Pi board.
- GND (Black) to the third pin down on the right hand side,
- 5V (Red) to the second pin down on the right,
- SCL (Yellow) to the third pin down on the left hand side,
- SDA (Green) to the second pin down on the left hand side.
Step 6: Enclosure Assembly
- Lay white frame face down onto back of screen.
- Align the back of the enclosure with the correct openings for the Pi board.
- Secure together with the 4 screws included.
Step 7: Power Up!
Plug in your mini USB to a power outlet or an external battery pack.
Voila! Your touchscreen is ready.
Question 2 years ago
Hi, can I connect the touchscreen on a stack of RPi4 and other boards? I want to get a screen to interact with the raspberry pi and the relay boards (HATs) stacked on top (4 in total). Thanks
Question 2 years ago on Introduction
hello thank for this instructable, i have a question:
can i make it with a raspberry pi 4 (B) , its the same step?
Reply 2 years ago
We are not sure yet - we have not tried that yet. When we do - we will update the Instructable if required.
2 years ago
On the Raspberry Pi 3 and later, there's no need to connect the I2C pins to the display as they're already included on the flatflex cable.
3 years ago on Step 4
Thanks for this! The instructions in the box didn't mention the jumper leads to power the device from the Pi, and these are clearer than the Pi Hut's instructions (https://thepihut.com/blogs/raspberry-pi-tutorials/...
One issue: in my touchscreen case, after updating Debian, my screen was upside-down! Here's the fix for that:
Between the two of you, I have everything working, but your power-connection guide was a lifesaver.
Question 4 years ago
I have a brand new Pi3B+ and 7" display. I connected them with instruction but Rasbian didn't boot. Only red light flash not green at all and display shows meny different colours. I have original NOOBS SC memorycard
Question 5 years ago on Step 1
i have followed all you instructions but the screen will not come on . i have power to the board but nothing to the screen
6 years ago
What can you do with this?
6 years ago
Thanks for this. I made a different version of this and the upside down screen was driving me nuts. I'm going to cobble this into my car. Kudos!
Reply 6 years ago
You are welcome! Glad to hear it works.