Main Site Documentation

Newhaven Displays serial LCD driver


Hullie inspired me to buy one of the Newhaven Displays serial LCD devices.
Lucky for me their offices are between my house and work, and they do “Will Call” so I was able to get it the next day.
I found the one I wanted on and you can order directly from them. If you call, ask for Briget she’s the one who helped me.
Enough sales talk on to the details of what I have done.
Since I bought the 4x20 version I was going to have to modify Hullie’s driver anyway, but when I started to think about it I realized that I did not want to have to write 3 drivers, one for each interface. So I did some refactoring and what I ended up with, while inspired by Hullie’s driver, is a driver different enough that it should be concidered on its own.
I have posted this updated driver and test program to FEZZER.


That is the same one I tried couple days ago. Easy to wire to JST connector we have on this web so it i easy to make just use the standard cables we use here.


I have added a video to the FEZZER page that show the example diagnostic code running on the Newhaven display.


I have changed my driver to correct a perceived bug in the display firmware.
On the 4 line Newhaven displays if you write continuously, instead of going in order lines 1,2,3 and 4, the display goes 1, 3, 2, and 4. This annoyed me. Also, I wanted to have some form of word wrapping.
So, I have updated the driver to follow what I think is the logical order 1,2,3,4 and word wrapping.
By design, word wrapping only splits the text on white space if the text is written in one call to write. If written one character or word at a time, no word wrapping will happen.