Modifications

Sauter à la navigation Sauter à la recherche
1 181 octets ajoutés ,  27 janvier 2013 à 16:17
aucun résumé de modification
Ligne 4 : Ligne 4 :     
[[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.
 +
 +
This technique:
 +
 +
* allows for inexpensive LCDs to be used
 +
* does not require any i2c drivers
 +
* won't steal the only serial port on the 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.
 +
 +
[[Fichier:Rasp-Hack-Afficheur-LCD-INTRO-2.JPG|500px]]
 +
 +
To Follow This Tutorial You Will Need
 +
 +
* Standard LCD 16x2 + extras
 +
* Adafruit Pi Cobbler - follow the tutorial to assemble it
 +
* Half or Full-size breadboard
 +
* Hook-up Wire
 +
* A Raspberry Pi
 +
 +
{{Ambox
 +
| type      = delete
 +
| image      = [[File:StopHand.png|40px|alt=Stop]]
 +
| 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
 +
}}
    
{{Rasp-Hack-Afficheur-LCD-TRAILER}}
 
{{Rasp-Hack-Afficheur-LCD-TRAILER}}
29 917

modifications

Menu de navigation