October 22, 2017 | 10:08 pm
You are here:  / First Time / HOWTO / [HOWTO] Set up a Pelco CCTV System (Part I)

[HOWTO] Set up a Pelco CCTV System (Part I)

OK, this one’s a doozy…

figure 1

Pelco Closed circuit camera system. I was contacted to help set up a Pelco camera system and let me say at first, it seemed like it was going to be a fairly easy setup.

Equipment:

Pelco DX 8100 series DVR (runs as a shell on top of windows 2000)

Pelco System 9760 CDU (Code Distribution Unit)

Pelco Esprit III 24-5W PTZ analog cameras

Net 350 TX coax to Ethernet converter

Mikrotik AP with RouterOS for wireless Ethernet connection

Net 360 RX Ethernet to coax converter

KBD300A Variable speed PTZ control system

So, here is the layout:

Camera -> coax -> 350tx -> Ethernet -> Mikrotik -> 802.11g -> Mikrotik -> Ethernet -> switch -> Ethernet -> 350rx -> coax -> DX8100 DVR -> monitor

Seems simple right? And it is. Provided you only want video. If you want PTZ (Pan Tilt Zoom) control, throw all logic and prior electrical experience out the window.

First, we list the problems:

  1. Opening the boxes for various pieces of equipment revealed a whole ton of things that need to be rigged together. Power supplies with bare wires that you have to tie into the keyboard control system. Sections of the manual call for “User supplied cable” which refers to a cable you need to build in order to get the KBD300A to talk to the DVR, etc…

  2. Everything is mislabeled. For example, on the back of the CDU, the labels state that you need to use 3 wires to plug in the PTZ serial cable wires, TX+, TX-, and Ground. that is backwards. The wires that actually plug in are RX+ and RX-. Ground is not required.

  3. The software config on the DX8100 is not set up to allow any kind of control of remote devices over the normal serial ports. The CDU is REQUIRED in order to remote control cameras connected through the Net300 TX and RX system. The CDU being required is not mentioned anywhere in the docs.

  4. The Net300s do not come set up in any kind of usable configuration out of the box. Each one has to be manually set up, first via serial port connection (19200 8-N-1) to set the IP addresses, netmask, etc.. Then you have to log in via a web interface to set up the system to talk to the DVR and the cameras. Also, the initial order did not include all the receivers we needed.

  5. The diagrams are all very confusing or just wrong in the manuals and the manuals are not up to date.

  6. The documentation that does exist is confusing and hard to find. It is spread across manuals for each device but some essential information is in the manual for another device.

  7. Terminology is inconsistent across devices.

  8. Wire color coding is inconsistent across devices.

  9. None of the devices are set up, by default, to be able to talk to any other device.

  10. The entire system setup is counter intuitive.

Ok, basic steps to get the system above working (once you have all the physical equipment). We will start from the camera side. This example will assume a few facts which will change based on number of cameras and your specific network requirements. We will be using the following format for our network: 10.0.0.1 for the transmitter and 10.0.0.101 for the receiver. For example, camera 1 will be 10.0.0.1 and 10.0.0.101, camera 2 will be 10.0.0.2 and 10.0.0.102, etc…

First, set up the Net350 transmitter and receiver:

  1. Plug in a serial cable to COM1 on the transmitter and open your terminal program. Set your serial port to 19200 8-N-1.

  2. Press Enter to get the username prompt. username by default is service and there is no password.

  3. Press “i” to get to the IP menu.

  4. Press “i” to set the local ip address.

  5. Type in 10.0.0.1 and press enter.

  6. Press “r” to set up the ip address for the receiver.

  7. Type in 10.0.0.101 and press enter.

  8. Press “a” to turn on auto-connect

  9. Press “x” and “q” to exit the menu and quit

  10. Unplug the power to the transmitter and plug it back in to reset the transmitter. (REQUIRED)

  11. Unplug your serial cable and plug it into COM1 on the receiver

  12. Perform the same steps as above, only reverse the IP addresses (i=10.0.0.101, r=10.0.0.1)

  13. Unplug the power to the receiver and plug it back in to reset the receiver.

  14. Do this for each transmitter and receiver pair

  15. Set your computer up to be on the same ip range as the Net350 devices

  16. Open a browser to http://10.0.0.1

  17. Click on Setup and change COM1 to 4800bps, 8-N-1.

  18. Change the protocol for COM1 to Pelco

  19. At the bottom of the page, change the Pelco Address to the number of the camera as defined by the dip switches on the camera.

  20. Click on Apply for each section in turn to save the settings.

  21. Now browse to http://10.0.0.101

  22. Click on Setup and change the same settings as above except for the camera number. There is no option for camera number on the receiver.

Next, set up the camera:

  1. Dip switches on each camera must be set to the individual address of the camera. No software configuration will happen since it is not supported on analog cameras.

  2. Dip switch settings for the address of the camera are on the top set of switches (SW2) (notice how backwards that is)

  3. Settings are in binary, so switch 1 on and the rest off are for address 1. For address 2, you need switch 1 off and switch 2 on. For address 3, you need switch 1 and 2 on, etc… Learn your binary, it will help.

  4. On the camera, there are cables sticking out of the bottom. These wires are tinned, but very delicate so it is very easy to screw up. There also is not really very much wire to work with. Each lead is about 10cm so if you screw up and have to chop the end off the wire, you only get a few tries. On the good side, you only need to deal with 2 wires.

    1. Attach TX+ on the camera to RX+ on the serial cable lead

    2. Attach TX- on the camera to RX- on the serial cable lead

  1. Plug the serial cable end into COM1 on the Net350 TX unit.

  2. Plug the coax cable from the camera into the Net350 TX unit.

  1. Connect an RJ45 patch cable from the 10/100 port on the TX unit into a switch. (this is for testing only. In the actual install, you would connect this cable to your Mikrotik or backbone between the remote camera location and your NOC)

  2. On the other end, plug in a RJ45 patch cable from the switch to the RX unit’s 10/100 port.

  3. Plug the serial cable into COM1 on the Net350 RX unit.

  4. On the CDU, for each camera there are 3 terminals labeled TX+, TX-, and Ground.

  5. Take the wire labeled RX+ on the serial cable and screw it into the terminal labeled TX+

  6. Take the wire labeled RX- on the serial cable and screw it into the terminal labeled TX-

  7. Ignore the ground wire as it does nothing.

  8. On the back of the DVR, there are 4 RJ45 ports on the right hand side. These are RS422/482 ports, NOT Ethernet. The ports are upside down. Port 1 is on the bottom, and port 4 is on the top. Remember this.

  9. Connect a rollover flat cable from the IN RJ45 port on the CDU to the bottom port on the back of the DVR (Port 1).

  10. Log into the DVR software (Default username and password are both “Admin”)

  11. On the right hand side of the screen, you will see an option marked “Network”. Click that.

  12. Once in the network settings, click on the “Ports” tab. (Another odd setting as it has nothing to do with networking at all)

  13. There is a drop down list at the top that says “COM1”. Click on that and change it to Port1

  14. Now, change the Device to Spectra and the baud rate to 4800 8-None-1

  15. Click on Apply

  16. Reboot the DVR

  17. When the system comes back up, log back in as Admin and you should have video on Camera1.

  18. Now we need to set up the PTZ control.

    1. Click on the config icon at the top of the screen (looks like a toothed gear)

    2. Set the protocol to “Pelco D” and set the camera address to the camera number

    3. Baud rate, etc.. are 4800 8-None-1

    4. Click on Apply

    5. Click on the camera icon at the top of the screen

    6. click in the middle of the picture and drag the cursor to the top, bottom, left and right to test the PTZ control.

  19. Now that you can control the camera, it’s time to set up the KBD300A remote control device.

    1. First thing here is to create the cables you will need since they don’t come with the device.

    2. There is a screw block that comes with the kit that has 8 terminals to screw wires to.

    3. If you hold the block so that the RJ45 jack is on the bottom, the terminals are as follows:

      1. Terminal 1 is on the lower left with Terminal 2 directly above terminal 1. 3 is above that, and 4 at the top left.

      2. Terminal 8 is on the lower right with terminal 7 directly above terminal 8. 6 is above 7 and 5 is at the top right.

    4. Grab a piece of cat5 cable and wire an rj-45 connector as follows:

      1. Pin 1 is Blue

      2. Pin 2 is White Blue

      3. Pin 7 is White Orange

      4. Pin 8 is Orange

    5. On the Terminal block, wire it as follows:

      1. Pin 1 is Blue

      2. Pin 2 is White Blue

      3. Pin 3 is AC power from the power supply (+ and – do not matter)

      4. Pin 4 is AC power from the power supply (+ and – do not matter)

      5. Pin 7 is White Orange

      6. Pin 8 is Orange

    6. You should now have a cable that you can plug into port 2 (second from the bottom) on the back of the DVR

    7. Run a straight flat cable from the RJ45 jack on the terminal block to the back of the KBD300A

    8. Using a small phillips(+) screw driver, open the back of the KBD300A and set the switches you find there as follows:

      1. Switches 1-5 should be UP (up = off, yes it is backwards too)

      2. Switches 6-7 should be DOWN (down = on)

      3. Switch 8 is UP

    9. In the DVR software, click on the config icon, then networking and the ports tab

    10. Select port 2 and set it as follows:

      1. Device KBD300A

      2. RS485

      3. 9600 8-Odd-1 (crazy eh?)

      4. Click Apply and reboot the DVR

    11. Plug the power in for the KBD300A and you should be able to PTZ with the joystick.

You should now have a complete setup from camera to joystick control. We will not get into configuration of the Mikrotik systems, that will be covered in a separate post at a later date.

initrd

[ad#ad-1]