CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

How to drive a noritake CU20045SCPB VFD
Goto page 1, 2  Next
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
The Puma



Joined: 23 Apr 2004
Posts: 227
Location: The Netherlands

View user's profile Send private message

How to drive a noritake CU20045SCPB VFD
PostPosted: Mon Apr 24, 2006 9:04 am     Reply with quote

Is it possible the use the standard lcd.c driver with some modifications?

Here is the datasheet:
http://www.vfdworld.com/techdocs/Noritake_CU20045SCPB-T23A_4x20_VFD.pdf

Is there someone that already has working a driver with a Noritake VFD
rberek



Joined: 10 Jan 2005
Posts: 207
Location: Ottawa, Canada

View user's profile Send private message

PostPosted: Mon Apr 24, 2006 11:19 am     Reply with quote

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

View user's profile Send private message

PostPosted: Tue Apr 25, 2006 11:20 am     Reply with quote

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

View user's profile Send private message

PostPosted: Tue Apr 25, 2006 11:36 am     Reply with quote

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

View user's profile Send private message

PostPosted: Tue Apr 25, 2006 1:47 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Tue Apr 25, 2006 1:59 pm     Reply with quote

The datasheet you posted has a URL on the bottom. I went there and found they have sample software for their modules. Not in CCS C, but it would be a start.

http://www.noritake-elec.com/software_examples.htm

and they have detailed data sheets for the same family of VFDs you intended to use. Not exactly the same one, but the interfaces are likely the same.

http://www.noritake-elec.com/GetSpecificationNew.asp?part=CU20045SCPB-T28A&full_id=1269&reduced_id=1161

But I have to ask. Why didn't you go there and check things out?
The Puma



Joined: 23 Apr 2004
Posts: 227
Location: The Netherlands

View user's profile Send private message

PostPosted: Tue Apr 25, 2006 2:01 pm     Reply with quote

Thx, i have ask them
klovewell



Joined: 01 Apr 2005
Posts: 1

View user's profile Send private message

Noritake serial port
PostPosted: Wed Apr 26, 2006 2:54 pm     Reply with quote

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

View user's profile Send private message Send e-mail

PostPosted: Wed Apr 26, 2006 9:58 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Fri Apr 28, 2006 4:40 am     Reply with quote

Yes, did nobody exeriment with this part and have some code to try
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Fri Apr 28, 2006 10:39 am     Reply with quote

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

View user's profile Send private message

PostPosted: Fri Apr 28, 2006 2:15 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Fri Apr 28, 2006 2:48 pm     Reply with quote

It must be possible to drive this VFD with a PIC
Or ist't?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Apr 28, 2006 3:48 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Sat Apr 29, 2006 2:09 am     Reply with quote

@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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group