-
Notifications
You must be signed in to change notification settings - Fork 3
Installation
Before departing to install an EM system, test the box with sensors in your lab and pre-configure the em.conf (vessel configuration) file and home port file. Connect any cameras intended for the installation in the lab and configure them using a laptop computer as indicated below.
See also [Installation Checklist](Installation Checklist)
The control box runs a custom linux "Karpix" after its packager.
Mount the control box in a dry place with some air flow (not packed in insulation), which is relative free of vibrations.
When installing a control box, Make sure to consult with the vessel owner and arrange a spot on the vessel for good placement. Clean and clear, away from moisture and high traffic areas to avoid accidents involving wires being pulled or damage to the control box. The Em box should be tied down or metal lashing strips could be used to keep it in place. This spot must have a power source close to avoid extending the EM box converter.
All sensors should be labeled with a permanent marker and white electrical tape. The EM box AC Adapter (on applicable models) should be taped at the plug on the brick as they fall out. Extra wires should be coiled up and taped, then hung somewhere safe and out of the way. Zip ties and wire cable holds are great to keep wires in place and looking nice. Any monitor and USB extenders should be taped or tied, to prevent disconnection at sea.
Boot the box, and hit ctrl-alt-f1 to enter the config interface.
We use ACTI D51 compatible POE IP Cameras. They are powered by a POE switch, which connects them to the control box Ethernet port as well.
For configuration the cameras have a web interface, as follows, using Internet Explorer (the config UI has issues with other browsers):
- Host: Set "Host Name" and "Camera Name" to "cam1", "cam2", "cam3" or "cam4" depending on the camera index.
- Date & Time: Set the "SNTP/NTP Server" to "1.1.1.9" and "Sync Time" to "1 Hour"
- Network -> RTP: Set both "RTSP Authentication" and "RTP B2 Frame" to "Disabled"
- IP Settings -> Connection Type: Choose "Static IP Address", and set "IP Address" to "1.1.1.N" where N is your camera index. Set "Subnet Mask" to "255.255.255.0". Set "Gateway" to "1.1.1.254"
- Video -> Video: Set "H.265 Profile" to "High Profile", set "VGA Aspect Ratio" to "Auto Detected", set "Frame Rate" to "15", set "Video Bit Rate Mode" to "Variable Bit Rate", set "Quality" to "High".
The IP address of the control box is 1.1.1.9 . The IP of the cameras needs to be configured to 1.1.1.1 for the first, 1.1.1.2 for the 2nd and 1.1.1.3 for the third and 1.1.1.4 for the fourth. In the control box config (/etc/em.conf), set the correct number of cameras. If the camera quantity is set incorrectly, your user interface will show the wrong number of screens, and will flash periodically in an attempt to recover the nonexistant cameras.
The codec and resolution stuff should match your current camera. We do have screenshots of it somewhere but you have the camera to copy paste from too. The control box itself configures the camera framerate over a REST api.
You might want to connect a camera to your router or switch and view that from your laptop before you go. You'll have to set your laptop's LAN IP to 1.1.1.8 or similar and netmask to 255.255.255.0 . A gateway IP setting is not needed as your 1.1.1 network won't have internet.
The pressure sensor must be tapped into the vessel's hydraulic system, at a point where there is a strong enough pressure response to register when the crew is fishing (hauling with the hydraulic system). Once the sensor is installed, test the response running the hauler and watching the pressure response in the control box user interface. You should see at least 200 PSI difference between idle and hauling states.
Physically, the pressure sensor uses 3 conductors, which are 12V (red), data (green or white), and ground (black). These need to be wired to the control box 12V (pin 1), data in (pin 3), and ground (pin4) respectively. The pressure sensor should be soldered into a cable which runs to the control box, and crimped on the control box end with a Molex connector. After soldering the 3 conductors of the pressure sensor to the cable, ensure they can't touch by covering the solder with heat shrink or tape. Then seal the entire junction with self bonding waterproof tape.
In /etc/em.conf (control box config), set the pressure sensor minimum voltage such that when the hydraulics are idle, the user interface for the PSI is green, indicating a low pressure, just above zero. This usually means setting psi_vmin = 0.9V
GPS installation is done on the mast, or on the underside of the roof of a vessel. Test the GPS response for a few minutes in the user interface before securing the GPS fully. The GPS also needs to be clear of other radio frequency devices such as VHF , Radar , Sat phones and other GPS units. Again the wire should be installed clean and tight on its run into the wheel house. Crimp the GPS wires as follows to connect to the box.
GPS TX (Grey) - Control box RX (White), pin 3
GPS RX (White) - Control box TRX (Blue), pin 2
GPS PWR (Red) - Control box PWR (Yellow), pin 1
GPS GND, etc (Black, Purple, Orange, Orange/white striped) - Control box GND (Black), pin 4