mardi 1 août 2017

Raspberry épisode 23 : Ecran 3.5 inch RPi LCD V3.0






Si vous aussi avez besoin d'installer ce formidable écran 3.5 inch RPi LCD V3.0, ne cherchez plus la solution est là !
 
Après avoir passer 2 mois à tenter de l'installer sans résultat concluant, j'ai changé de driver et en moins de 2 minutes, l'écran était fonctionnel.



 J'ai suivi la documentation du site :
http://helloraspberrypi.blogspot.fr/2016/07/waveshare-35-320480-raspberry-pi-lcd.html

présenté en vidéo sur:
https://www.youtube.com/watch?v=bc6frD_AVjw


Le driver est disponible sur le site:

http://www.waveshare.net/wiki/3.5inch_RPi_LCD_%28A%29
http://www.waveshare.net/w/upload/0/00/LCD-show-170703.tar.gz

Ci-joint les commandes :



mkdir ecran
cd ecran
wget http://www.waveshare.net/w/upload/0/00/LCD-show-170703.tar.gz
gzip -d LCD-show-170703.tar.gz
tar -xvf LCD-show-170703.tar
./LCD-show/LCD35-show

ou

sudo rm -rf LCD-show
git clone https://github.com/goodtft/LCD-show.git
chmod -R 755 LCD-show
cd LCD-show/
sudo ./LCD35-show

 L'avantage de ce dernier code, c'est qu'on trouve la commande :

./rotate.sh 90

ou 180,270, etc... pour tourner simplement l'écran après le reboot automatique.



le raspberry reboot tout seul, et tout fonctionne
Ecran + tactile



pour le WGET:https://www.memoinfo.fr/tutoriels-linux/telecharger-avec-wget/

pour le GZIP:http://dev.petitchevalroux.net/linux/decompresser-fichier-linux.206.html
pour le TAR: https://openclassrooms.com/courses/reprenez-le-controle-a-l-aide-de-linux/archiver-et-compresser
 

PS: j'avais tester d'autres solutions qui ne fonctionnaient pas:
l'écran s'affichait bien, mais le tactile allait en haut au lieu d'aller à droite : impossible de tourner l'écran et de changer la configuration du touch.
https://marazt.wordpress.com/2016/12/06/setup-a-3-5-inch-lcd-touch-screen-display-module-320-x-480-v3-on-raspberry-2-with-raspbian-jessie/ 
http://paradoxetemporel.fr/6492-tuto-branchement-et-configuration-ecran-tactile-tontec-3-5-pouces-pour-raspberry-pi-2.html
https://www.youtube.com/watch?v=7G4cVlAqAGI 

https://www.raspberrypi.org/documentation/configuration/raspi-config.md
https://learn.adafruit.com/adafruit-pitft-3-dot-5-touch-screen-for-raspberry-pi/easy-install
 https://www.youtube.com/watch?v=A0qPmDOsw3M

https://iwannabe1337.wordpress.com/2016/03/26/rpi-set-raspberry-pi-lcd-3-5-inch-rpi-lcd-v3-0/
https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=158102
http://www.circuitbasics.com/setup-lcd-touchscreen-raspberry-pi/
http://ozzmaker.com/piscreen-quick-start-guide/#SD%20card%20Image%20for%20PiScreen
http://ozzmaker.com/piscreen-driver-install-instructions-2/
http://www.spotpear.com/learn/EN/raspberry-pi/Raspberry-Pi-LCD/Raspberry-Pi-_Rotate-the-screen-display.html
https://www.raspberrypi.org/forums/viewtopic.php?f=108&t=120785
https://www.raspberrypi.org/forums/viewtopic.php?f=100&t=98069
http://www.spotpear.com/learn/EN/raspberry-pi/Raspberry-Pi-LCD/Raspberry-Pi-_Rotate-the-screen-display.html
http://www.circuitbasics.com/raspberry-pi-touchscreen-calibration-screen-rotation/
http://www.circuitbasics.com/setup-lcd-touchscreen-raspberry-pi/

http://www.circuitbasics.com/raspberry-pi-touchscreen-calibration-screen-rotation/
https://www.root42.de/blog/?p=6
lister les modules
lsmod
détail du module fbtft (https://doc.ubuntu-fr.org/tutoriel/tout_savoir_sur_les_modules_linux)
modinfo fbtft
dmesg
https://raspberrypi.stackexchange.com/questions/60872/inverted-gpio-touchscreen-using-99-calibration-conf
https://github.com/swkim01/waveshare-dtoverlays/blob/master/README.md
https://marazt.wordpress.com/2016/12/06/setup-a-3-5-inch-lcd-touch-screen-display-module-320-x-480-v3-on-raspberry-2-with-raspbian-jessie/
http://www.circuitbasics.com/raspberry-pi-touchscreen-calibration-screen-rotation/

Aucun commentaire:

Enregistrer un commentaire