OV5640 5MP USB Camera (A)

From Waveshare Wiki
Jump to: navigation, search
OV5640 5MP USB Camera (A)
USB-Camera

USB Camere, 5 megapixel. UVC protocol
{{{name2}}}

{{{name3}}}

{{{name4}}}

{{{name5}}}

{{{name6}}}

Introduction

USB Camera, OV5640 sensor. 5 megapixel. Supports UVC protocol.

more

Specifications

  • Pixels: 5MP
  • Resolution: 2592 × 1944
  • Sensor chip: OV5640
  • DSP: Auto gain/exposure/white balance
  • Camera:
    • CCD size: 1/4 inch
    • Aperture (F): 2.1
    • Focal length (EFL): 2.5 mm
    • Field of View (FOV): 135°(D) 95°(H) 70°(V)
    • Focus mode: Auto focus
  • Interface type: USB1.0
  • Image:
    • Supported image formats: MJPG, YVY2
    • Static image resolution: 2592 × 1944
    • Video recording:
      5 FPS 2592 × 1944
      15 FPS 1920 × 1080
      15 FPS 1280 × 720
  • Operating voltage: 5V ± 5%
  • Operating temperature: 0°C ~ 50°C
  • Lens size: 18.00 × 18.00 × 19.39 (mm)
  • Outline dimensions: 18.00 × 36.00 (mm)
  • Supported systems: Windows, Linux, macOS

Working with Windows PC

Test Software

Currently, a camera app is generally pre-installed on most Windows 10 systems. You can simply open this built-in Windows camera app to perform testing.
If you are using Windows 7 or cannot find the camera app in the system, you can download and install the AMCAP test software provided by us from Resources->Software.

Test Steps

Window camera software
  • Search for "Camera" to open the software
  • Click the gear icon in the upper left corner to open the settings interface, where you can set the resolution for taking pictures or videos
Usb-camera-manual-1.png
  • Click the video or capture icon on the right to switch between recording and shooting
AMCap software
  • Download and install AMCap software
  • You can click on the Option option and select Video Capture Pin... or Still Capture Pin... to set the parameters of the image and video
Usb-camera-manual-2.jpg

Working with Raspberry Pi

Preview with Plugins

  • Open the Raspberry Pi terminal, enter the command to install the luvcview software
    • sudo apt-get install luvcview -y
  • After installation, enter the command on the terminal to open the software for USB camera testing
sudo luvcview -s 1920x1080
Usb-camera-manual-3.jpg

Preview with Scripts

  • Install opencv
sudo apt-get install python3-opencv
  • Download the demo and test
wget https://files.waveshare.com/wiki/common/Usb_camera_examples.zip
unzip Usb_camera_examples.zip
cd Usb_camera_examples
sudo python3 Usb_camera_examples.py

Working with Jetson Nano Developer Kit

Preview with Commands

  • Open the Jetson Nano Developer Kit terminal (open with Ctrl+Alt+T or mouse click)
  • Input the following command to preview:
    • nvgstcapture-1.0 --camsrc=0
  • After inputting, a preview window will open
Usb-camera-manual-4.jpg

Preview with Scripts

  • Install opencv
sudo apt-get install python3-opencv
  • Download the demo and test
wget https://files.waveshare.com/wiki/common/Usb_camera_examples.zip
unzip Usb_camera_examples.zip
cd Usb_camera_examples
sudo python3 Usb_camera_examples.py

Note: In practical application, you may need to call with a program, and you can refer to Opencv and other related image processing library materials by yourself

Resources

Documents

Software

 Answer:
  • Avoid touching the components on the PCB backside to prevent affecting electrical performance


 Answer:
  • During use, the module heats up significantly and may feel hot, which is normal.


 Answer:
  • If you are using Mac and Opencv, some parameter settings cannot be used, it is recommended to use Linux and V4L2 drivers.


Support



Technical Support

If you need technical support or have any feedback/review, please click the Submit Now button to submit a ticket, Our support team will check and reply to you within 1 to 2 working days. Please be patient as we make every effort to help you to resolve the issue.
Working Time: 9 AM - 6 PM GMT+8 (Monday to Friday)