PIC_OSD logo

Serial Video Text Overlay Unit

OSDSER Order

The serial video text overlay unit is designed for applications where the data from a serial data source needs to be displayed as a video overlay. By default the units are sold programmed with the serial command interface described below. This is provided to allow the unit to be controlled from a PC or microcontroller software program. The unit may also be programmed with application specific programs. Order OSDSER-BK for the hardware only with no software suitable for programming with your own software. The hyperterminal file, stv.ht, can be used to communicate with the unit. The unit is housed in a smart ABS plastic enclosure with phono connectors for video in / out, and a 2.1mm DC power socket. It is designed to be powered from the same power supply as the camera and so the unit does not have a power switch. A 1.2m serial cable with a female DB9 connector is supplied for connecting to a PC serial port or other RS232 serial equipment.
Compatible with colour and mono composite video signals. 1Vp-p. PAL and NTSC
Dimensions 110 x 65 x 28mm LxWxH
Requires a regulated 9 - 12V DC power supply.
Power consumption 50mA

We do not have a generic application which runs on the OSDSER unit to display cash register or EPOS information. The EXAMCODE example software contains a cash register example. However this is not generic and is only meant as the starting point for development, although it may work "as is" for some simple applications with no binary control characters. The OSDSER-BK unprogrammed unit is meant for users who have written their own software based on this, or other, example. There are many different cash registers / POS units with different output formats and no one interface would allow an OSDSER unit to work with any cash register. Please see our cash register FAQ for more details.


Serial Video Text Overlay Unit documentation

Serial Command Interface Program

The serial command interface program allows the video overlay unit display to be controlled from a PC terminal program, microcontroller or other serial equipment. It can communicate at 2400, 4800, 9600, 19200 and 38400 baud ( 8 data 1 stop no parity ). Fitness of this software for any specific purpose is specifically disclaimed.

Serial Command Interface Program Command Set

Each command consists of an upper case ASCII character which identifies the command. When a command requires a numerical parameter, shown as nn below, this parameter is entered as two ASCII numeric characters in the range 00 to 99. So 1 is entered as 01. The character string display and storage commands S & F display 28 character strings. The T command puts the system into typewriter mode. Characters are displayed on the screen as they are typed until a return is entered. Characters for display can be entered as ASCII directly from the PC keyboard.
= ASCII carriage return character, hexadecimal 0x0D. This character signals to the system that a command has been entered. The serial command interface program responds with the command prompt character >. All the serial commands take various times to execute therefore the return of the > character should be used to indicate that a command has completed.
Command Action
A Clears the entire screen. All character locations on the screen are filled with the space character.
B Toggles the character background display on and off. Current state stored in the unit
Cnn Sets the character position along the selected row ( X axis ) nn = 00..29. This value is stored in the unit and sets the position of the stored string.
D Toggles the character blink attribute on or off. The current state stored in the unit
E Displays the string stored in the unit at the character and row positions defined and stored in the unit by the C & R commands, with the attributes stored with the O command.

Fc0..c27

Stores the string entered in the eeprom memory of the unit. Up to 28 characters c0..c27 can be typed before entering a return character. The string is also displayed on the screen. The stored string is automatically displayed at start up and when the E command is entered.
Gnn Sets the character outline black level. nn = 00..03, 00 = Darkest, 03 = Lightest. Default =00
Hnn Sets the screen and character background black level. nn = 00..07, 00 = Darkest, 07 = Lightest. Default = 02
Inn Toggles the character invert attribute on or off
J Not used
K Not used
L Moves character position to the next line, character position 00
M Set the unit into external video signal mode
N Set the unit into internal video signal mode
O Store the current settings of the background, blink and invert character attributes. The stored settings are used for the display of the stored string
P Set the current values of the background, blink and invert character attributes to the stored settings
Q Reset the current values of the character attributes to background = off, blink = off and invert = off
Rnn Sets the character row position nn = 00..15 This value is stored in the unit

Sc0..c27

Displays a string of up to 28 characters. The characters typed are only displayed when return is entered
Ttext Enters typewriter mode. Text characters entered are displayed immediately on the screen until a return character is entered to exit typewriter mode
U Reset the unit to default values for character brightness, black level, screen background and X - Y display position
Vnn Not used
Wnn Change baud rate. 00 = 2400, 01 = 4800, 02 = 9600, 03 = 19200, 04 = 38400
Xnn Sets the character position along the selected row ( X axis ) nn = 00..27. This value not stored in the unit
Ynn Sets the character row position nn = 00..15. This value is not stored in the unit
Z Not used
ZA RESERVED FOR CHARACTER SET REDEFINITION. DO NOT ISSUE THIS COMMAND VIA A TERMINAL PROGRAM
ZB Not used
ZC Not used
ZD Not used
ZEnn Set the character brightness. nn = 00..03, 00 = Brightest, 03 = Darkest. Default = 01
ZFnn Set the vertical display offset from the top of the screen. nn = 00..31. Default = 31
ZGnn Set the horizontal display offset from the left of the screen. nn = 00..63. Default = 55
ZH Turn the background attribute of subsequent text on
ZI Turn the background attribute of subsequent text off
ZJ Turn the blink attribute of subsequent text on
ZK Turn the blink attribute of subsequent text off
ZL Turn the invert attribute of subsequent text on
ZM Turn the invert attribute of subsequent text off

Home

Back

Order

© The BlackBoxCameraTM Company Limited 2008