View previous topic :: View next topic |
Author |
Message |
The Puma
Joined: 23 Apr 2004 Posts: 227 Location: The Netherlands
|
|
|
rberek
Joined: 10 Jan 2005 Posts: 207 Location: Ottawa, Canada
|
|
Posted: Mon Apr 24, 2006 11:19 am |
|
|
A quick search of this board has shown that there are others who have sucessfully used a Noritake VFD, and these posts have included some code.
The parallel port on the VFD might be easily driven by the CCS LCD driver, though it does seem to want an 8-bit data interface. The serial port on the VFD might be a straight forward RS232 interface.
Get the detailed datasheet from Noritake and take a shot at writing a driver for it yourself. |
|
|
The Puma
Joined: 23 Apr 2004 Posts: 227 Location: The Netherlands
|
|
Posted: Tue Apr 25, 2006 11:20 am |
|
|
My VFD is not LCD Compatible
What must i change to get it to work? |
|
|
rberek
Joined: 10 Jan 2005 Posts: 207 Location: Ottawa, Canada
|
|
Posted: Tue Apr 25, 2006 11:36 am |
|
|
If it is not compatible with the CCS-provided LCD routines, then you must obtain the detailed datasheet from Noritake, decide on whether to use the parallel or serial interface, then code a driver that does what you need.
I have no idea what you have to change, since I've not used one of those displays nor do I have the detailed datasheet. Noritake provides a more detailed datasheet if you ask them, or at least that's what they're website says.
The LCD routines are intended to talk to a certain type of LCD controller. If your controller is significantly different, then it is easier to write a new driver than change the old one. There's nothing magic about those routines that forces you to use them as a template for new ones. |
|
|
The Puma
Joined: 23 Apr 2004 Posts: 227 Location: The Netherlands
|
|
Posted: Tue Apr 25, 2006 1:47 pm |
|
|
rberek wrote: | Noritake provides a more detailed datasheet if you ask them, or at least that's what they're website says.
|
Where can i find this? |
|
|
rberek
Joined: 10 Jan 2005 Posts: 207 Location: Ottawa, Canada
|
|
|
The Puma
Joined: 23 Apr 2004 Posts: 227 Location: The Netherlands
|
|
Posted: Tue Apr 25, 2006 2:01 pm |
|
|
Thx, i have ask them |
|
|
klovewell
Joined: 01 Apr 2005 Posts: 1
|
Noritake serial port |
Posted: Wed Apr 26, 2006 2:54 pm |
|
|
I've driven these displays from the serial port, it was a while back but I seem to recall it was pretty easy. I'd recommend you start there.
Kirk |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Wed Apr 26, 2006 9:58 pm |
|
|
The [spam] wrote: | My VFD is not LCD Compatible
What must i change to get it to work? |
Are you sure? It looks like one we tested years back in place of a 4X20 LCD. The only thing I had to change were the memory locations for each row. |
|
|
The Puma
Joined: 23 Apr 2004 Posts: 227 Location: The Netherlands
|
|
Posted: Fri Apr 28, 2006 4:40 am |
|
|
Yes, did nobody exeriment with this part and have some code to try |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Fri Apr 28, 2006 10:39 am |
|
|
The [spam] wrote: | Yes, did nobody exeriment with this part and have some code to try |
Yes I've used these type modules and used a standard LCD driver. From their website:
Quote: |
These LCD compatible VFD modules provide improved viewing angle, response time and operating temperature range.
MCBK modules provide serial interface solutions.
Pre-installed connector options are available.
Starter Kits are Available
The displayed colour can be achieved using a film or acrylic filter.
Click Part Number below to view PDF specification.
Chars Height Part Number Font PCB mm Power V/mA
16x2 4.8 CU16025ECPB-W6J Std 80 x 36 5V@ 150
4.8 CU16025ECPB-W30J Std 80 x 36 3.3V @ 300
4.8 CU16025ECPB-W2J Std 84 x 44 5V @ 150
8.0 CU16029ECPB-W1J Std 122 x 44 5V @ 350
20x2 4.7 CU20025ECPB-W1J Std 116 x 37 5V @ 130
9.2 CU20029ECPB-W1J Std 146 x 43 5V @ 400
20x4 4.7 CU20045SCPB-W5J Std 98 x 60 5V @ 275
8.8 CU20049SCPB-W2J Std 146 x 62.5 5V @ 650
24x2 4.7 CU24025ECPB-W1J Std 125 x 36 5V @ 155
40x2 4.7 CU40025SCPB-W6J Std 182 x 33.5 5V@ 330
40x4 4.9 CU40045SCPB-W1J Std 190 x 54 5V @ 550
|
It states that it is indeed a "LCD compatible VFD modules". |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Fri Apr 28, 2006 2:15 pm |
|
|
But if you look at the spec he posted, it doesn't list the signals for a
standard HD44780-type LCD interface. It doesn't have the standard
signals, such as E, RS, and R/W.
http://www.vfdworld.com/techdocs/Noritake_CU20045SCPB-T23A_4x20_VFD.pdf
Noritake makes a "U" version, which they say has a LCD compatible
interface:
http://www.noritake-elec.com/uversion.htm
From the link above:
Quote: | This new VFD technology has an 8 and 4 bit parallel interface and
enables the replacement of LCD's with Noritake U-Version VFD modules. |
[spam] appears to have the "T" version:
http://www.noritake-elec.com/tversion.htm
He appears to have a slightly older model. The current one it the T28.
http://noritake2.download.reliablenetworks.net/CU20045SCPB-T28A.pdf
That data sheet looks somewhat similar to the T23 data sheet.
The "T" versions have either a asynchronous serial interface, going
through the Sin pin, or they have a non-standard 8-bit parallel port
interface, with pins D0-D7, \WR, \CS, and Busy.
I don't think you can use a standard LCD driver with the "T" LCDs.
The best idea is to use the Asynchronous serial interface, as was
suggested in a previous post. Or in my opinion, get rid of this LCD
and just buy a compatible one. |
|
|
The Puma
Joined: 23 Apr 2004 Posts: 227 Location: The Netherlands
|
|
Posted: Fri Apr 28, 2006 2:48 pm |
|
|
It must be possible to drive this VFD with a PIC
Or ist't? |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Fri Apr 28, 2006 3:48 pm |
|
|
Sure, it's possible. Go to VFD World and get the full spec for LCD.
http://www.vfdworld.com/techdocs/Noritake_CU20045SCPB-T28A_4x20_VFD.pdf
On page 13 (in Acrobat reader) it shows the default settings for the
serial interface are 19.2 Kbaud, with Even Parity. The timing diagram
on page 11 (in Acrobat reader) shows that a Start bit is a logic zero.
So you could use the hardware UART pins on your PIC. Connect the
Tx pin on your PIC to the Sin pin on the LCD. The LCD appears
to require a 1 ms pulse (minimum) on the \Reset pin in order to
initialize it. Then you must wait 100 ms after that before sending
serial commands. This is all shown in the data sheet link given above.
I don't want to do any more work on this. |
|
|
The Puma
Joined: 23 Apr 2004 Posts: 227 Location: The Netherlands
|
|
Posted: Sat Apr 29, 2006 2:09 am |
|
|
@PCM programmer
Thx for the full datasheet.
Please can you tell me what to do for using the hardware UART of the pic18F4620
I have this header
#include <18F4620.h>
#use delay(clock=20000000)
#fuses HS,NOWDT,NOBROWNOUT,NOPUT,NOLVP,DEBUG,NOSTVREN,NOPROTECT |
|
|
|