Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The $200 CV camera is a global shutter camera with a 40° field of view (FOV) 8mm rectilinear lens (smallest FOV available).

...

The focus distance can be changed by rotating the lens along the threads of the lens holder.

Hardware

Lens FOV

For 8mm lens ordered with sensor:

  • Horizontal FOV: ~37.178°

  • Vertical FOV: ~23.742°

Measurement

Print and place square grid paper on flat surface.

  • A grid on an electronic screen works as well.

Measure ratio of square side length to SI unit.

  • 23squares : 13cm

Plug the camera into computer and display the video.

Point the camera perpendicularly to the grid and ensure that grid is aligned with the edges of the video frame.

Change the distance of the camera from the grid so that there is a whole number of squares from left edge to right edge of video frame. Record the count.

  • 18squares width

Without moving the camera, measure the perpendicular distance from the grid to the closest end of the camera lens.

  • 15cm to end of lens

Estimate the focal point of the lens.

  • 2.5mm lens end length, focal point estimated halfway

Calculate the horizontal field of view:

  1. Convert the horizontal distance to SI units:

    1. Horizontal distance in SI = Square count * (Square side length in SI units / Square side length in squares)

  2. Convert perpendicular distance to the same units as the horizontal distance

  3. Triangle ratio:

    1. Opposite over adjacent = Horizontal distance / 2 / Perpendicular distance

  4. Get the angle:

    1. Angle = arctan(Opposite over adjacent)

  5. Final answer:

    1. Horizontal field of view = Angle * 2

Calculate the vertical field of view:

  1. Follow steps 1-3 of horizontal field of view

  2. Multiply by ratio correction:

    1. Correction = Vertical resolution / Horizontal resolution

  3. Follow steps 4-5 of horizontal field of view

Combined:

Code Block
~37.178° = arctan(18 * (13 / 23) / 2 / 15.125) * 2
~23.742° = arctan(18 * (13 / 23) / 2 / 15.125 * (10 / 16)) * 2

...

Electrical

Input voltage: 5VDC

...