Menu

Newhaven Display

Help
Kaya Saman
2019-07-27
2019-07-29
  • Kaya Saman

    Kaya Saman - 2019-07-27

    Hi,

    I am wondering if the Newhaven range of displays are supported?

    I've got 3 of these displays: https://www.newhavendisplay.com/nhd0220d3zflgbwv3-p-5742.html

    which support I2C, SPI and RS232. They are connected to Pine64-LTS boards through a TTL 3V -> RS232 level shifter, in RS232 mode.

    The tech specs for the display are here:
    http://www.newhavendisplay.com/specs/NHD-0220D3Z-FL-GBW-V3.pdf

    The displays themselves use a PIC16F690 controller: http://www.newhavendisplay.com/app_notes/PIC16F690.pdf

    As far as I understand the RS232 mode is TTL based so I am guessing the Rawserial driver is the one to use here?

    I'm still testing the configuration but so far I have nothing appearing on the displays at all. Though this might be due to OS level UART communication, so it is all very much a "work in progress" project :-)

    The OS's used are FreeBSD 13-CURRENT and Armbian SoPine images.

    Would anyone be able to offer any advice? Thanks a lot.

    Kaya

     
  • Kaya Saman

    Kaya Saman - 2019-07-29

    Looking at things a little deeper, the lcd4linux project (which seems to be abandoned now?) has a Newhaven driver for both RS232 and I2C: https://lcd4linux.bulix.org/wiki/Newhaven

    Connecting the display to my RS232 level shifter and then the UART ports on my pine64-LTS I do see characters appearing. Of course these are probably whatever the display can interpret from the TTY console output, as these are just a bunch of non-sensical random characters being displayed.

    From the documentation it looks like the display actually takes ASCII codes as input then translates them to HD44780 format.

     

Log in to post a comment.