Difference between revisions of "OV5640 5MP USB Camera (A)"

From Waveshare Wiki
Jump to: navigation, search
m (Text replacement - "https://www.waveshare.com/w/upload/" to "https://files.waveshare.com/upload/")
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
<div class="wiki-pages jet-green-color">
 
{{Infobox item|colorscheme=green
 
{{Infobox item|colorscheme=green
|img=[[File:OV5640-5MP-USB-Camera-A-1.jpg|300px |alt=USB-Camera|link=https://www.waveshare.com/ov5640-5mp-usb-camera-a.htm | OV5640 5MP USB Camera (A)]]
+
|img=[[File:OV5640-5MP-USB-Camera-A-1.jpg|300px |alt=USB-Camera|{{Amazon_nolink|default={{#ifeq: {{#urlget:amazon|0}}|{{#urlget:Amazon|0}}| default|}}|url=link=https://www.waveshare.com/ov5640-5mp-usb-camera-a.htm}} | OV5640 5MP USB Camera (A)]]
 
|caption=USB Camere, 5 megapixel. UVC protocol
 
|caption=USB Camere, 5 megapixel. UVC protocol
 
|category=[[:Category:Modules|Modules]], [[:Category:Raspberry Pi|Raspberry Pi]], [[:Category:Cameras|Cameras]]
 
|category=[[:Category:Modules|Modules]], [[:Category:Raspberry Pi|Raspberry Pi]], [[:Category:Cameras|Cameras]]
|{{#urlget:amazon|default}}=display
+
|{{#ifeq: {{#urlget:amazon|0}}|{{#urlget:Amazon|0}}| default|}}=display
 
|website_cn=[https://www.waveshare.net/shop/OV5640-5MP-USB-Camera-A.htm 中文网站]
 
|website_cn=[https://www.waveshare.net/shop/OV5640-5MP-USB-Camera-A.htm 中文网站]
 
|website_en=[https://www.waveshare.com/ov5640-5mp-usb-camera-a.htm English Website]
 
|website_en=[https://www.waveshare.com/ov5640-5mp-usb-camera-a.htm English Website]
Line 10: Line 11:
 
{{Product List|Modules/Cameras/USB Camera}}
 
{{Product List|Modules/Cameras/USB Camera}}
 
}}
 
}}
 
+
= Introduction =
== Introduction ==
 
 
USB Camera, OV5640 sensor. 5 megapixel. Supports UVC protocol.
 
USB Camera, OV5640 sensor. 5 megapixel. Supports UVC protocol.
{{Amazon|{{#urlget:amazon|default}}=display
+
{{Amazon|{{#ifeq: {{#urlget:amazon|0}}|{{#urlget:Amazon|0}}| default|}}=display
 
|More = [https://www.waveshare.com/ov5640-5mp-usb-camera-a.htm more]
 
|More = [https://www.waveshare.com/ov5640-5mp-usb-camera-a.htm more]
 
}}
 
}}
 
{{USB-Camera-Guides}}
 
{{USB-Camera-Guides}}
== Resources ==
+
 
===Documents===
+
= Resources =
*[[:File:USB Camera Common User Manual EN.pdf | User Manual (discontinued)]]
+
==Documents==
=== Software===
+
*[https://files.waveshare.com/upload/0/0e/USB_Camera_Common_User_Manual_EN.pdf User Manual (discontinued)]
*[[:File:amcap.zip | Amcap software]]
+
== Software==
*[[:File:mjpg-streamer-master.tar.gz | mjpg-streamer-master]]
+
*[https://files.waveshare.com/upload/e/ea/Amcap.zip Amcap software]
 +
*[https://files.waveshare.com/upload/7/72/Mjpg-streamer-master.tar.gz mjpg-streamer-master]
 +
{{USB Camera FAQ}}
 +
=Support=
 +
{{Servicebox1}}

Latest revision as of 15:17, 31 August 2023

OV5640 5MP USB Camera (A)
USB-Camera

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

{{{name3}}}

{{{name4}}}

{{{name5}}}

Introduction

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

more

Specification

  • Pixel: 5MP
  • Resolution: 2592 × 1944
  • Sensor: OV5640
  • DSP: Automatic white balance(AWB)\Automatic exposure(AEC)\Automatic gain control(AGC)
  • Camera Specification:
    • CCD Size: 1/4 inch
    • Aperture (F): 2.1
    • Focus Length (EFL): 2.5 mm
    • Field of View (FOV): 135°(D) 95°(H) 70°(V)
    • Focus Type: AF
  • Interface: USB1.0
  • Image:
    • Image Format: MJPG, YVY2
    • Image Resolution: 2592 × 1944
    • Video:
      5 FPS 2592 × 1944 (FULL)
      15 FPS 1920 × 1080 (HD)
      15 FPS 1280 × 720 (720P)
  • Working voltage: 5V ± 5%
  • Working Temperature: 0°C ~ 50°C
  • Lens Size: 18.00 × 18.00 × 19.39 mm
  • Dimension: 18.00 × 36.00 mm
  • OS Support: Windows, Linux, MacOS

Working with Windows PC

Test Software

Most of Windows 10 PC has pre-install Camera software, you can use it to test the USB camera.
If your PC doesn't have Camera software, you can also download the AMCap test software from Resource->Software and test.

Testing

Use Camera Software of Windows
  • Search "Camera" and open the software.
  • Click the setting icon on the top left to configure the image/video.
Usb-camera-manual-1.png
  • You can click the icons on the right to switch between Image Capture or Video Recording.
AMCap Software
  • Download and install the AMCap software.
  • You can click the Options option, and choose Video Capture Pin... or Still Capture Pin... to configure the image/video.
Usb-camera-manual-2.jpg

Working with Raspberry Pi

Buster

  • Open a terminal of Raspberry Pi (You can use the Ctrl+Alt+T shortcut):
  • Edit the modules file:
sudo nano /etc/modules
  • Add the following command in the document and save:
bcm2835-v4l2
  • Ues command sudo raspi-config to open the configuration:
    • Choose Interface Option -> Camera -> Yes to enable the camera and reboot.

Bullseye

You can directly test the USB camera on the Bullseye system.

Camera Test

  • Open a Terminal of Pi and install luvcview tool with the following command:
    • sudo apt-get install luvcview -y
  • After installing, use the following command to test the USB camera.
    • sudo luvcview -s 1920 x 1080
Usb-camera-manual-3.jpg

Working with Jetson Nano Developer Kit

  • Open a terminal of Jetson Nano Developer Kit (You can use the Ctrl+Alt+T shortcut or open it by Mouse).
  • Use the following command for previewing:
    • nvgstcapture-1.0 --camsrc=0
  • With the command, a preview window is opened.
Usb-camera-manual-4.jpg

【Notice】You may need to use the camera by script/codes, in this case, you can refer to tools/libraries like Opencv yourself.

Resources

Documents

Software

FAQ

 Answer:

Do not touch the components on the back of the PCB with your hands, so as not to affect the electrical characteristics.

{{{3}}}
{{{4}}}

{{{5}}}


 Answer:

Normally, the module would generate a lot of heat during use.

{{{3}}}
{{{4}}}

{{{5}}}


 Answer:

If you are using a Mac system and Opencv, some parameter settings are not available, so we recommend using a Linux system and the V4L2 driver.

{{{5}}}


 Answer:

The OV5640 5MP USB Camera supports the UVC protocol, which is a standard for USB video devices. This means it should be compatible with most software that can interface with USB cameras. However, we have not tested with LabVIEW.

{{{5}}}


 Answer:

Regarding the maximum USB cable length, USB 2.0 has a maximum cable length of 5 meters for data transfer without the use of hubs or signal boosters.

{{{5}}}


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)