Focusing your camera

From Global Meteor Network
Jump to navigation Jump to search

So you’ve built your wonderful meteor camera system and need to focus it. What do you do? Follow the tips below for (relatively) pain-free focusing.

Things you might find handy…

Either CMS Windows camera monitor software or ONVIF Device Manager (ODM). We recommend the latter for viewing the live stream when the camera is running off the RPi. ODM can be found on SourceForge.

Option 1: Steps for direct camera connection to PC (Windows)

Windows network settings
  1. Download and install either CMS or ODM
  2. Plug your camera into your POE injector and then into your PC’s ethernet port
  3. Open ‘Network & Internet Settings’ and then click on ‘Ethernet’ in the left menu (assuming Windows 10 here)
  4. To the right, click on ‘Change adapter options’ and watch as a new window pops up
  5. Right-click the ‘Ethernet’ icon and select ‘Properties
  6. Scroll down to ‘Internet Protocol Version 4 (TCP/IPv4)’, select it and then click ‘Properties
  7. In the new window, set the IP address to:
    • If you haven't changed the camera's default IP address, set the IP address to 192.168.1.5 and the Default Gateway to 192.168.1.1.
    • If your camera has already been setup to run on the Pi, then use 192.168.42.5 for the IP address and 192.168.42 for the Default Gateway.
  8. Click OK to close that window, then OK on the next window
  9. You can then run CMS or ODM and set them to point to 192.168.1.10 or 192.168.42.10 (with ODM, you click ‘Add’ at the bottom of the left column and then you’ll put something like http://192.168.1.10/onvif/device_service in for the URL)

Option 2: Steps for seeing the stream on a camera connected to a Pi

  1. Download and install either CMS or ODM
  2. VNC into the Pi and run TunnelIPCamera.sh (on your desktop) in a terminal
  3. Check the IP address of the Pi by running ‘ifconfig’ in a terminal window. You want the ‘inet addr’ under wlan0
  4. On your PC (that is on the same network as your Pi) you can then run CMS or ODM and setup either to point to the IP address of the Pi (with ODM, you click ‘Add’ at the bottom of the left column and then you’ll put something like http://192.168.1.10:8899 in for the URL)
  5. Connect to the camera and view the live stream

Focusing

Now that you have a live stream, you can open up your camera housing and adjust the lens by turning the lens clockwise or anti-clockwise until good focus is achieved. Good focus may be a bit subjective, but you want to aim for stars that are a few pixels across and uniform in size across the field. Sometimes we will actually defocus a bit. If the stars are too sharp (~1 pixel across) we have troubles extracting stars from the imagery. Likely, this won’t be an issue for you though.

Once you’ve focused, close the camera up and shutdown CMS/ODM. If tunneling through the Pi, be sure to stop the tunnel script by hitting ‘any’ key while in the terminal that is running TunnelIPCamera.sh. Then you can either reboot the Pi or restart RMS_StartCapture.sh in a terminal window.