Pi VIDS2 Quick Start Guide

Pi VIDS2 Quick Start Guide Introduction Pi VIDS2 is a video and audio recorder which can be controlled by a data logger, or operated by a switch fitte...
3 downloads 2 Views 270KB Size
Pi VIDS2 Quick Start Guide Introduction Pi VIDS2 is a video and audio recorder which can be controlled by a data logger, or operated by a switch fitted in the connection loom. When controlled by a Pi data logger video frames are time synchronised with the logger channels. Up to four recorders can be controlled by a single data logger on a common CAN bus. The Pi VIDS2 records MPEG-2 compressed video and two channels of audio onto an internal compact flash memory card. The combined video and audio streams are called media data. This media data is offloaded over a 100BaseT network. The combined media and logged channels information (PDS data files) can then be viewed in Pi Toolbox using the Media Display. The Pi VIDS2 system comprises the following items: ■

A solid-state video recorder with 1GB internal memory card



A 25fps PAL camera



An audio amplifier



Pi VIDS2 Server software for setting up a recorder and offloading video and audio data.

Installation Up to four Pi VIDS2 recorders can be controlled by connecting them to a CAN bus and then using CAN messages to Start and Stop recording. Alternatively the Pi VIDS2 recorders can be controlled using a switch (or a Low Side Driver) to Start and Stop recording. Pi VIDS2 Server software You must use the Pi VIDS2 Server software to configure the Pi VIDS2 recorders to use the type of control that you have chosen. Information on configuring Pi VIDS2 Server software for each type of control is given in sections “Using CAN to Start/Stop recording” on page 9 and “Using Trigger Level to Start/ Stop recording” on page 9 of this Quick Guide.

Pi VIDS2 Quick Start Guide 29B-071499-1E

1

Installation for control over a CAN bus. Up to three additional Pi VIDS 2 units can be used. Camera

Camera

Ethernet

Camera

Ethernet

Camera

Ethernet

Ethernet

Logger Audio right input

Audio left input

Power

Audio right input

Power

Pi VIDS 2

Audio Audio left right input input

Pi VIDS 2

Audio left input

Power

Audio right input

Audio left input

Power

Pi VIDS 2

CAN Bus

Pi VIDS 2

To serial port on PC. (This connection is only required to change Pi VIDS 2 IP address)

Connecting multiple Pi VIDS2 recorders for control over a CAN bus

Installation for control using a switch (or LSD)

Up to three additional Pi VIDS 2 units can be used. Camera Switch connected to pin 12 Audio right input

Ethernet

Power

Camera Ethernet

Switch connected to pin 12 Audio left input

Audio right input

Pi VIDS 2

Power

Camera Switch connected to pin 12

Audio left input

Pi VIDS 2

Audio right input

Ethernet

Power

Camera Switch connected to pin 12

Audio left input

Audio right input

Ethernet

Power

Pi VIDS 2

Audio left input

Pi VIDS 2

To serial port on PC. (This connection is only required to change Pi VIDS 2 IP address)

Connecting multiple Pi VIDS2 recorders for control using a switch (or LSD)

2

Pi VIDS2 Quick Start Guide 29B-071499-1E

What the status LEDs mean Camera status LED

Connector 1 (Camera)

Connector 2 (System)

Recording status LED

Location of status LEDs

Camera status LED Recording status LED Steady green: Camera detected Steady green: Unit ready to record Flashing red: Camera not detected Steady red: Unit is recording Flashing red: Memory is full

Configuring your PC to communicate with Pi VIDS2 recorders This section shows how to setup the IP address of your PC so that it will communicate with the Pi VIDS2 recorders. To allow successful Ethernet communications with Pi VIDS2 recorders it is recommended that you install a separate network card in your PC that will be used only for connecting to Pi VIDS2 recorders. To set up the IP address of your PC: 1

Open the Control Panel on your PC.

2

Double click on Network Connections.

3

Right click on Local Area Connection. All network cards will be listed.

4

Select the properties of the network card you will use to communicate with the Pi VIDS2 recorder.

Pi VIDS2 Quick Start Guide 29B-071499-1E

3

5

Select the properties of the Internet Protocol (TCP/IP)

6

Click radio button Use the following IP address.

7

Change the IP address: to 192.168.255.XXX, where XXX is a unique number on your network. e.g. 192.168.255.120

8

Change the Subnet mask: to 255.255.255.0

You should now be able to connect to a Pi VIDS2 recorder with the default IP Address of 192.168.255.129.

4

Pi VIDS2 Quick Start Guide 29B-071499-1E

Pi VIDS2 IP address setup The standard IP address of a Pi VIDS2 recorder is 192.168.255.129. However, if you are running more than one Pi VIDS2 recorder and you want to download simultaneously through a hub, each recorder will need to be given a unique IP Address as detailed below. To change the IP address of a Pi VIDS2 recorder: You use a serial port connection to change the IP address of the additional Pi VIDS2 recorders. The optional accessory Pi VIDS2 setup loom, part number 60B-503081, will allow serial communications between your PC and a Pi VIDS2 unit. 1

Connect the Pi VIDS2 setup loom to a serial port on your computer.

2

Use Notepad to type and save a text file with the following lines: IP Address = 192.168.255.129 Subnet Mask = 255.255.255.0 Default Gateway Host Name Idle Timeout = 120

Change the IP Address as appropriate in step 2 above from those listed below: ■

Pi VIDS2 recorder number 2 to be 192.168.255.130.



Pi VIDS2 recorder number 3 to be 192.168.255.131.



Pi VIDS2 recorder number 4 to be 192.168.255.132.

3

Start HyperTerminal. Click Start, point to All Programs, point to Accessories, point to Communications, and then click HyperTerminal.

HyperTerminal starts and the Connection Description dialogue appears.

4

In the Name box type a name that describes the connection. e.g. Pi VIDS2.

5

In the Icon box, click an icon. Click OK.

Pi VIDS2 Quick Start Guide 29B-071499-1E

5

The Connect To dialogue appears.

6

In the Connect using box, choose the port (COM1 or COM2) you want to use. Click OK.

The COM1 Properties (or COM2 as appropriate) dialogue appears.

Make sure the Port settings are: Bits per second = 115200; Data bits = 8; Parity = None; Stop bits = 1; Flow control = None. Click OK The Properties dialogue box closes. 7

In the HyperTerminal window type: load ocd {This alerts the Pi VIDS2 recorder to expect a file}

6

8

Select Transfer > Send File (from the drop down menu in HyperTerminal)

9

Browse to the file you saved in step 2 above.

10

Click Send.

11

After the file has been sent successfully, power cycle the Pi VIDS2 recorder.

Pi VIDS2 Quick Start Guide 29B-071499-1E

Pi VIDS2 Server software The Pi VIDS2 Server software is used to configure and setup a Pi VIDS2 recorder over the Ethernet connection. If you have more than one Pi VIDS2 recorder you can connect them all to an Ethernet hub and have only one download lead.

Installing the Pi VIDS2 server software Before you can use the Pi VIDS2 Server software you must install it on your computer. To install Pi VIDS2 Server software place the CD in the drive and follow the on screen instructions.

Pi VIDS2 Server main dialogue

On-line Help After installation of the VIDS2 Sever software you can access On-line Help by clicking the Help button on the main window, or for a context sensitive Help press F1. File > Manually Associate files If you have media or PDS files on your system that are not stored in the correct locations you can use this menu item to automatically search for any files that they reference. The media and PDS files can then be moved so that they are in the correct locations relevant to each other. Setup > Offload Configuration Pi VIDS2 media files must be associated with the relevant logged data PDS files to allow synchronised playback in Pi Toolbox. Use this menu item to configure the software to automatically offload the media data and associate the media files and the logged PDS data files. This allows you to setup both the Offload Configuration and the Association Configuration.

Pi VIDS2 Quick Start Guide 29B-071499-1E

7

Setup > VIDS2 Recorder Setup This menu item allows you to configure the following Pi VIDS2 recorder properties. The default settings are shown in brackets. ■

Camera Number (1)



Camera Voltage (12V)



CAN Message ID (a0)



CAN Termination (On)



Trigger Level (Low. Not available if the Trigger Mode is set to CAN)



Trigger Mode (CAN)



Video Quality (Medium)

Pi VIDS2 Recorder Setup Wizard

Camera Number Use this menu item to choose the camera number connected to that recorder. Camera Voltage Use this item to choose a camera supply voltage (Off/0/5/9/12V@ 200mA max) for your camera. CAN Message ID Each Pi VIDS2 recorder is supplied with the same default CAN Message ID. This CAN Message ID may be changed to avoid conflicts with other devices on the same CAN bus. If the CAN Message ID is changed then all VIDS2 units must have the same new CAN Message ID. The same new CAN Message ID must also be set in the Data Logger event that is used to trigger recording.

CAN Termination The CAN bus that the Pi VIDS2 recorders are connected to must be terminated at each end of the bus. If you use a Pi VIDS2 recorder at the end of a CAN bus choose Yes for that recorder.

8

Pi VIDS2 Quick Start Guide 29B-071499-1E

Trigger Mode (CAN) You can start and stop the Pi VIDS2 recording using messages on a CAN bus. Using CAN to Start/Stop recording Pi Loggers use a CAN bus to transmit messages which instruct the Pi VIDS2 recorder to Start or Stop recording. Pi Loggers also receive CAN messages from the Pi VIDS2 recorder which are used to synchronise the video with the logged data. Note: If you are using a Pi Sigma logger you must use Pi Workshop to change the default Event Logging memory of 0 kilobytes (kb) to at least 500kb. This ensures that the VIDS SYNC Events, (which associate the Media and Data files,) can be recorded. For information on changing the Logging Memory refer to section Event Storage in the Pi Workshop User Guide.

Trigger Mode (DigitalInput) You can start and stop the Pi VIDS2 recording using a manual switch or Low Side Driver (LSD). Using Trigger Level to Start/Stop recording Use this parameter if you chose DigitalInput as the Trigger Mode and Note: When using Trigger recording, the media data will not be automatically associated with the logged data. The recorder will act simply as a video recorder, not a Video Indexed Data System. However after down loading the recorded media it can be viewed and manually synchronised with the logged data using Pi Toolbox. ■

Choose Low and connect System connector pin 12 to Ground via a switch or a Low Side Driver (LSD). Close the switch to START recording. Open the switch to STOP recording.



Choose High and connect System connector pin 12 to a switch or an LSD. Open the switch to START recording. Connect the switch to Ground to STOP recording.

Ground is assumed to be 0V but must be below the CAN-HI voltage level. Video Quality Actual times vary depending upon the complexity of the recorded images etc. Setting DVD High Medium Low

Recording time Approximately 15 mins of video and audio Approximately 35 mins of video and audio Approximately 60 mins of video and audio Approximately 100 mins of video and audio

Pi VIDS2 Quick Start Guide 29B-071499-1E

9

Pi VIDS2 audio amplifier The audio amplifier supplies a DC 5 volts (via 5k Ohm) feed for connection to a two wire mono electret microphone (not supplied by Pi Research). The audio amplifier plugs into the Camera loom using an AS6-06-05PA-HE connector. The output from the audio amplifier is connected to pin 6 (Audio left input) and pin 5 (Audio ground). See the diagram below.

Pi VIDS 2

Camera

Audio amplifier

microphone input 3.5mm jack socket

Connecting the VIDS2 audio amplifier

The microphone input is a 3.5mm jack socket, which has a signal input and a screen connected to the shell.

10

Pi VIDS2 Quick Start Guide 29B-071499-1E