|
Project Information
Members
Featured
Downloads
|
What is it?PCD8544 is a library for the Arduino to interface with LCDs based on the Philips PCD8544 controller (datasheet) or compatibles. These displays are commonly found on older monochrome mobile phones, such as the Nokia 3310 or 5110, so if you have one of these stuck in a drawer, take it out and start hacking away! :)
InstallationUncompress the ".zip" file into your "<arduino sketch folder>/libraries" folder (you may need to create it first). After restarting the Arduino IDE, it should appear in the libraries and examples menus. How it WorksTo use this library, you must first connect your LCD to the proper pins on the Arduino. For a Nokia 3310 display the connections would be the following:
For this display model, "Pin 1" is the leftmost pin when facing the back of the display with the connector on top. Nokia 5110 displays are slightly different. They have an external oscillator pin between pins 5 and 6 which should be connected to +3.3V. I haven't used one of these myself, so please see the diagrams on this page for more details. Since these LCDs are 3.3V devices, you have to add extra components to connect it to the digital pins of the Arduino (not necessary if you are using a 3.3V variant of the Arduino, such as the Arduino Pro). Now, take a moment and read through the included HelloWorld.ino example. It shows how to use the basic features of the library. There is also another Thermometer.ino example that demonstrates bitmapped graphics and charts. Custom SymbolsThe library allows the use of custom bitmap symbols (5x8), defined by an array of five bytes. To make it easy to create custom symbols, there's a graphical glyph editor available online. Downloads
|