112 x 16 Serial Graphic VFD Display
kberck
Posts: 10
Hi all!
I am having troubles with the 112 x 16 Serial Graphic VFD Display, basically...with making it display O.o Didn't come with any documentation, and still haven't heard back from trying to get the full documentation package from their company.
After reading everything I could find on the forum, the only code I found was:
'' Parallax Serial VFD (Noritake GU112X16G-7003)Test
CON
_clkmode = xtal1 + pll16x ' use crystal x 16
_xinfreq = 5_000_000 ' 5 MHz cyrstal (sys clock = 80 MHz)
VFD_PIN = 2 ' serial VFD on P5
VFD_BAUD = 38400 ' minumum baud for display
OBJ
serial : "FullDuplexSerial"
PUB main
if serial.start(1, VFD_PIN, 0, VFD_BAUD)
serial.tx($1B) ' init display
serial.tx($40) ' init display
serial.str(string("Hello World!")) ' send "Hello World!"
Doesn't display anything. With lights out I can barely see glowing lines across the display. Voltage 5. Any help would be appreciated!
Ken
I am having troubles with the 112 x 16 Serial Graphic VFD Display, basically...with making it display O.o Didn't come with any documentation, and still haven't heard back from trying to get the full documentation package from their company.
After reading everything I could find on the forum, the only code I found was:
'' Parallax Serial VFD (Noritake GU112X16G-7003)Test
CON
_clkmode = xtal1 + pll16x ' use crystal x 16
_xinfreq = 5_000_000 ' 5 MHz cyrstal (sys clock = 80 MHz)
VFD_PIN = 2 ' serial VFD on P5
VFD_BAUD = 38400 ' minumum baud for display
OBJ
serial : "FullDuplexSerial"
PUB main
if serial.start(1, VFD_PIN, 0, VFD_BAUD)
serial.tx($1B) ' init display
serial.tx($40) ' init display
serial.str(string("Hello World!")) ' send "Hello World!"
Doesn't display anything. With lights out I can barely see glowing lines across the display. Voltage 5. Any help would be appreciated!
Ken
Comments
The following worked for me... I got the init strings from the basic stamp examples that are posted with the display. The bit below is a pretty chunky way or making a scrolling sign, but it should get you going with some idea of how to use the thing.
Thanks!
Pin ... right... I guess I was lyeing up there... No pin 23 on the demo board, but if you edit the source I posted and make
VFD_PIN = 23
VFD_PIN = 1
you can just hook in 1 on the demo/proto board up to pin 2 on the VFD (remember right to left with the pins facing you -- pin 6 on the outside of the VFD is the only one labeled on the header)
And lastly pin 3 on the VFD goes to any ground/VSS pin... The bottom 2 on the demo boards header....
The only odd thing I can recall was the simple serial did not seem to work when I was testing this out, even though 38400 should be well within it's ability I got random garbage characters... Might have had something to do with the bluetooth serial modules I was trying to use at the time... Might have been something about how I wrote my test code (I dropped out of CS after a year so I make no representations about being competent at any of this stuff)... But if you can't get it working I'm a day or two away from plugging this stuff back together for another test so let me know and I'll take take some pictures and test it again...
-PM