-
Notifications
You must be signed in to change notification settings - Fork 2k
Add placeholder image and update instructional text #3119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
13a9f2d
87659e4
86dc111
66827d6
91c9dc8
22ab9b9
8127a6c
c55fbf8
d0828b4
a30cb45
b7da87c
efd754e
19a7e1c
56a5e6d
f62c3d1
f630664
19f06fc
c3bea82
6611fbd
9bb1548
dce2d73
5e11a05
370286e
b62c164
38c6277
68cf414
52d942e
1ac23ec
296f116
40fe2cb
748e352
18c2cbb
059c23d
738fec3
d3c59b5
9657ab5
a46e439
bfc50df
ac7b1fd
20249e7
685b563
1848297
79800df
37c749f
9d122c9
9e0e674
85b0b93
38566ac
48de454
426e49c
2424acb
f14bd85
103398e
383df1a
c595590
73e0a40
430c38f
ddca95d
3d88dc5
4eda806
09a9414
f4780f9
a325675
6f9a3ae
aaffb60
88fc352
cb00439
26b2375
25b261f
d0b367e
84d4d49
683a735
cdf9113
920f246
550a5e8
ae527c0
02fa083
1dee857
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,36 +1,47 @@ | ||
| == Raspberry Pi Touch Display | ||
|
|
||
| The Raspberry Pi Touch Display is an LCD display which connects to the Raspberry Pi through the DSI connector. In some situations, it allows for the use of both the HDMI and LCD displays at the same time (this requires software support). | ||
| The https://www.raspberrypi.com/products/raspberry-pi-touch-display/[Raspberry Pi Touch Display] is an LCD display which connects to the Raspberry Pi through the DSI connector. In recent versions of Raspberry Pi OS, both the HDMI and LCD display outputs can be used at the same time. | ||
|
|
||
| === Board Support | ||
|
|
||
| The DSI display is designed to work with all models of Raspberry Pi, however early models that do not have mounting holes (the Raspberry Pi 1 Model A and B) will require additional mounting hardware to fit the HAT-dimensioned stand-offs on the display PCB. | ||
|
|
||
| === Physical Installation | ||
| === Connecting a Raspberry Pi | ||
|
|
||
| The following image shows how to attach the Raspberry Pi to the back of the Touch Display (if required), and how to connect both the data (ribbon cable) and power (red/black wires) from the Raspberry Pi to the display. If you are not attaching the Raspberry Pi to the back of the display, take extra care when attaching the ribbon cable to ensure it is the correct way round. The black and red power wires should be attached to the GND and 5v pins respectively. | ||
| The following image shows how to attach a Raspberry Pi to the back of the Touch Display using the included standoffs. It also shows the connections you need to make between Raspberry Pi and the display's PCB. You can also mount the touch display in a separate chassis if you have one available. The connections remain the same, though you may need longer cables depending on the chassis you use. | ||
|
|
||
| image::images/GPIO_power-500x333.jpg[DSI Display Connections] | ||
| image::images/GPIO_power-500x333.jpg[DSI Display pinout] | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This image needs reshot by Brian. He has an Asana task to reshoot all (most) of the existing documentation imagery. So no need to nudge him about this one. |
||
|
|
||
| The other three pins should be left disconnected, unless connecting the display to an original Raspberry Pi 1 Model A or B. See the section on xref:display.adoc#legacy-support[legacy support] for more information on connecting the display to an original Raspberry Pi. | ||
| Connect one end of the ribbon cable to the `RPI-DISPLAY` port on the Touch Display PCB (make sure the blue stripe faces the PCB) and then connect the other end to the `DISPLAY` port on the Raspberry Pi (the blue stripe should face outwards). | ||
|
|
||
| ==== Powering the Touch Display | ||
|
|
||
| There are two options to power the Touch Display: using the Raspberry Pi's GPIO to send power, or powering the display directly with a separate micro USB cable. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should sub-section, if there are two options there should be two separate sections. |
||
|
|
||
| WARNING: If you use a micro USB cable to power the display it must be mounted inside a chassis to reduce the risk of electrocution. The chassis also must block access to the display's PCB while its in use. | ||
|
|
||
| The following instructions are only relevant if you're using the Raspberry Pi for power. Do not make these connections when powering the display through its micro USB port. | ||
|
|
||
| Make sure the Raspberry Pi is powered off and unplugged, then connect one end of the black jumper wire to pin six (GND) on the Raspberry Pi and one end of the red jumper wire to pin four (5V). Next, connect the other end of the black wire to the GND pin on the display and the other end of the red wire to the 5V pin on the display. | ||
|
|
||
| .Connect the red and black wires to 5V and GND | ||
| image::images/touch-GPIO.png[Illustration of display pins, width=250] | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Don't use pixel widths, e.g. |
||
|
|
||
| The other three pins on the Touch Display are used to connect the display to an original Raspberry Pi 1 Model A or B. Refer to our documentation on xref:display.adoc#legacy-support[legacy support] for more information. | ||
|
|
||
| NOTE: An original Raspberry Pi can be easily identified from other models, it is the only model with a 26-pin rather than 40-pin GPIO header connector. | ||
|
|
||
| === Screen Orientation | ||
|
|
||
| LCD displays have an optimum viewing angle, and depending on how the screen is mounted it may be necessary to change the orientation of the display to give the best results. By default, the Raspberry Pi Touch Display and Raspberry Pi are set up to work best when viewed from slightly above, for example on a desktop. If viewing from below, you can physically rotate the display, and then tell the system software to compensate by running the screen upside down. | ||
|
|
||
| ==== KMS and FKMS Mode | ||
|
|
||
| KMS and FKMS modes are used by default on the Raspberry Pi 4B. KMS and FKMS use the DRM/MESA libraries to provide graphics and 3D acceleration. | ||
|
|
||
| To set screen orientation when running the graphical desktop, select the `Screen Configuration` option from the `Preferences` menu. Right click on the DSI display rectangle in the layout editor, select Orientation then the required option. | ||
|
|
||
| To set screen orientation when in console mode, you will need to edit the kernel command line to pass the required orientation to the system. | ||
|
|
||
| [,bash] | ||
| ---- | ||
| sudo nano /boot/cmdline.txt | ||
| sudo nano /boot/firmware/cmdline.txt | ||
| ---- | ||
|
|
||
| To rotate by 90 degrees clockwise, add the following to the cmdline, making sure everything is on the same line, do not add any carriage returns. Possible rotation values are 0, 90, 180 and 270. | ||
|
|
@@ -39,47 +50,7 @@ To rotate by 90 degrees clockwise, add the following to the cmdline, making sure | |
| video=DSI-1:800x480@60,rotate=90 | ||
| ---- | ||
|
|
||
| NOTE: In console mode it is not possible to rotate the DSI display separately to the HDMI display, so if you have both attached they must both be set to the same value. | ||
|
|
||
| ==== Legacy Graphics Mode | ||
|
|
||
| Legacy graphics mode is used by default on all Raspberry Pi models prior to the Raspberry Pi 4B, and can also be used on the Raspberry Pi 4B if required, by disabling KMS and FKMS modes by commenting out the KMS or FKMS line in `config.txt`. | ||
|
|
||
| NOTE: Legacy mode on the Raspberry Pi 4B has no 3D acceleration so it should only be used if you have a specific reason for needing it. | ||
|
|
||
| To flip the display, add the following line to the file `/boot/config.txt`: | ||
|
|
||
| `lcd_rotate=2` | ||
|
|
||
| This will vertically flip the LCD and the touch screen, compensating for the physical orientation of the display. | ||
|
|
||
| You can also rotate the display by adding the following to the `config.txt` file. | ||
|
|
||
| * `display_lcd_rotate=x`, where `x` can be one of the following: | ||
|
|
||
| |=== | ||
| | display_lcd_rotate | result | ||
|
|
||
| | 0 | ||
| | no rotation | ||
|
|
||
| | 1 | ||
| | rotate 90 degrees clockwise | ||
|
|
||
| | 2 | ||
| | rotate 180 degrees clockwise | ||
|
|
||
| | 3 | ||
| | rotate 270 degrees clockwise | ||
|
|
||
| | 0x10000 | ||
| | horizontal flip | ||
|
|
||
| | 0x20000 | ||
| | vertical flip | ||
| |=== | ||
|
|
||
| NOTE: The 90 and 270 degree rotation options require additional memory on the GPU, so these will not work with the 16MB GPU split. | ||
| NOTE: In console mode it is not possible to rotate the DSI display separately to the HDMI display, so if you have both attached they must both be set to the same rotation value. | ||
|
|
||
| === Touchscreen Orientation | ||
|
|
||
|
|
@@ -136,4 +107,4 @@ Read our troubleshooting steps, tips, and tricks here: xref:display.adoc#trouble | |
|
|
||
| * Outer dimensions: 192.96 × 110.76mm | ||
| * Viewable area: 154.08 × 85.92mm | ||
| * https://datasheets.raspberrypi.com/display/7-inch-display-mechanical-drawing.pdf[Download mechanical drawing (PDF)] | ||
| * https://datasheets.raspberrypi.com/display/7-inch-display-mechanical-drawing.pdf[Download mechanical drawing (PDF)] | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this needs properly expanding with several images that show this process step-by-step. Possibly we should go down the route of an animated GIF, e.g. see https://www.raspberrypi.com/documentation/accessories/build-hat.html#preparing-your-build-hat.