WSAL18245 – 8-50mm Zoom Lens for Pi/en
Erscheinungsbild
Documentation notice: This technical documentation was independently rewritten from an archived supplier source. Check technical details and commands against the product version and manufacturer documentation before use.
Summary
The 8-50mm CS-mount zoom lens by Waveshare is designed to be used with the IMX477 12.3MP camera or the Raspberry Pi HQ Camera. It provides a zoom range of 8 to 50 mm at an aperture of F1.4 and a fixed back focal length (BFL) of 7.53 mm.
Related products at JW Tech
Technical overview
- Lens type: CS/CS lens, exclusively for use with the IMX477 12.3MP camera or the Raspberry Pi HQ Camera
- Zoom range: 8–50 mm
- Aperture: F1.4
- Sensor size compatibility: supports sensors in 1", 2/3" and 1/1.8" formats; the lens is a CS/CS lens
- Field of view (FoV): varies by sensor model – e.g., 1": 20.9° × 15.8°, 2/3": 14.4° × 10.8°, 1/1.8": 16.5° × 12.4°
- Back focal length (BFL): 7.53 mm
- Minimum object distance (M.O.D.): 0.20 m
- Dimensions: Φ40.00 × 68.30 mm
- Weight: 148 g
- Distortion: 0.35 %
Commands and examples – verify before use:
import picamera
import picamera.array
import cv2
from time import sleep
import numpy as np
def test_gcamera():
cv2.namedWindow("img",0)
with picamera.PiCamera() as camera:
camera.resolution = (1920, 1080)
camera.awb_mode = 'off'
rg, bg = (1.8, 1.4)
camera.awb_gains = (rg, bg)
with picamera.array.PiRGBArray(camera) as output:
for foo in camera.capture_continuous(output, 'rgb', use_video_port=True):
img = cv2.cvtColor(output.array, cv2.COLOR_RGB2BGR)
cv2.imshow("img", img)
cv2.waitKey(1)
cv2.imwrite("test.jpg",img)
r, g, b = (np.mean(output.array[..., i]) for i in range(3))
if abs(r - g) > 2:
if r > g:
rg -= 0.1
else:
rg += 0.1
if abs(b - g) > 1:
if b > g:
bg -= 0.1
else:
bg += 0.1
camera.awb_gains = (rg, bg)
output.seek(0)
output.truncate(0)
if __name__=="__main__":
test_gcamera()
Notes and version constraints
- The source includes an OpenCV adjustment code snippet that was shared only as reference and has not been fully validated
- The stated fields of view (FoV) depend on the sensor model used; exact values must be confirmed against the actually installed sensor
- No information on price, availability, warranty, or certifications is present in the source material
- The compatibility statement is limited to the IMX477 12.3MP camera and the Raspberry Pi HQ Camera; other cameras are not explicitly mentioned
Source and revision record
- 8-50mm Zoom Lens for Pi - Waveshare Wiki
- Source revision: 84351
- Captured: 2026-09-01T03:16:47+00:00
- SHA-256:
360442bd82be21a2268fd04a1cef8e0088ecb77f80b8ac5b98cbee20aaca01ba