element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Blog Adafruit RGB LCD + Keypad Pi Plate
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
GPIO Pinout
Raspberry Pi Wishlist
Comparison Chart
Quiz
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: fustini
  • Date Created: 15 Feb 2013 6:03 AM Date Created
  • Views 1638 views
  • Likes 2 likes
  • Comments 5 comments
Related
Recommended
  • source_code
  • raspberry_pi
  • rpi
  • adafruit

Adafruit RGB LCD + Keypad Pi Plate

fustini
fustini
15 Feb 2013

image

I'm quite excited about Adafruit's new RGB LCD + Keypad Pi Plate which:

lets you control a 16x2 Character LCD, up to 3 backlight pins AND 5 keypad pins using only the two I2C pins on the R-Pi! The best part is you don't really lose those two pins either, since you can stick i2c-based sensors, RTCs, etc and have them share the I2C bus. This is a super slick way to add a display without all the wiring hassle.

 

The kit is offered with 3 different LCD options:

 

RGB Positive 16x2 LCD   (colored background; this is the model I assembled and pictured here)

RGB Negative 16x2 LCD (colored text)

Blue & White 16x2 LCD

 

Any of the above models are:

perfect for when you want to build a stand-alone project with its own user interface. The 4 directional buttons plus select button allows basic control without having to attach a bulky computer.

 

Here's the demo program which displays text on the LCD and then changes the backlight color according to which button is pressed:

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

 

Unfortunately, it was hard for me to capture all the colors accurately with my smartphone camera.  In person, the contrast is better and backlight color is truer.  Here's another demo program which cycles through the different backlight colors:

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

The Raspberry Pi and the LCD Plate are inside the Adafruit Pi Box in "convertible" mode (the top of the Pi Box is removed).  Here's a side profile of the Pi Plate to give a sense of its height:

image

 

Be sure to checkout the tutorial for the LCD+Keypad Pi Plate in the Adafruit Learning System.  One important note from it is:

If you have a rev 2 (512MB) Pi, or if you're not getting anything displaying, it might be due to the I2C bus number change in the Pi hardware. Edit Adafruit_CharLCD.py using a command like "nano Adafruit_CharLCD.py" and change the line

 

lcd = Adafruit_CharLCDPlate(busnum = 0)

to


lcd = Adafruit_CharLCDPlate(busnum = 1)

 

Here's how I changed the busnum to 1 (as I have a Revision 2.0 512MB Pi):

 

https://bitbucket.org/pdp7/my-pi-projects/commits/75ea9f1bb822b793d9944b36e4215534

 

I'm using Adafruit's execellent WebIDE for the Raspberry Pi (shown below), so my files are automatically committed to my BitBucket repository

image

To give a taste for how simple it is to interact with the plate, here is a snippet from the demo program:

 

 

I'm developing a Pi project that will send sensor data to Cosm for logging and graphing and am excited to use this LCD+Keypad Pi Plate as a basic user interface.

 

Cheers,

Drew

  • Sign in to reply

Top Comments

  • fustini
    fustini over 12 years ago +1
    David Singleton used the Adafruit LCD+keypad Pi Plate to make an awesome time lapse control system: Timelapse photography with Adafruit LCD+Keypad Pi Plate
  • shabaz
    shabaz over 10 years ago in reply to Former Member

    Can you type the following two lines on the Pi:

     

    ls -l
    python lcdtest.py

     

    And show the output?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 10 years ago in reply to shabaz

    I use Occidentalis_v02 and i have copy/paste the textfile by PuttY (shh).

    Saved with Notepad++ as Python (py) extension.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 10 years ago in reply to Former Member

    How are you running it? (What's your command line).

    Could you paste the text you typed, and the entire output?

    If you're getting an error on line 1, as I understand, you may need to type python followed by a space, followed by the file name. (this is a guess - I've not looked at the code and never run a Python program).

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 10 years ago

    I'm newbie,

    The test won't work...

    I named the file "lcdtest.py

    placed in the directory projects/lcdtest

    same with Adafruit_CharLCDPlate.py

     

    The error message looks like this...

     

    File "lcdtest.py", line 1

       lcd = Adafruit_CharLCDPlate (busnum = 1) #for a rev2 512Mb Pi

     

    What's wrong?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • fustini
    fustini over 12 years ago

    David Singleton used the Adafruit LCD+keypad Pi Plate to make an awesome time lapse control system:

     

    Timelapse photography with Adafruit LCD+Keypad Pi Plate

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube