i2c / SPI Character LCD Backpack – Adafruit 292
LCD backpacks reduce the number of pins needed to connect to an LCD. LCDs are a fun and easy way to have your microcontroller project talk back to you. Character LCDs are common and easy to get, available in tons of colors and sizes. Adafruit have supplied this tutorial on using character LCDs with an Arduino (or similar microcontroller) but find that the number of pins necessary to control the LCD can be restrictive, especially with ambitious projects. We wanted to make a ‘backpack’ (add-on circuit) that would reduce the number of pins without a lot of expense.
By using simple i2c and SPI input/output expanders we have reduced the number of pins (only 2 pins are needed for i2c) while still making it easy to interface with the LCD. For Arduino users, we provide an easy-to-use library that is backward compatible with projects using the ‘6 pin’ wiring. The breakout comes with a 2-pin and 3-pin terminal block as shown (you can snap it together to make a 5-pin terminal and then solder it to the backpack for easy wiring)
This backpack will work with any ‘standard’ character LCD, from 8×1 to 20×4 sizes! As long as they have a 16-pin single-line connection header at the top. It does not work with the 16×2 OLED displays. You can try to connect our RGB 16×2 or 20×4 LCDs up but this backpack will not control the RGB backlight so you’ll have to use the backpack only for the 14 digital IO pins (pins #1-14) and connect the backlight pins (#15-#18) directly to your microcontroller with 4 extra wires for color/PWM control as if they were just an RGB LED.
For advanced users, this project can be used for general-purpose I/O expansion, the MCP23008 has 8 i/o pins (7 are connected) with optional pull-ups, the SPI 74HC595 has 7 connected outputs.
Note: The terminal blocks included with your product may be blue or black.