Command Set
The SV2000 uses 9600 baud rate and 8N1 serial protocol. Any received ASCII characters are printed on screen, except for commands that begin with the escape code (ASCII 27). When the cursor reaches the right lower corner, the existing text is scrolled up one line. On power up, the SV2000 starts with the last saved text and state.
List of commands:
Command
Esc code
Dec. code
Description
Standard Commands
No operation
9,11,12,14
Chip ignores these codes
Carriage Return
CR
13
Moves cursor to beginning of line
Line Feed
LF
10
Backspace
BS
8
Delete last character
Clear Screen
ESC C
27,67
Clear screen
Set Cursor Position
ESC S x y
27,83,x,y
Move cursor to position X, Y
Set Cursor Home
ESC H
27,72
Set cursor to 0, 0
Show Cursor
ESC T
27,84
Show cursor
Hide Cursor
ESC F
27,70
Hide cursor
Select Font 1
ESC 1
27,49
Select Font 2
ESC 2
27,50
Select Font 3
ESC 3
27,51
Special Commands
Show version info
ESC *
27,42
Turns on the screen, set Font1, shows the welcome banner on screen
Get device ID
ESC ?
27,63
Returns the device ID and version number
Screen ON
ESC +
27,43
Turn Screen on (Screen defaults to on)
Screen OFF
ESC -
27,45
Turn Screen off
Normal mode
ESC .
27,46
Set white characters on black background (for all text)
Inverted mode
ESC !
27,33
Set black characters on white background (for all text)
PAL/SECAM mode
ESC >
27,62
Set CCIR-based mode (624 lines, 50 fps Europe)
NTSC mode
ESC <
27,60
Set RS170-based mode (524 lines, 60 fps US)
Set Vertical Position
ESC V x
27,86,x
Adjust vertical position of text, x=0…31 lines, Defaults to 16
Save/Restore and Font Command
Save current state*
ESC ^
27,94
Save screen text and current state to FLASH
Restore saving state*
ESC _
27,95
Restore screen text and current state from FLASH
Send data to buffer
ESC @ ...
27,64,d1, ...
d1...d64–data, d65 is CRC (not used, any value)
Write buffer to FLASH*
ESC # x x
27,35,x,x
x-number of FLASH block from 0...143 (x is multiplied by 2)
Note. The commands marked by * require additional processing time (approx 20ms) before the next command can be sent.
Pin #
Name
1
Syn
Sync Out
2
Vid
Video Out
3
Rx
Serial Input
4
Gnd
Ground/Earth
5
Tx
Serial Out
6
Inv
Normal or Inverted Serial communications mode. (Normal=+5v, invented= gnd)
7
n/c
not used
+5V
Power supply
The SV2000 requires 3 external resistors (R1, R2, and R3) to create composite video from separate video and sync signals. The arrangement in the schematic below produces a 1V peak-to-peak signal. TV input impedance is usually 75 ohm which will decrease the resulting range somewhat. Some TV devices have automatic gain tuning, however adjustment of R2 or R3 may required.
RX Pin 3 is used as the serial data input. The input mode is selected by tying Pin 6 to +5v volts for normal operation or ground for inverted operation. In normal mode, the SV2000 works with any TTL source (i.e. MAX232 line driver etc.).
The SV2000 can be directly connected to a PC Com port by tying pin 6 to ground to enable inverted mode and adding additional 10k resistors on TX Pin 5 and RX Pin 3. The voltage range on pin 3 is limited by the SV2000 PC's internal protective diodes. Not all older PC's will work with this method however, it is provided to allow fast prototyping.
Note. The SV2000 has high impedance for data input (RX pin 3), so it must be connected. Provide a pull up resistor for normal mode or a pull down resistor for inverted mode) Suggested resistor values are between 100 and 1M Ohm.
The SV2000 sends character code 255 once every second to the serial output, TX Pin 5. This signal can be used to determine if the SV2000 is connected and working.
SV2000 Datasheet (word doc)
2Checkout.com, Inc. is an authorized retailer of goods and services provided by www.speechchips.com