Raspberry Pi comes with a variety of useful add-ons, from convenient covers and the popular Pi Cam module to HAT, as well as an extension board for the GPIO pins connected to Pi. But the Raspberry Pi touch screen display is a particularly popular accessory. Especially the 7-inch Raspberry Pi touch screen.
Although Pi can use a variety of monitors, few are as flexible as the official Raspberry Pi product. If you have ordered a Raspberry Pi touch screen, you are not sure how to proceed. How to set up the Raspberry PI touch screen. How do I connect the Raspberry Pi touch screen to the Raspberry Pi computer?
Although compatible with all standard boards, the Raspberry Pi device does not have all the necessary connectors, making it difficult to set up a Raspberry Pi touch screen with Pi Zero.
However, if you have the standard Raspberry Pi Model B, B +, 2, or 3, you can use the Raspberry Pi touch screen on the device.
Note: Only the revised PCB designs of Raspberry Pi 2 and Raspberry Pi 3 are compatible with the mounting screws on the back of the touch screen display. This means that you need to take different steps to firmly connect the older versions of the Pi board.
1. Upgrade your Pi version
You need to make sure that your Raspberry Pi has no problems before connecting to the device. Use the touch screen again.
2. Steps to ensure Raspberry Pi is connected to the device:
3. Start your Raspberry Pi, enter the following commands in the terminal, and wait for each command to complete before entering the next command:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get install raspberry pi-UI-mods
sudo apt-get install raspberry pi-net-mods
Make sure you have the correct driver and interface software application installed before connecting to the touch screen.
Once the installation is complete, we can begin to work.
4. Determine if the display board is connected to the orange ribbon cable and the display screen. In older versions, you had to do this manually;
The orange ribbon cable is connected at two positions on the display panel. The narrow end is connected to the Panel 1 connector, which has a small clip that needs to be loosened before the ribbon is inserted and tightened again. The wider ribbon is connected in the same manner to the other side and to the connector marked panel 2.Use four gaskets to attach the display panel to the back of the display and you can continue.
5. The next step is to actually connect Pi to the touch screen
First connect four cables to the 5V, ground, SCL, and SDA connectors on the display. Use red for 5V and black for grounding.
Then insert the white ribbon cable; The blue side of the end you are now inserting into should face the display (the blue label on the other end should face up).
6. Place the Raspberry Pi on top of the riser and fix it with screws.
7. Connect the four jumper cables to GPIO and check the Raspberry Pi MODEL GPIO array to make sure the cables are properly connected; On Raspberry Pi 3, the cables will be connected as described above.
These cables manage the power from the Pi to the display, and also transmit touch information to older Pi models - on newer Pi models in the model, the green and yellow I2C connections are built into the ribbon cable, so they are not actually needed.
However, you don't have to connect them like this. For example, you can't put a HAT at the top. You may prefer to use the Y splitter in the standard Raspberry Pi power supply, or use the second power supply. If you use portable batteries for this project, you can make the monitor and Pi run on the same power.
8. Connect the ribbon cable to Raspberry Pi, first loosen the buckle, and then insert it into place without distortion. After the ribbon is fully inserted, press the buckle to secure it.
Once you've done all this, it's time to connect the power cord to Pi and start Raspbian.
9. Configure the touch screen
In some cases, especially when using a monitor with a stand, you may need to rotate the monitor to keep it in the right direction.use
sudo nano /boot/config.txt
Do this via SSH, and at the top of the file, enter a new line:
Use Ctrl + X to exit the text editor, select Y to agree to the changes, and then type.
To apply the changes, type
In addition, if you see the startup script, but the screen then switches to black, you will most likely need to extend the file system of Raspberry Pi.To do this via SSH, type
And select the first option. Enable the extended file system, then select Finish to restart.
That's how you connect the Raspberry Pi touch screen to the Raspberry Pi computer.
Maybe you'll use Open Elec or Kodi to build a tablet or some kind of portable media center; This project is also useful for weather alerts, OTT alarm clocks, and even Linux-driven Carputer. 7 inch Raspberry Pi also a touch screen of the right size...