3.2" / 3.5" TOUCH-DISPLAY For the pinning on the Raspberry Pi 1. GENERAL INFORMATION Dear customer, Thank you for purchasing our product. In the following, we will show you which things should be noted during the use. Should you encounter any unexpected problems, do not hesitate to contact us www.joy-it.net Pascalstr.
. OVERVIEW 3.2" Display Controller Resolution 3.5" Display XPT2046 320 x 240 Colors 480 x 320 65.536 3. CONNECTION Put the 3.2" / 3.5" TFT- Display on the Raspberry Pi so that the first 26 pins of the GPIO pin header are plugged in. After that, the backgroundlight of the display is turned on. 4. INSTALLATION OF THE SOFTWARE Install the TFT-image on your SD-card with a program like the Win32-DiskImager. You can download the images via the following links: For the 3.
Manual installation If you already use another Raspbian image and you want to expand it with the 3.2" / 3.5" touchscreen-TFT, you can install the modules on your system subsequently.Therefore, you must edit the file config.txt . You have to open the terminal on your Raspberry Pi and enter following command: sudo nano /boot/config.txt Add here, depending on the display, the following lines at the beginning of the opened file: For the 3.
Therefore, you have to add in the first line the following command: fbcon=map:10 Save the file, leave the editor and create the file 99-calibration.conf : sudo nano /usr/share/X11/xorg.conf.d/99-calibration.conf The following lines must be added in the file: Section "InputClass" Identifier "calibration" MatchProduct "ADS7846 Touchscreen" Option "Calibration" "160 3723 3896 181" Option "SwapAxes" "0" EndSection Also this file has to be saved and terminated with CTRL + X with a following Y and Enter.
Then, install the package for the touch function as well as copy a file: sudo apt-get install xserver-xorg-input-evdev sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf / usr/share/X11/xorg.conf.d/45-evdev.conf Restart the Raspberry Pi: sudo reboot 5. USAGE OF THE BUTTONS OF THE 3.2"TFT On the side of the 3.2" display are three buttons. These can be controlled and used via the GPIOs. If the button is pressed, the signal is pulled to ground (Active_LOW).
Create now the file in which the setting will be saved in. sudo nano /etc/X11/xorg.conf.d/99-calibration.conf The listing should look like the following (The values after Calibration can be differ from yours): Section "InputClass" Identifier "calibration" MatchProduct "ADS7846 Touchscreen" Option "Calibration" "171 3720 3899 196" Option "SwapAxes" "0" EndSection Calibration of the 3.5" display: If a calibration of the touchscreen should be necessary, it can be done with the following steps.
. USE OF LCD AND HDMI AT THE SAME TIME To output the image signal with the TFT display and with the HDMI output at the same time, you must perform additional steps. In the first step, the program Framebuffer-Copy must be compiled and installed with the following commands. cd /tmp sudo apt-get install -y cmake git clone https://github.com/tasanakorn/rpi-fbcp mkdir -p rpi-fbcp/build cd rpi-fbcp/build cmake ..
## Einstellungen für 800x600 ## hdmi_group=2 hdmi_mode=87 hdmi_cvt=800 600 60 1 0 0 0 ## Einstellungen für 1024x768 ## #hdmi_group=2 #hdmi_mode=87 #hdmi_cvt=1024 768 60 1 0 0 0 ################################ For 16 : 9 resolution: hdmi_ignore_edid=0xa5000080 hdmi_force_hotplug=1 ########################################################################### #### Aufloesungseinstellungen - betreffende Gruppe muss aukommentiert werden #### ##### 16:9 ##### ## Einstellungen für 1280x720 ## #hdmi_group=2 #hdmi_m
8. OTHER INFORMATION PR Our Information and Take-back Obligations according to the German Electronic Law (ElektroG) Symbol on Electrial and Electronic Products: This crossed-out bin means that electrical and electronic products do not belong into the household waste. You must hand over your old appliance to a registration place. Before you can hand over the old appliance, you must remove used batteries and replacement batteries which are not enclosed by the device.