B&O Datalink PC Interface


This is a design and software for a PC B&O datalink PC interface.
The interface when built will allow reading of either infra-red or direct wired datalink messages which are then translated into PC RS232 serial commands.
The interface communicates with a PC at 115200 baud, 8 bits, no parity, one stop bit.

Board design and software

Datalink Protocol

The datalink commands sent from a beo4 are enumerated below.
The data format is: 4 bits header, 5*x bits address, 8*y bits data. This is rounded up to the nearest byte by the interface and shown in the table below. e.g. a header of bits "0010" becomes "00000010" i.e. "0x02" in hex. The values in the following table are these rounded bytes in hex.
The address byte denotes the "device" that the command is for, these are listed below the table where known. For example "7" in "TV" mode will produce "00 00 07", but in "ATAPE" mode will produce "00 01 07"

If anyone has any corrections or additions please let me know!
Button/CommandData
TV00 00 80
LIGHT00 1B 9B
RADIO00 01 81
SAT00 00 8A
AV00 00 BF
CD00 00 92
VTAPE00 05 85
RECORD00 05 37
ATAPE00 01 91
000 xx 00
100 xx 01
200 xx 02
300 xx 03
400 xx 04
500 xx 05
600 xx 06
700 xx 07
800 xx 08
900 xx 09
TEXT00 00 88
MENU00 00 5C
GREEN00 xx D5 - repeat 00 xx 76
UP00 xx 1E - repeat 00 xx 72
YELLOW00 xx D4 - repeat 00 xx 77
LEFT00 xx 32 - repeat 00 xx 70
GO00 xx 35 - repeat 00 xx 75
RIGHT00 xx 34 - repeat 00 xx 71
RED00 xx D9 - repeat 00 xx 79
DOWN00 xx 1F - repeat 00 xx 73
BLUE00 xx D8 - repeat 00 xx D8
VOL+00 xx 60
VOL-00 xx 64
LIST00 xx 58
EXIT00 xx 58
STOP00 xx 36
DOT00 xx 0C
DOT00 xx 0C
Menu commands
AUX00 01 83
FORMAT00 00 2A
STAND00 00 F7
SPEAKER00 00 44
P-IN-P00 00 FA
CLOCK00 00 28
MONO00 00 46
RESET00 00 0E
RECORD201 - needs bugfix
V.SETUP
STORE00 00 0B
CLEAR00 00 0A
BASS00 00 4D
TREBLE00 00 4E
SOUND00 00 44
TUNE00 00 20
SHIFT00 00 35
V.AUX00 00 82
DOORCAM00 00 8D
CAMCORD00 00 87
PHONO00 01 93
V.TAPE201 - needs bugfix
A.TAPE200 01 94
CDV00 00 86
CD200 01 97
P-V.AUX00 00 FA
LINK08 01 -needs bugfix
SP.DEMO00 1D 89
LINK-AV00 01 BF
TURN00 01 46
Device addresses:
00 - video
01 - audio
05 - vcr
1B - light
1D - demo

Ivor Hewitt - Jan 2006.
ivor - at - ivor-dot-it

www.ivor.it