Serial Port Control From Your Show Controller Or Micro-Processor - MedeaWiz DV-S1 User Manual

Sprite high definition video player
Hide thumbs Also See for DV-S1:
Table of Contents

Advertisement

MedeaWiz® Sprite
.

Serial Port Control from your Show Controller or Micro-processor

For simple file playing, the serial codes are the same as the codes for the earlier MedeaWiz
models.
The serial communications is on the 3.5mm 4 pole jack at 2400, 4800, 9600 or 19200, 8N1 at
3.3 to 5 Volt TTL levels. The factory default is 9600.
Send one byte, Decimal 1 (Binary 0000 0001, Hex 01) to play file 001.xxx. Send Decimal 2
(Binary 0000 0010, Hex 02) to play file 002.xxx and etc. Do not send any other bytes such as a
line-feed or a carriage return. Send only one byte. Make sure your program is sending the
NUMERICAL value, not the character (CHAR) value. Many programs default to sending the
character unless you specify otherwise. The number 1 sent as a CHAR is actually Decimal 49 and
will play file 049.xxx if available.
The Sprite will report back to the Show Control or micro-processor. Every 500 ms, a single Hex
byte is sent representing the file number currently playing. When the end of a file is reached, a
single Hex byte 0xEE is sent.
The Sprite can supply 5 Volts DC on the I/O port for your micro-controller at up to 100 mA. A
short on this supply may result in the internal fuse burning and will void the warranty
Note that real RS232 levels from computers, some PLC's and some other devices use negative
voltages and will require a level translator like the MAX3232 series. Do not allow negative
voltage below ground to be applied to the Sprite. This will void the warranty.
Level translator example to convert real RS232 to TTL level
The MAX3232 can be powered from the Sprite. Connect all Grounds together.
24 |
P a g e

Advertisement

Table of Contents
loading

Table of Contents