16x2 VFD display

Hi,
I just bought one of these from ebay :

And I've found a basic datasheet : http://dkc3.digikey.com/Media/PDF/Data%20Sheets/Noritake%20PDFs/CU16025ECPB-W6J.pdf

Has anyone had experience in wiring up and writing to one of these devices?
Judging by what I've read on the datasheet, it looks like it needs 8 bits of parallel input. :-/

I'm hoping they're fairly generic and use the same or similar methods to write to them.

I'll try to get a more detailed datasheet if necessary.

sure that looks like it would work. You connect +5, GND, eight data lines, R/W and RS to the Arduino, and then just sent the data....

D

Just to add that the pinouts and software commands seem to match those used by the LCD libraries so this would be a good place to start: LiquidCrystal - Arduino Reference

I just took a look at the LCD library. Looks good.

It look like it'll use up 10 of my data lines :o . I was hoping serial communication would be possible. Anyone know?

I'll try out the example given in the LCD library and take it from there.

Thanks,

Phil

There are a number of solutions for driving these devices with fewer pins. Have look in the LCD pages for serial interface boards and shift register interfaces for the Hitachi HD44780 chip. Your display seems to be compatible with that device. You will need to check in a more detailed datasheet if your device supports the 4 bit interface. See here for some links: Arduino Playground - LCD

According to the simple datasheet it has a :

Selectable 4/8 bit M68/i80 Interface

The high speed 8 bit parallel interface is 5V CMOS
compatible suitable for connection to a host CPU bus
which can be set to M68 or i80 series interface by a solder
link on the module.

You're right, I really need to get hold of the detailed datasheet.

Phil

It look like it'll use up 10 of my data lines :o . I was hoping serial communication would be possible. Anyone know?

Use a 74HC595 to drive the 8 data pins. That means 5 pins used total instead of 10.
Alternatively use one to drive it in 4 bit mode so it only uses 3 pins.

If its similar to a standard LCD then I've posted sample code to drive it in 4 bit mode.

Well I got it working this weekend (in 8 bit parallel mode). Works great with the LCD library, although I had to comment out some of the declarations that conflict with some of the wiring declarations which come with arduino 0010. The details of that problem are discussed here : http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1200450329/0

What I did find though was that in order to write to the second line in the display, I had to enter 24 dummy characters after the first line of 16 to get to position 40 (decimal) in the devices memory, as that's where the second row's memory starts. Not sure if I can actually make the cursor hop to position 40 before writing, so I just filled positions 17 to 39 with dummy characters. Is there a tidier way of doing this?

Next mission, 4 bit mode with the 74H595.....

Good to hear you got it going.

I am surprised that it works with the ninth character addressed at 0x24. All the data sheets I read when struggling to get my one line display going say its 0x40.

I wonder if your LCD is different from the 16x1 info here: http://www.myke.com/lcd.htm

It's actually the 17th character that's addressed at position 0x24.
I'm thinking the gap in the memory is to enable a quick "shift" of off-screen characters in to the visible part of the display.

I wonder if your LCD is different from the 16x1 info here: http://www.myke.com/lcd.htm

It's a VFD that is "LCD compatible", but I don't know if that means the form factor or the interface communication.

I tried to get the VFD brightness to change, but that didn't work.
I'm not sure how to hide the cursor either.

I've yet to get the detailed data sheet.

I'm very happy that it cost 1 euro (ok the shipping was 3 euros), but for something that's priced online at 60 euros I think I got a bargain.

Phil

It's actually the 17th character that's addressed at position 0x24. ...I've yet to get the detailed data sheet. Phil

I was thinking 16x1, of course you are using a 16x2. but note that according to the data sheet below (see Figure 4 2-Line Display) and my own experience with these chips, the second line should start at at 0x40 . I wonder why yours is different? Perhaps its not using the Hitachi chip.

The Hitachi datasheet can be found here: http://www.electronic-engineering.ch/microchip/datasheets/lcd/hd44780.pdf