Article
Pelco-D Control for CCTV Cameras Pelco-D Control for CCTV Cameras
Based on the Elektor Platino
This article discusses the P-T-Z camera communication protocol. For this, two programs were written for the Elektor Platino board, and tested with two types of P-T-Z dome cameras.
Component list
Component List, Platino
Resistors
Default: 5%, 0.25W, 10mm
R2, R3 = 47?
R13 = 100?
R1,R8,R9 = 470?
R11 = 4.7k?
R4,R5,R6,R7,R10,R12 = 10k?
P1 = 10k? preset H
Capacitors
C1,C2 = 22pF, 0.1” pitch
C4 = 10nF, 0.2” pitch
C3, C5, C6 = 100nF, 0.2” pitch
C8 = 1µF, 35V, 0.1” pitch
C9 = 10µF, 35V, 0.1” pitch
Inductors
L1 = 10µH
Semiconductors
D2 = 1N5817
D1 = RGB LED, 5mm (e.g. Kingbright L-154A4SURKQBZGW; Farnell # 2290374)
T1 = BC547C
IC1 = ATMega1284P-PU, programmed
IC3 = 7805
Miscellaneous
X1 = 16MHz quartz crystal
BUZ1 = buzzer, 12 mm, 6.5mm pin spacing
LCD1 = 4x20 characters, e.g. # Farnell 1671508)
S4C = pushbutton, Multimec 3FTL6
S5C = rotary encoder, Alps EC12E2424407
K3 = 6-pin (2x3) pinheader, 0.1”pitch
K5 = 8-way SIL socket strip, 0.1”pitch
K6,K7 = 6-way SIL socket strip, 0.1”pitch
K8 = 3-way SIL socket strip, 0.1”pitch
K9 = 16-pin pinheader, 0.1” pitch (for LCD1)
DIP-40 socket for IC1 (optional)
Printed circuit board # 100892-1 v1.2 or most recent (Elektor Store)
Component List, RS-485 Interface
Resistors
5%, 0.25W, 10mm
R1 = 1k?
R2,R3 = 4.7k?
R4,R5 = 56?
R6 = 120?
Capacitors
C1 = 100nF, 0.2”pitch
Semiconductors
IC1 = SN65176BP
Miscellaneous
K5 = 8-pin pinheader, 0.1”pitch
K6,K7 = 6-pin pinheader, 0.1”pitch
K8 = 3-pin socket strip, 0.1”pitch
K10,K11 = 2-way PCB screw terminal block, 0.1”pitch
K12 = DC connector (eg Farnell 1217037)
JP1,JP2,JP3 = 2-pin pinheader, 0.1”pitch
PCB #140433-1 v2 or most recent (Elektor)
Resistors
Default: 5%, 0.25W, 10mm
R2, R3 = 47?
R13 = 100?
R1,R8,R9 = 470?
R11 = 4.7k?
R4,R5,R6,R7,R10,R12 = 10k?
P1 = 10k? preset H
Capacitors
C1,C2 = 22pF, 0.1” pitch
C4 = 10nF, 0.2” pitch
C3, C5, C6 = 100nF, 0.2” pitch
C8 = 1µF, 35V, 0.1” pitch
C9 = 10µF, 35V, 0.1” pitch
Inductors
L1 = 10µH
Semiconductors
D2 = 1N5817
D1 = RGB LED, 5mm (e.g. Kingbright L-154A4SURKQBZGW; Farnell # 2290374)
T1 = BC547C
IC1 = ATMega1284P-PU, programmed
IC3 = 7805
Miscellaneous
X1 = 16MHz quartz crystal
BUZ1 = buzzer, 12 mm, 6.5mm pin spacing
LCD1 = 4x20 characters, e.g. # Farnell 1671508)
S4C = pushbutton, Multimec 3FTL6
S5C = rotary encoder, Alps EC12E2424407
K3 = 6-pin (2x3) pinheader, 0.1”pitch
K5 = 8-way SIL socket strip, 0.1”pitch
K6,K7 = 6-way SIL socket strip, 0.1”pitch
K8 = 3-way SIL socket strip, 0.1”pitch
K9 = 16-pin pinheader, 0.1” pitch (for LCD1)
DIP-40 socket for IC1 (optional)
Printed circuit board # 100892-1 v1.2 or most recent (Elektor Store)
Component List, RS-485 Interface
Resistors
5%, 0.25W, 10mm
R1 = 1k?
R2,R3 = 4.7k?
R4,R5 = 56?
R6 = 120?
Capacitors
C1 = 100nF, 0.2”pitch
Semiconductors
IC1 = SN65176BP
Miscellaneous
K5 = 8-pin pinheader, 0.1”pitch
K6,K7 = 6-pin pinheader, 0.1”pitch
K8 = 3-pin socket strip, 0.1”pitch
K10,K11 = 2-way PCB screw terminal block, 0.1”pitch
K12 = DC connector (eg Farnell 1217037)
JP1,JP2,JP3 = 2-pin pinheader, 0.1”pitch
PCB #140433-1 v2 or most recent (Elektor)
Discussion (0 comments)