Modifications

Sauter à la navigation Sauter à la recherche
1 153 octets ajoutés ,  27 février 2017 à 15:53
Ligne 1 : Ligne 1 :  +
{{MCH-Aider}}
 +
 +
== Préambule ==
 +
Le présent tutoriel s'attarde sur le branchement et l'utilisation d'un afficheur LCD Brut.
 +
 +
Cela peut faire beaucoup de fils et être intimidant.
 +
 +
Si c'est le cas, sachez qu'il existe aussi [[LCD-USB-TTL|un afficheur LCD RGB pilotable '''via le port USB''' (voir ce tutoriel)]] ou encore un afficheur I2C [[LCD-I2C|un afficheur LCD pilotable '''via le port I2C''' (voir ce tutoriel)]]
 +
 +
{{ADFImage|LCD-USB-TTL-00.jpg|320px}}
 +
 +
== Introduction ==
 
{{Rasp-Hack-Afficheur-LCD-NAV}}
 
{{Rasp-Hack-Afficheur-LCD-NAV}}
  −
{{Traduction}}
      
[[Fichier:Rasp-Hack-Afficheur-LCD-INTRO-1.JPG|500px]]
 
[[Fichier:Rasp-Hack-Afficheur-LCD-INTRO-1.JPG|500px]]
   −
Adding a LCD to any project immediately kicks it up a notch. This tutorial explains how to connect a inexpensive HDD44780 compatible LCD to the raspberry pi using 6 GPIOs. While there are other ways to connect using I2C or the UART this is the most direct method that get right down to the bare metal.
+
Ajouter un afficheur LCD à n'importe quel projet présente généralement une grande avancée. Ce tutoriel explique comment connecter un Afficheur LCD (compatible HDD44780 et abordable) sur votre Raspberry en utilisant 6 broches GPIO.  
   −
This technique:
+
Bien qu'il existe d'autre façon de connecter un afficheur en I2C ou via un UART (connexion série) cette méthode est la plus directe permettant même d'aller au fond des choses.
   −
* allows for inexpensive LCDs to be used
+
Cette technique:
* does not require any i2c drivers
  −
* won't steal the only serial port on the Pi.
      +
* permet l'usage de '''LCD bon marchés'''
 +
* '''Ne nécessite pas de pilotes I2C'''
 +
* Laisse libre le seul port série de votre Pi.
   −
The example python code sends date, time and the ip address to the display. If you are running a Pi in headless mode being able to determine the IP address at a glance is really handy.  
+
Le code d'exemple en Python envoi la date, l'heure et l'adresse IP sur l'afficheur. Si vous faite fonctionner votre Pi sans interface (clavier, moniteur, etc), vous serez capable de détermine l'adresse IP en une fraction de seconde, ce qui peut être vraiment très pratique.  
    
[[Fichier:Rasp-Hack-Afficheur-LCD-INTRO-2.JPG|500px]]
 
[[Fichier:Rasp-Hack-Afficheur-LCD-INTRO-2.JPG|500px]]
   −
To Follow This Tutorial You Will Need
+
== Les montages proposés ==
 +
Nous allons nous pencher sur les montages suivants:
 +
* branchement d'un LCD monochrome directement sur le GPIO
 +
* Branchement d'un LCD RGB directement sur le GPIO
 +
* Branchement d'un LCD en I2C via un MCP23017
 +
 
 +
== Compatibilité Pi3, Pi 2 & Pi B Plus ==
 +
{{picobbler-compatibility}}
 +
 
 +
== Matériel pour suivre ce tutoriel ==
   −
* Standard LCD 16x2 + extras
+
* {{pl|176|un afficheur LCD 16x2 + extras}}
* Adafruit Pi Cobbler - follow the tutorial to assemble it
+
* {{link-product-picobblerplus}} ou un {{link-product-picobbler}}
* Half or Full-size breadboard
+
* {{link-product-bbdemi}}
* Hook-up Wire
+
* {{link-product-filsbb}}
* A Raspberry Pi
+
* {{link-product-pi3}}, {{link-product-pi2}}, {{link-product-piplus}} ou un {{link-product-pi}}
    
{{Ambox
 
{{Ambox
Ligne 30 : Ligne 50 :  
| image      = [[File:StopHand.png|40px|alt=Stop]]
 
| image      = [[File:StopHand.png|40px|alt=Stop]]
 
| textstyle  = color: red; font-weight: bold; font-style: italic;
 
| textstyle  = color: red; font-weight: bold; font-style: italic;
| text      = You can use nearly any character LCD with this tutorial - it will work with 16x1, 16x2, 20x2, 20x4 LCDs. It will not work with 40x4 LCDs
+
| text      = Vous pouvez utiliser presque n'importe quel afficheur LCD ''compatible'' avec ce tutoriel - il fonctionnera avec des LCD 16x1, 16x2, 20x2, 20x4. Mais il ne fonctionnera pas avec des LCDs 40x4  
 
}}
 
}}
    
{{Rasp-Hack-Afficheur-LCD-TRAILER}}
 
{{Rasp-Hack-Afficheur-LCD-TRAILER}}
704

modifications

Menu de navigation