Posts tagged "LCD"

Driving a Character LCD using PIC24 Enhanced Parallel Master Port

HD44780 LCD timing sequence Traditionally, Toshiba HD44780-compatible alphanumeric LCD displays are driven by bit-banging bus signals combined with long delays between sending commands and data. In many cases, this method is good enough. However, there are situations where extra CPU cycles are not available, and a more efficient method of driving the display is needed. I’m currently working on a design involving very fast USB exchanges combined with occasional LCD output, and I’ve developed a solution that works very well for me. I’m sharing it in the hope that fellow developers will find it useful.

Interfacing a Character LCD via SPI

A HD44780-compatible LCD connected to a PIC via SPI Modern microcontrollers are packed with memory and processing power, but often don't have enough pins for everything we want to connect. A classic example is driving an HD44780-compatible LCD display — a great choice for simple user interfaces, but one that normally demands a lot of I/O lines. In this project, I'll show you how to control one of these displays over a simple SPI connection, using just a handful of wires and a cheap shift register. We'll build a tiny daughterboard to handle the conversion, set up a minimal breadboard circuit for testing, and walk through exactly how to send data to the LCD. Along the way, I'll also point you toward some tools that make experimenting even easier.

Back to all posts