Main Site Documentation

Newhaven Displays serial LCD driver


#1

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 http://www.newhavendisplay.com/index.php?main_page=index&cPath=253&zenid=shlta6ttl9l84qfes2gi6h8783 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.
http://www.fezzer.com/project/222/update-to-the-newhaven-display-serial-lcd-display/


#2

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.


#3

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


#4

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.
Enjoy.