Focusing a camera and the first tests
WARNING: THIS IS A PAGE IN PROGRESS! DO NOT FOLLOW IT IF YOU ARE LOOKING FOR THE BUILDING OF A CAMERA FROM SCRATCH
Ahoj! In this section, you will configure camera, cable the camera for the first time, do the preliminary focusing and test the whole system.
Camera setup & configuration
Before we come to focus on the camera, we need to set up and configure it. This is mean the IP configuration of the camera and setting up the parameters of the camera needed for its night operation. Instead of text, you will now watch a video with detailed hands-on instructions:
Camera setup & configuration - Youtube video method
<video>https://www.youtube.com/watch?v=N2sq1hBwcAA</video>
Camera setup & configuration - PDF parameters method
Camera setup & configuration - Script method
Testing and Focusing
At this point, your camera must be tested and focused. There's no point sealing up the housing and screwing it to the wall if its not working or isn't focused !
Testing the Camera
- If your camera came with a single PoE cable, connect this to a netork cable and plug the other end of the network cable into your PoE injector.
- if your camera came with a cable with separate network and power sockets, plug the "output" PoE adapter into the camera cable and plug a network cable into the PoE adapter, then connect the other end of the network cable into the other PoE adapter.
- . Connect the PoE adapter or injector into a spare socket on your home router and connect the camera power supply to it.
The Camera PoE cable lights should come on, indicating traffic is flowing. After a few seconds, it should steady down to irregular flashing. If you don't see flashing lights then check the cable connections to make sure everything is plugged in properly.
Find its IP Address
The camera should now appear as a device on your network and to test it properly you will need to find its IP Address. The easiest way to do this is using a free piece of software called [IP Scanner]. Download and run it (no need to install). Click "Scan" and wait till it finishes. The camera can usually be identified by Manufacturer 'ICP Internet Communications' or 'Motion Control Systems', though other vendor names are possible such as 'Koenig & Bauer AG' and 'Metrohm AG'. If none of the names look right you may need to experiment by trying to connect to each candidate in turn.
Checking the Connection
- Once you have the IP Address, open VLC on your Pi, Mac or Windows machine, and from the "Media" menu, select "Open Network Stream".
- Enter the following into the address box, replacing 1.2.3.4 with the address you got in the previous step
rtsp://1.2.3.4:554/user=admin&password=&channel=1&stream=0.sdp
- After a second or two, you should get a view through the camera. If nothing comes up, check you have got the right IP address, and that the cables are secure.
- You can now double-check that you installed the camera the right way up.
If the image is upside down in VLC, turn it through 180 degrees in the housing. do not be tempted to use firmware settings to flip or mirror the image. These cameras have a 'rolling' shutter and to work out precise timings of meteors, the RMS software compensates for the shutter movement. If the camera is upside down and the image then flipped, the shutter is working in the opposite direction to that expected by RMS and timings will be wrong. You must physically rotate the camera.
- Note that its entirely normal for the image to be very red and overexposed in daylight. We've removed the IR Block filter so the camera picks up a lot of red light. This is exactly what we want.
Checking for Obstructions
|
Focusing the CameraThere's a whole separate section of the Wiki on focusing, but here's the short version !!
You can usually do an initial focus with the camera assembled on a desk. Point it out a window during the hours of darkness and focus on a building at least 50m away. You can do this using the RMS utility ShowLivestream instead of VLC, if you have already fully configured the camera and Pi as explained in the next step. Note that there's a short lag due to the network, so you should wait a second or two after each adjustment to allow the change to be reflected in VLC. Important note: if your camera came with an electronic filter, and you have left the 'daytime' filter in place you MUST finalise focus at night. The filters slightly alter focus. |
Setting Camera ParametersTo operate at night, the camera must be reset to the correct gain, colour mode and video mode. There are two ways you can do this: Using the CMS Software
Using the RMS softwareNote that all RMS scripts MUST be run from the source/RMS folder as the Pi user. Don't be tempted to cd into a different folder! It won't work.
ping a.b.c.d If you get any errors or timeouts, check the camera IP address, and check that the Pi is connected to your home network.
python -m Utils.SetCameraAddress a.b.c.d 192.168.42.10
Scripts/RMS_SetCameraParams.sh
|
You are now done with this section and now you are going to install your camera into the position. Drilling holes into the wall is fun, right? Back to the signpost page. |