Summary of Quickly: KS0108B Graphic LCD 128×64 + Arduino
This article provides a brief guide on connecting a SparkFun KS0108B 128x64 graphic LCD to a standard (non-Mega) Arduino. The display offers pixel-level control for custom graphics but requires careful wiring and a suitable library due to its complexity compared to text-only LCDs. The KS0108B model includes necessary circuitry to avoid negative voltage issues. The recommended Arduino library for controlling the display is GLCDks0108. The post mainly serves as a hookup reference for users facing difficulties with this screen type.
Parts used in the KS0108B Graphic LCD + Arduino Project:
- SparkFun KS0108B Graphic LCD 128x64
- Arduino (Non-Mega model)
- Connecting wires
- Arduino GLCDks0108 library
This is an incredibly quick post, and it is actually here simply because this thing was a pain to figure out how to hook it up. But, I wasn’t able to do anything with it more than the Arduino library was able to do out of the box.
So, if you have this screen sold from SparkFun, and you wanted to hook it up to your Arduino, here is how you do that.
Hooking it up
LCD screens of this type are more difficult to work with than ones specifically designed for text. With these you have individual pixel control, so you can draw completely custom graphics with it. But it also means you have to keep track of a lot of pixels, hence all the extra wires. Making matters worse, many of these screens actually require a negative voltage on the dimmer pot to get an image from it. But luckily this particular one includes all the circuitry needed.
Note: this is hookup for the non-mega Arduino. The Arduino Megas actually connect differently to this screen. Just make sure to connect all the wires to the Arduino as seen on the right. You can click on the image to get a closer look.
To drive this graphic display you need a library, and for that, Arduino has you covered: http://www.arduino.cc/playground/Code/GLCDks0108
I know this is a lame excuse for an article. But like I said, it is just here incase you need to know how to hook it up.
For more detail: Quickly: KS0108B Graphic LCD 128×64 + Arduino