Added adafruit_lcd.md
This commit is contained in:
parent
0b3332d940
commit
0bab0d671b
|
@ -0,0 +1,41 @@
|
||||||
|
<!--
|
||||||
|
---
|
||||||
|
name: Adafruit 16x2 Character LCD
|
||||||
|
class: board
|
||||||
|
type: Display
|
||||||
|
formfactor: Custom
|
||||||
|
manufacturer: Adafruit
|
||||||
|
description: 16x2 Character LCD and Keypad
|
||||||
|
url: https://learn.adafruit.com/adafruit-16x2-character-lcd-plus-keypad-for-raspberry-pi
|
||||||
|
buy: https://www.adafruit.com/products/1109
|
||||||
|
image: lcd.png
|
||||||
|
pincount: 26
|
||||||
|
eeprom: yes
|
||||||
|
power:
|
||||||
|
'2':
|
||||||
|
|
||||||
|
ground:
|
||||||
|
'6':
|
||||||
|
pin:
|
||||||
|
'3':
|
||||||
|
mode:SDA
|
||||||
|
'5':
|
||||||
|
mode:SCL
|
||||||
|
i2c:
|
||||||
|
'0x20':
|
||||||
|
name: MCP23017
|
||||||
|
device: MCP23017
|
||||||
|
|
||||||
|
|
||||||
|
-->
|
||||||
|
The Adafruit plate makes it easy to use a 16x2 Character LCD. Most LCD use lots of GPIO pins but with this just using I2C you only need two pins. The keypad gives you an easy way to input to the display and it comes with an easy to use python library to make it super easy to program. Note that the same pinout applies to both positive, negative and normal LCD.
|
||||||
|
|
||||||
|
To install:
|
||||||
|
```bash
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install build-essential python-dev python-smbus python-pip git
|
||||||
|
sudo pip install RPi.GPIO
|
||||||
|
git clone https://github.com/adafruit/Adafruit_Python_CharLCD.git
|
||||||
|
cd Adafruit_Python_CharLCD
|
||||||
|
sudo python setup.py install
|
||||||
|
```
|
Loading…
Reference in New Issue