goodtft / lcd-show Goto Github PK
View Code? Open in Web Editor NEW2.4" 2.8"3.2" 3.5" 5.0" 7.0" TFT LCD driver for the Raspberry PI 3B+/A/A+/B/B+/PI2/ PI3/ZERO/ZERO W
2.4" 2.8"3.2" 3.5" 5.0" 7.0" TFT LCD driver for the Raspberry PI 3B+/A/A+/B/B+/PI2/ PI3/ZERO/ZERO W
Referring to the LCD-35-show data, I don't understand what the version differentiation is good for. Can someone please explain?
I have the feeling this is focused on the wheezy release and became deprecated as soon as a new major release (jessie, stretch) came out.
This seems fairly important. In my cases, sometimes the evdev program was not installed due to the version nr.
I have followed your installation guide using Raspbian-2017-03-02 on an Pi3b with LCD7C 1024x768 screen.
Both devices are powered from a single 5V 2.5amp power supply, the screen piggybacking power off the Pi via USB
I am able to get the screen up and running but without any Touchscreen functionality.
Anyone have an success trying to get touchscreen functions working with this screen?
I am using Raspbian version:2017-03-02 but didn't execute the command below after installing the LCD 3.5
driver; after reboot of pi which happened after driver installation, my pi is hung on Kernel panic - not syncing: VFS unable to mount root fs on unknown -block[179.2]..
Any ideas, how to get out of hung screen ... and then run commands below.?
cd LCD-show
sudo dpkg -i -B xserver-xorg-input-evdev_1%3a2.10.3-1_armhf.deb
sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf
sudo reboot
New to github so im a noob it asks me to login after the git clone command what is the login
edit: Figured it out typed command wrong
Hi and thank you for your efforts.
Unfortunately WaveShare does not have any driver for Touch on PI 3.
I have Raspbian Jessie 2017-07-05 (Latest Edition), But I could not run Touch for my LCD.
I have followed your instructions, but the problem is still remained. I have emailed to WaveShare support as my LCD is from WaveShare, but they did not answer me, yet.
Do you have any idea?
Best regards,
Hasan
Hi,
First off I want to thank you for your script. It work really well with the xpt2046 3.5" touch screen on Raspbian Stretch.
I have two identical touch screens, but on one one of them I'm getting colour corruption when the mouse moves around, especially over the background image.
I was wondering if this could be due to a bad GPIO connection or the speed the data is being sent to the screen through the GPIO is too high? Is there a way to slow down the GPIO speed?
Thanks
Neil
Previously I was able to run
sudo ./LCD35-show 180
Doesn't seem to be working with the latest. Is there a different way to rotate the screen?
Hello, i have a Orange PI Zero. But I don't think so is rıun with my display. Can It run display? Thank you very much.
Is it possible to turn backlight off on 7" 1024 display ?
Bonjour,
Je n'arrive pas à calibrer mon écran
cd /boot
cd LCD-show
sudo dpkg -i -B xinput-calibrator_0.7.5-1_armhf.deb
DISPLAY=0:0 xinput_calibrator
Une fenêtre s'ouvre avec les croix rouges mais j'ai beau cliquer, sur les croix rouges, avec le stylet, rien ne se passe.
Merci pour votre aide
Hello,
is current driver (touch and hdmi) works with BBB ?
thanks
Hi, we have the last raspbian version from march 2017 and a 3'5 LCD touchscreen.
The initialisation worked very well, but, we are not able now to return to the hdmi screen.
We tried the : sudo ./LCD-hdmi
But the answer is : "sudo ./LCD-hdmi : command not found"
If we unplug the LCD the raspberry stops booting in the middle...
You think, we miss something??
I have a 3.5" GPIO display, and after following the instructions, I get nothing but a black screen with a flashing underscore. The display is partially working, as I can press CTRL+ALT+F1 and see the terminal for just a moment, but it simply flashes on the screen and disappears.
when i follow these steps and reboot ! but the screen only show white screen!!
5inch_HDMI_raspbian jessie with pixel_2016-11-25.7z
after i installed raspbian image from above package ! my have rainbow screen!
have anyone solved it! it happened in both pi2 and pi3
I have 800x400 screen. But in Kali Linux I havent got it. It
s only 600x800
to this screen there are instructions:
git clone https://github.com/goodtft/LCD-show.git
chmod -R 755 LCD-show
cd LCD-show/
./LCD7B-show
I can't run more GUI.
Give advice on how to be and what to do
Hardware:
Raspberry Pi 3 Model B V1.2 (2015) + SD Card3 32Gb
Display: 7inch HDMI Display-B ( 800x480) Pixel USB Touch Rev3.0
Hi,
I have got the 5 Inch Display to work with changing HDMI Parameters in my fex config:
[disp_init]
disp_init_enable = 1
disp_mode = 0
screen0_output_type = 3
screen0_output_mode = 5
screen1_output_type = 3
screen1_output_mode = 5
fb0_format = 0
fb0_width = 800
fb0_height = 480
fb1_format = 800
fb1_width = 480
fb1_height = 0
hdcp_enable = 1
hdmi_cts_compatibility = 0[hdmi_para]
hdmi_used = 1
hdmi_power = "vcc-hdmi-18"
hdmi_x = 800
hdmi_y = 480
hdcp_enable = 0
hdmi_cts_compatibility = 1
However I cannot get the touch screen to work.
The Software that came with the screen is only for Raspberry, but I want it to work with Orange PI.
Is there any hints how to get it running with GPIO or USB? Both methods do not work at the moment.
I am using latest ARMBIAN on my Orange PI.
Hi,
I am using RTIMULib with PI 3 for MPU9250 but unable to read anything. When I run the below code, it says 'No IMU found'.
RTIMUSettings *settings = new RTIMUSettings("RTIMULib");
RTIMU *imu = RTIMU::createIMU(settings);
if (imu == NULL || (imu->IMUType() == RTIMU_TYPE_NULL)) {
printf("No IMU found\n");
exit(1);
}
I used i2cdetect -y 1 command to see if IMU is detected and I received 0x68 address.
Any ideas what I am doing wrong?
Thanks
Attempting to use your repository to get a Kuman 3.5" touchscreen to work on a Pi3.
Downloaded git and cloned your repository with no issues, but "chmod -R 755 LCD-show" command doesn't do anything. Any ideas?
Hi,
I am using waveshare 2.8 inch LCD with PI3. I followed the procedure given in the link below.
https://github.com/goodtft/LCD-show
When I tried to run the sudo ./LCD28-show command, my PI got restarted. Everytime I run this command, PI gets restarted. Any ideas?
I am using Raspbian (Jessie-Lite).
Thanks
So I got the 3.5" Full HD 3561. Is it covered yet? It uses HDMI and SPI for touch screen. I did not find any drivers yet.
is it planned to support pi zero ?
I tried to get the display running with your script and several guides I found on the Internet without any changes.
I am using ArchArm and Raspbian - both without success!
Could the display be broken?
Is there a way to make this driver work on android? i installed emteria https://forum.emteria.com/ android and i have a waveshare 10.1 inch screen but the driver exec doesnt work ... any suggestions ?
I done this both online and offline and every time I use the last command
sudo ./LCD5-show
my pi 3 restarts and then hits an error and gets stuck there. The error is "Kernel Panic : VFS :Unable to mount root fs on unknown-block". I cannot for the life of me get it working.
i have followed the EXACT CORRECT steps but when it reboots it still displays as white....
So here is the setup:
I downloaded the ARM image RaspberryPI Foundation from:
https://www.offensive-security.com/kali-linux-arm-images/
Then I proceed to mount the image to a SD card and boot the system.
On HDMI on my tv I then tried to install the LCD 5" driver following these steps:
git clone https://github.com/goodtft/LCD-show.git
chmod -R 755 LCD-show
cd LCD-show/
sudo ./LCD5-show
As shown in the PDF that came with the CD for the Driver installation.(attached)
The system rebooted and the screen adjusted.
The actual LCD 5" HDMI display works just fine!
BUT, the system rebooted in text mode and I cant get it to work in graphical mode again.
I tried so far:
startx
This presented me with an error saying that
(EE) Server terminated with error (1). Closing log file.log" for additional information.
(I can't find the log file for additional info, I don't know where it is)
apt-get update
apt-get upgrade -y
apt-get install -f gdm3
gdm3
This did not work, the terminal was unresponsive after.
Do you guys have any idea what could possibly be going wrong?
Im using a 3.5in touch screen and all it displays is the boot sequence then the display turns black any help is appreciated thanks
Please create an area where the contents of the DEB files and the scripts which build them are available for browsing. Thank you.
Hi,
Is it possible to turn off backlight on power dpms off event on a LCD
3.5? Or is it directly fed by +5v pin?
Can I use your script to make this work?
https://www.adafruit.com/product/358
Just bought the screen, and found this out.
I got it to work following the instructions that came with it, but only if it's with a fresh install of 2017-04-10-raspbian-jessie.img
As soon as you run "sudo apt-get update" and "sudo apt-get dist-upgrade" the screen just stays white.
It also ends up killing the Raspbian image as well.
I'm looking for a screen for my Pi, but one where the drivers break simply from performing OS updates is not user, or customer friendly.
I followed the exact instructions on the main page and it crashed my device. I now get:
End kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,6)
I have 5 inch LCD and graphics works fine. Touchscreen also works but it doesn't work on right and left sides and calibration is off. I kept calibrating several times and it doesn't work.
This is using raspbian jessie, latest image.
Hi, this is not bugreport, but succesreport ;-)
Recently i bought the 3,5" HDMI LCD, marked with 2017/2/1 version, i read some driver installation instructions, i download driver LCD_show_35hdmi.tar.gz from http://en.kedei.net/ and inspect it little. In install script i found, that it install (copies) a lot of binary files for some older kernel. As longtime Debian user i decided to try it with current Raspberry Pi kernel, without any files installed/copied into /usr
directory. After search on internet i found your repository and i see that it can be reasonable solution (thanks for infos). To be sure, i start with fresh full raspbian jessie image (2017-04-10), where i did only two changes - i enabled ssh and configured network.
Display works out of box, after i plug it and power the RasPi i can see GUI, but it uses too high resolution (i didn't inspect exact value). Then i took HDMI settings from driver's config.txt and placed into /boot/config.txt
:
hdmi_group=2
hdmi_mode=87
hdmi_cvt=480 320 60 6 0 0 0
hdmi_drive=2
After reboot, the display show nice 480x320 screen.
This was a big problem for me, because i did not encounter with touchscreens before and therefore i had zero experiences with. But after many try-error attempts i was finally success.
I start with enabling touchscreen overlay. First i start from driver's config, then i tried your config and finally i have in /boot/config.txt
:
dtparam=spi=on
dtoverlay=ads7846,cs=0,penirq=25,penirq_pull=2,speed=10000,keep_vref_on=0,swapxy=1,pmax=255,xohms=150,xmin=199,xmax=3900,ymin=199,ymax=3900
After reboot the touchscreen work, but the X/Y axis are flipped and setting swapxy
has no effect. Then i noticed xserver-xorg-input-evdev
package in your repo, then i uninstall
the xserver-xorg-input-all
and xserver-xorg-input-libinput
and install from official repo the xserver-xorg-input-evdev
:
aptitude purge xserver-xorg-input-all xserver-xorg-input-libinput
aptitude install xserver-xorg-input-evdev
I tried to copy /usr/share/X11/xorg.conf.d/10-evdev.conf
as you suggests, but it has no effect for me, then i revert it back this file. but i leave these packages (un)installed.
Then i install xinput-calibrator
from official repo (BTW version 0.7.5+git20140201-1):
aptitude install xinput-calibrator
Then i add 99-calibration.conf
from your repo into /etc/X11/xorg.conf.d/
. After xserver restart the touchscreen works better, the axis was not flipped, but was inverted now. Then i add into 99-calibration.conf
:
Option "InvertX" "1"
Option "InvertY" "1"
After xserver restart, the touschscreen starts to work and i was able to run (via ssh, i have no keyboard connected into Raspi):
DISPLAY=:0 xinput_calibrator
After finishing calibration it provides setting for me:
Section "InputClass"
Identifier "calibration"
MatchProduct "ADS7846 Touchscreen"
Option "Calibration" "188 3928 3895 117"
Option "SwapAxes" "1"
EndSection
I replaced content of 99-calibration.conf
by these settings, restart xserver and touchscreen works as expected.
I didn't try yet.
Although i am not sure about xserver-xorg-input-evdev
/xserver-xorg-input-libinput
step,
the HDMI display with SPI touchscreen works with no software outside official repositories and with these steps:
/boot/config.txt
/boot/config.txt
xserver-xorg-input-all
and xserver-xorg-input-libinput
xserver-xorg-input-evdev
usr/99-calibration.conf-35
(this repo) into /etc/X11/xorg.conf.d/99-calibration.conf
99-calibration.conf
manualy or with xinput_calibrator
I needed to pull off the case. I was removing it quite gently with a spudger (aka black tip) when that piece of the case cracked. I have never seen such a brittle piece of plastic!
Hey there, first thing first, THANK YOU so much. I just bought a 3.5 inch display for my RPi 2 B+ model, and was searching from continuously 18 hours for the supportive Drivers for the same, then got your GitHub Link, which helped me alot. Thank You again.
But, I mainly need it to work on KALI LINUX (ARM version). On which, this driver is not working. Can you please provide me the Driver for other Distro too (mainly for KALI )? or I would be glad if you can help me with the same in other way, like the dependencies it requires, repositories, tolls, etc. Thank you once again. Looking forward for your reply.
So I calibrated my 3.5inch GPIO touch display (LCD35-show) and copied the result to /etc/X11/xorg.conf.d/99-calibration.conf
but as I restart nothing seems to happen.
Everything is still the same. The touch is inverted and x and y are also inverted.
I tried hardcoding the /boot/config.txt by putting this code for the overlay:
dtoverlay=tft35a:swapxy=1:xmin=22255:xmax=22255:ymin=49202:ymax=49612:yinvert=1:xinvert=1
Still no result ...
Any suggestions?
pi 3 crashed after i installed the 7" goodtft display driver , pi3 is working on tv but when install driver for 7" display it s dead , any solution up to now ?
Could you please provide a setup to rotate the screen and mouse?
Thanks
Hi
I've tried editing /boot/cmdline.txt and /bott/config.txt but neither are affecting a screen rotation of the GPIO 3.5" LCD screen with touch. The HDMI output does rotate but I want the LCD to rotate the same way.
How can I make this work as I'm very out of my depth on this.
Thanks
Dean
There is a 1 cm border around the edge of the touchscreen that cursor will not pass, and is unaccessible for touch. With a keyboard and mouse I am able to move the cursor around the entire screen. The cursor will not move into this area with touch.
Hello,
After connecting the screen and flashing 3.5inch-raspbian jessie with pixel_2017-03-02.img and starting minecraft-pi, I get a black screen. Have you tried that? Is this supposed to work?
thank you
The cp
-r option means recursive down a directory tree. However, ./usr/99-calibration.conf-35 and ./usr/99-fbturbo.conf are being copied as individual simple files. At minimum, this is confusing. This may be okay now but it might bite you in the future when someone does maintenance.
The other bash scripts have similar issues.
The refresh rate on my pi 3b running Raspbian GNU/Linux 8 (jessie)
seems to be pretty low/slow.
How can I increase the refresh rate so I get higher FPS?
My /boot/config.txt
has:
...
dtparam=audio=on
dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=1,pmax=255$
dtoverlay=tft35a:rotate=90
I have tried increasing gpu_mem
, it does not have any impact.
Hello.
I have problem with installation my display.
Yeasterday I have made install without problem, but I messed something on my Pi3, so I decided to make clean install.
Download jessie image, write to card, boot and make system resize and other things.
After that I have downloaded repo, made chmod and went into directory with files.
Now excecute sudo ./LCD32-show command, Pi shutdown, but after reboot, it hangs up in boot process on "systemd[1]: Starting Create Static Device Nodes in /dev...
Display is only white and Pi is doing nothing.
Thx for advice.
Mickey
Anyone gotten this to work on Raspbian Jessie Lite (2017-04-10)? I'd like my pi 3b with the 3.5 LCD to just act as a kiosk (run browser on boot).
Was hoping I could just do the following but have not had luck:
sudo raspi-config
#boot options > cli no login
sudo apt-get install -y git xserver-xorg-video-fbturbo openbox midori unclutter xinit
echo "exec openbox-session" > ~/.xinitrc
mkdir -p ~/.config/openbox && cp /etc/xdg/openbox/* ~/.config/openbox
echo "midori -e Fullscreen -a http://www.espn.com" > ~/.config/openbox/autostart
nano ~/.bashrc
#at the bottom put
if [ $(tty) == /dev/tty1 ]; then
startx -- -nocursor
fi
i would like to rotate my 7" lcd screen i did it
but i have a probeleme with touch screen
can i find a solution ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.