Linuxslate.com Forums
http://linuxslate.com/cgi-bin/forum/YaBB.pl
Original Projects and Builds >> NodeMCU IoT Clock >> FU209SCPB-T 1 Line x 20 Character VFD's
http://linuxslate.com/cgi-bin/forum/YaBB.pl?num=1477173107

Message started by Administrator on Oct 22nd, 2016, 4:51pm

Title: FU209SCPB-T 1 Line x 20 Character VFD's
Post by Administrator on Oct 22nd, 2016, 4:51pm


BASIC USE OF FU209SCPB-T
1 Line x 20 Character VFD's
PW-107-100K
PW-283-00

Data Provided by John
linuxslate.com

Hardware:

Power is 5 Volts Regulated (4.75 – 5.25V).  The Unit Draws approximately 0.5 Amps regardless of what is displayed.

_______________________________________________________________
|
|  6  - N.C.                                                JJJJJJJ
|  5  - Rx Serial Data                                      01234CT
|  4  - GND
|  3  - N.C.
|  2  - N.C.
|  1  - +5V
|_______________________________________________________________

J0 – The function of this jumper is unknown.
J1 – Is shorted as provided.  The function of this jumper is unknown.
J2-JC – The function of this jumper is unknown.
JT – Is TEST.  Short Prior to power up for Test Mode. In Test Mode, The Character Map is Displayed.

Serial Data is 5V TTL Serial Data.  As provided it is run through an inverter glued to the back of the board.  Use this if you are connecting the display directly to an inverted (compliment) TTL serial signal (such as directly to another chip.) If connecting to a serial port or FTDI, this inverter needs to be bypassed. (In other words, the top pin of the larger connector can be connected directly to pin 5 of the left connector)

Other Serial Lines are not needed as there is no need for the display to send data back to the host.

WARNING: VFD (Vacuum Fluorescent Displays) Operate on HIGH VOLTAGE. There is a step-up circuit that boosts the 5 volts to Several Hundred volts. Touching the Pins Leading to the Glass Tube (or other points) can lead to an Electric Shock even if nothing is displayed.


Serial Settings:

As provided, Set serial port to 1200 N81  - 1200 Baud, No Parity, 8 bits, 1 Stop bit.


Control Codes:
*** NOTE: UPDATED with scrolling information ****

Ctrl – H            Backspace (Non Destructive)            
Ctrl – J            Line Feed  (LF)
Ctrl – M            Carriage Return (CR)
                 *Note: To Clear the display, and begin from the Left again, You must send a CR and a LF, Windows terminals may send CR and LF when you hit [Return]. Linux/Mac [Return] Sends only a CR.
Ctrl – O            Blinking Cursor ON
Ctrl – N            Blinking Cursor OFF
Ctrl - S (XOFF)   Scrolling ON (Characters at end of line will side-scroll display)*
Ctrl - Q (XON)    Scrolling OFF (Characters at end of line will just overwrite last character)
Ctrl – K            Blink Text ON            
Ctrl – L            Blink Text OFF            
Ctrl – I            Cursor Forward (Tab of 1 space)

* Scrolling will happen as fast as characters come in, so speed must be controlled in software.

Other Data:

The display is run by a M28802M2 8 bit micro controller. As far as I know, this controller is mask programmed for this application, and other code cannot be loaded onto the controller.

Connection to FTDI:

FTDI                  Display

GND      -      -      GND
5V      -      -      5V
TXD      -      -      Serial Rx

– Bypass Inverter chip on back of display.
– Other pins not needed.
– Using an FTDI allows the display to be plugged directly into a USB port. Most USB Ports should power the display with no problem.
– There are no Lower Case Characters.


Application:

Super Simple Shell Script to make a Digital Clock (Does not use any LCD or VFD drivers):

#!/bin/bash
stty -F /dev/ttyUSB0 1200
while true; do
printf "\r `date +'%a %d %b %H-%M-%S'`"  > /dev/ttyUSB0
sleep 1
printf "\r `date +'%a %d %b %H %M %S'`"  > /dev/ttyUSB0
sleep 1
done


Super Simple Shell Script to make a System Load Display:

#!/bin/bash
stty -F /dev/ttyUSB0 1200
while true; do
printf "\rLOAD`cat /proc/loadavg |cut -c -14` "  > /dev/ttyUSB0
sleep 1
printf "\rLOAD`cat /proc/loadavg |cut -c -14`*"  > /dev/ttyUSB0
sleep 1
done

Linuxslate.com Forums » Powered by YaBB 2.1!
YaBB © 2000-2005. All Rights Reserved.