EEVblog Electronics Community Forum
Electronics => Microcontrollers => Topic started by: sdttn on June 30, 2011, 05:36:40 pm
-
Hi,
I need to learn how to connect the PT6311 (http://read.pudn.com/downloads136/sourcecode/embed/582032/PT6311.pdf) (VFD Driver IC with serial interface)
I did not know which serial standards in this IC. :-\
Which comand I need to use in Pic Basic Pro.
I am planing to use 16f628
Thanks.
-
Before we do anything, you linked a VFD on the chatbox.
http://cgi.ebay.com/Vacuum-Fluorescent-Display-8-digit-VFD-clock-nixie-tube-/270747473445?pt=Vintage_Electronics_R2&hash=item3f09ce9625
You are not seriously thinking of buying this at $400 :o Previous 2 were sold for 2 orders of magnitude less, clearly the seller messed up.
First find the VFD you want, and its bloody datasheet. I am tired of ebay sellers not providing a datasheet unless you buy the product. What are they thinking?! >:(
-
I have already had just two of them before.
There is no fancy thing about the VFD.
The datasheet on attachment.
-
Most excellent!
Now, are you forced to use the PT6311 driver? As this is a small multiplexed display it will be easy to use a (40 pin?) MCU with a handful of transistors to drive the display. You can also use specialised shift register latches from eg Maxim, designed to drive VFDs.
-
No,
I prefer PT6311 because of the serial interface it use 3 pin.
Can you say me the maxim ICs?
Thanks for your help.
-
Ok. Regarding the Maxim drivers, you can have 8 control grids and 15 segments per digit. Thats 23 total.
You can use two MAX6920s that can drive 24 anodes (12 each), or a single bigger IC from the same family like the MAX6922/MAX6932/MAX6933/MAX6934
http://datasheets.maxim-ic.com/en/ds/MAX6922-MAX6934.pdf
They are using an SPI interface, but you dont need to write a low-level driver for it using commands, just send out the data you want to display. You can also sample them for free, I have 9x 6934s in front of me for a clock. Some of them allow you to apply a positive bias to the grid with respect to the anodes.
There are other obscure drivers around...if you dont like the Maxim ones.
-
I do not know if maxim send to my side sample.
I found this (http://spritesmods.com/?art=vfdcontroller&page=2)
(http://spritesmods.com/vfdcontroller/schema.jpg)
-
Yeah, thats the idea. Which ICs are these? These seem to share voltage supply for the control logic and the drivers.
-
They are HCF4094Bs.
But I did not understand how to write the program.
The VFD tube must be multible drive. How the shift register ICs working with multiple VFD tube?
http://spritesmods.com/?art=vfdcontroller&page=2
-
Ok.
You need to understand the operation of a shift register and possibly D-type flip flops first. Look online, loads of info.
The MCU sends out a 24 bit wide bitstream to the data line of the first register here. This is shifted inside the register chain with the CLK line signal. When the bitstream has finished being shifted in the registers the Strobe signal is asserted and the bit stream is transfered to the output drivers. The first 11 bits (in this application) will appear at the end, and they will drive the control grids. The remaining 13 bits appear on the left and drive the segments.
To display different numbers at different positions on the display, you need to use persistence of vision (PoV). First prepare the bit stream to address the first digit, then shift it all out and replace it with the bitstream for the next etc. This is inefficient but it will work.
Does this make any sense?
-
Yes, but still I am interesting in PT6311
I found more readable datasheet of PT6311. (Added to attachment)
I did not understand ram addreses. Can you tell me what does the table (page 8 ) mean?
-
Why so interested in this chip? It feels like a 'Chinese ASIC' or one of those badly documented ICs from Futaba...
That table is the display RAM. Anything that you write in the is displayed on the screen, constantly I believe with the controller taking care of the multiplexing.
-
But, the IC have timer I think the timer taking care of multiplex driving.
I found an other IC this chip from NEC. It is UPD16312. (Datasheet attached)
It is actually same as PT6311.
-
It's very easy to do with the main mcu and a timer interrupt. Anyway, it appears it is made by more than one manufacturers.
-
I found C code for the PT6311.
But I can write just in BASIC lang.
The code files are attached.
-
BASIC is great, but it is...basic. You should learn C that is standard in the industry. Once you know one programming language the others are easier.
-
Yes I will learn C.
I found UDN1628. It is VFD driver IC.
What do you think?
(http://img202.imageshack.us/img202/9283/vfd.gif)
The datasheet atthached.
Thanks Alex.
-
Yes, these will work fine. Have you found a supplier for these?
-
Yes, these will work fine. Have you found a supplier for these?
Yes I found local supplier for the ICs.
It is 1.5 USD.
BTW actual photo of this VFD tube.
(http://img9.imageshack.us/img9/3997/dscf0746m.jpg)
I made a video:
Vacuum Fluorescent Alphanumeric Display Test Circuit (https://www.youtube.com/watch?v=pDX-lknj3IM#)
-
Reminds me of Grandstand Astrowars ;) Alright, time to buy a controller now.
-
The game which looks like Glaxian :)
I am planing to use 16F877. I have already one.
Actually I want to make a preamp with PGA2311 (Digital Stepped Attenuator) it use serial interface but it is so simple as I can understand.
VFD module PCB.
(http://img194.imageshack.us/img194/503/pcbb.png)
-
ICs are came up.
I performed a test.
I hooked the one of IC out pins to grids and one of other to segment up.
(http://img15.imageshack.us/img15/576/dscf0202b.jpg)