317
people found this helpful, as of 2023
ranked #78,099 most helpful
out of 571,544,897 reviews
★★★★★
Rasberry Pi 3 - Easy Install Instructions
This screen is a great little device. It is bright and crisp. The touchscreen works well. Installing it took me quite a few tries though, so I thought I would post my findings to help someone else.
I have have only tested this on a Raspberry Pi 3 running Debian Jessie, but it may work on other versions and flavors.
Strong recommendation: Do not bother downloading the so-called "driver" noted in various places. The version for Debian Jessie is really just a script that copies configuration files (that seem to have some errors) into your /etc/ directories that brick your device. Happily, there is no need to do this, you can easily modify the files yourself.
Prior to connecting the new display, do the following:
The only software you need is for the touchscreen. You can get this with "sudo apt-get install xinput-calibrator"
Then edit /boot/config.txt to add the following lines:
----------------------------------------------------------------------------------
hdmi_group=2
hdmi_mode=1
hdmi_mode=87
hdmi_cvt 800 400 60 6 0 0 0
dtparam=spi=on
dtparam=i2c_arm=on
dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,speed=50000,keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900 <======Note this is all on 1 line!
dtoverlay=w1-gpio-pullup,gpiopin=4,extpullup=1
----------------------------------------------------------------------------------
Shutdown the pi, and connect the display. When you power it back up, you should have a perfect display. You can now calibrate the touchscreen by running Menu-->Preferences-->Calibrate Touchscreen. Click each of the four targets when requested and then you will get a text window which explains what you should put into a calibration file. For the Pi, the filename should be /usr/share/X11/xorg.conf.d/99-calibration.conf.
And presto, you are done. I bricked my Pi 4 times getting this figured out...it is silly how easy it is once you know what needs to be done.
Good luck!
July 2016 · Electronics · verified purchase