ArduCAM USB Camera Shield

Similar documents
ArduCAM USB3 Camera Shield

CMOS OV5640C AF Camera Module 1/4-Inch 5-Megapixel Module Datasheet

ArduCAM-M-2MP Camera Shield

ArduCAM USB Camera SDK

ArduCAM USB Camera SDK

ArduCAM USB Camera C/C++ SDK

KNJN I2C bus development boards

DM-CAM130. User Manual

USER MANUAL EXPERIENCE INCREDIBLE PERFORMANCE V2.3

ArduCAM-M-5MP Camera Shield

TIM-UP 19k-S3-Spartan 6

KNJN I2C bus development boards

Manual iaq-engine Indoor Air Quality sensor

Device: DSP-7S04H. This document Version: 1. Date: 23 March Description: 2.3 4x 7 segment display module with decimals

Description: 4x 7 segment display module with decimals and colon

USB3-DIO01. User s Manual

ArduCAM-M-2MP ESP8266 Evaluation Kit User Guide. Rev 1.1, March 2017

User s Manual. PCIe-FRM11 User s Manual (Rev 1.4)

Products My Account View Cart Distributors Contact Us. is empty Product 6/26 US $ Model: HY101CTP Shipping Weight: 500g 86 Units in Stock

DVP-7020BE 16 Channel PCI-bus Surveillance Capture card

keyestudio Keyestudio MEGA 2560 R3 Board

Win-I2CUSB Hardware User s Manual

USB3-FRM01. User s Manual

ITM-MKR680. User s Guide. Document ITM-MKR680 User s Guide 02/11/2018

USB-to-I2C. Professional Hardware User s Manual.

SVM-03/03U Utility Software. [SVMCtl] Software Manual. Rev. 8.1

GIGAVAC Contactors I 2 C Communication

Figure 1. JTAGAVRU1 application The JTAGAVRU1 is supported by AVR Studio. Updated versions of AVR Studio is found on

EPT-200TMP-TS-U2 TMP102 Temperature Sensor Docking Board Data Sheet

USB-to-I2C. Ultra Hardware User s Manual.

4.1 Design Concept Demonstration for Altera DE2-115 FPGA Board Demonstration for Cyclone III Development Board...

USB3-DIO01. User s Manual

Futaba MDM166A display

SERDESUB 913ROS DS90UB913Q Serializer and DS90UB914Q Deserializer Evaluation Kit User s Manual

BV4531U. I2C or Serial 6 Way Relay

1.6inch SPI Module user manual

PDIUSBH11A/H12/D11 Evaluation Kit

Using the CodeTEST Probe with Freescale TM MGT5100 Processors

HiKE GigaCam. Operation Manual Version th May, Starting the software. Please double click "GigaCam.exe" on screen.

Cerebot Nano Reference Manual. Overview. Revised April 15, 2016 This manual applies to the Cerebot Nano rev. A

A-Series Controller & Logic Boards

CAN / RS485. Product Description. Technical Reference Note. Interface Adapter. Special Features

Doc: page 1 of 6

Counter (Encoder) Input Specifications & Installation Guide. Configuration:

Pressure 4 click. PID: MIKROE 3020 Weight: 24 g

Version April 22 nd, 2005

I-7570 Serial To HART Converter

P&E Microcomputer Systems, Inc. P.O. Box 2044, Woburn, MA 01888, USA

User Manual. HEDS-8949 & HEDS-8969 Alignment Kit for AEAT-9000 Encoders. 1. Introduction. Overview. Features. Ordering Information

ARDUINO MEGA ADK REV3 Code: A000069

Embedded Workshop 10/28/15 Rusty Cain

MDP Based Face Detection Demonstration User Guide

The Cubesat Internal bus: The I2C

USB3-DIO01. User s Manual

SILICON MICROSTRUCTURES

MIPI Input Video Capture /Conversion Board [SVM-MIPI] Hardware Specification

I2C on the HMC6352 Compass

Spartan-II Demo Board User s Guide

GammaTron USB Module

MP1251/MP1252 SMBus Voltage Source

USB3-FRM13. User s Manual

P&E Microcomputer Systems, Inc. P.O. Box 2044, Woburn, MA 01888, USA

USB-I2C USB to I2C Communications Module Technical Specification

Sundance Multiprocessor Technology Limited. Capture Demo For Intech Unit / Module Number: C Hong. EVP6472 Intech Demo. Abstract

USB-to-I2C Basic. Hardware User s Manual.

ADV7188/4 EVALUATION NOTE. ADV7188/4 Video Decoder Evaluation Boards. ATV applications August-2006 Page 1 of 22

Prototyping Module Datasheet

UP-800CL Digital CCD Camera User's Manual

Introduction Testing analog integrated circuits including A/D and D/A converters, requires a special digital interface to a main controller. The digit

Doc: page 1 of 6

LI-OV5640-MIPI-AF SPECIFICATION

Chapter 1 Introduction Features Getting Help Chapter 2 Architecture Block Diagram... 6

HDLC-PCIE. Synchronous Serial Card. Rev. Dec 22, Datasheet. Website:

BV4615. Dual Interface Zero Keypad. Product specification. Dec 2009 V0.a. ByVac Page 1 of 11

Doc: page 1 of 8

How to create your own peripheral modules for use with the ARC EMSK and embarc

OEM-ORP ORP. Reads mV mV. Range. 1 reading every 420ms. Response time. Any type & brand. Supported probes. Single point.

XS S ERIES TM PMB US TM O PTION C ARD

MT9T031 Image Sensor Product Brief

Multimedia Expansion Board II (MEB II) Demonstrations

PCI to SH-3 AN Hitachi SH3 to PCI bus

Thermo 6 click PID: MIKROE-2769

Arduino ADK Rev.3 Board A000069

BV4218. I2C-LCD & Keypad. Product specification. December 2008 V0.a. ByVac 2006 ByVac Page 1 of 9

OEM API Specification

DS1682 Total-Elapsed-Time Recorder with Alarm

DS1870 LDMOS BIAS CONTROLLER EV KIT

User Manual & Reference

Installation. 5.) Click Next > when the following is displayed.

4 Channel Stepper Driver Shield

Manual iaq-core Indoor Air Quality sensor module

RT USB3000 Technical Description and User Manual. Revision 4.1.

EASY21x/23x-EVA. Evaluation Board for EASY21x / EASY23x PLC core. General Description. Ordering Information

User Manual. LPC-StickView V1.1. for LPC-Stick. Contents

MA1 Midi Analyzer M Series Module ELM Video Technology, Inc.

MicroHAWK ID-20 / ID-30 / ID-40

Microcontroller. BV523 32bit Microcontroller. Product specification. Jun 2011 V0.a. ByVac Page 1 of 8

SmartFan Cirrus-9. Speed Control and Alarm for 4-Wire Fans CONTROL RESOURCES INCORPORATED. The driving force of motor control & electronics cooling.

MPX-2515 User s Guide

Evaluation Board User Guide UG-047

Transcription:

ArduCAM USB Camera Shield User Guide Rev 1.0, April 2017

Table of Contents 1 Introduction... 2 2 Hardware Installation... 2 2.1 Primary Camera Interface... 2 2.2 Secondary Camera Interface... 3 3 Device Driver Installation... 4 4 Demo Code... 7 4.1 Camera Settings... 8 4.2 Open the Camera... 8 4.3 Play the Video... 8 4.4 Stop the Video... 8 4.5 Take a Snapshot... 8 4.6 Sensor Register Read/Write... 8 4.7 RAW Mode Selection... 9 1

1 Introduction This user guide describes the detail operation of ArduCAM USB camera. The latest deivce driver, SDK library and examples can be downloaded from the https://github.com/arducam/arducam_usb_camera_shield. 2 Hardware Installation There are two different camera interface provided on the USB camera shield, but only one camera interface can be used at a time. 2.1 Primary Camera Interface The primary camera interface is used for 18-22 pin camera breakout board, and should align the pin 1 of the camera breakout board to the USB camera shield camera connector pin 1. 2

Table 1 P1 Connector Pin Definition Pin No. PIN NAME TYPE DESCRIPTION 1 VCC POWER 3.3v Power supply 2 GND Ground Power ground 3 SCL Input Two-Wire Serial Interface Clock 4 SDA(SDATA) Bi-directional Two-Wire Serial Interface Data I/O 5 VS(VSYNC) Input Active High: Frame Valid; indicates active frame 6 HS(HREF) Input Active High: Line/Data Valid; indicates active pixels 7 PCLK Input Pixel Clock output from sensor 8 XCLK Output Master Clock into Sensor 9 D7 Input Pixel Data Output 7 (MSB) 10 D6 Input Pixel Data Output 6 11 D5 Input Pixel Data Output 5 12 D4 Input Pixel Data Output 4 13 D3 Input Pixel Data Output 3 14 D2 Input Pixel Data Output 2 15 D1 Input Pixel Data Output 1 16 D0 Input Pixel Data Output 0(LSB) 17 NC 18 NC 19 NC 20 NC 21 NC 22 Trigger(EXP) Output External trigger output 2.2 Secondary Camera Interface The secondary camera interface is used for camera breakout board with 30pin ribbon cable. 3

Table 2 HDC1 Connector Pin Definition Pin No. PIN NAME TYPE DESCRIPTION 1 GND Ground Power ground 2 FLASH Input Flash output control 3 Trigger Output Exposure synchronization input 4 VSYNC Input Active High: Frame Valid; indicates active frame 5 HREF Input Active High: Line/Data Valid; indicates active pixels 6 DOUT11 Input Pixel Data Output 11 (MSB) 7 DOUT10 Input Pixel Data Output 10 8 DOUT9 Input Pixel Data Output 9 9 DOUT8 Input Pixel Data Output 8 10 DOUT7 Input Pixel Data Output 7 11 DOUT6 Input Pixel Data Output 6 12 DOUT5 Input Pixel Data Output 5 13 GND Ground Power ground 14 DOUT4 Input Pixel Data Output 4 15 DOUT3 Input Pixel Data Output 3 16 DOUT2 Input Pixel Data Output 2 17 DOUT1 Input Pixel Data Output 1 18 DOUT0 Input Pixel Data Output 0(LSB) 19 XCLK Output Master Clock into Sensor 20 PCLK Input Pixel Clock output from sensor 21 SCL Input Two-Wire Serial Interface Clock 22 SDATA Bi-directional Two-Wire Serial Interface Data I/O 23 RST Output Sensor reset signal, active low 24 GND Ground Power ground 25 GND Ground Power ground 26 STANDBY Output Standby-mode enable pin (active HIGH) 27~30 VCC POWER 3.3v Power supply The firmware update jumper should be left open when normal operation. 3 Device Driver Installation Please download the device driver from github. The Windows device driver is located in Drivers folder, Windows 10 operating system can use the same driver as Win7 or Win8. In each driver folder there are x64 and x86 folders for 64bit and 32bit system respectively. Plug in the USB cable to the camera and the host PC USB port, there is notification from the lower right of the task bar. The auto installation of the driver will fail, so we have to install the USB camera driver manually. 4

Go to Start->Settings->Control-Panel->Device Manager, right click the unknown device and select "Update Driver Software". Select the "Browse my compute for driver software" Select "Let me pick from a list of device drivers on my computer". 5

Select "Show All Devices". Press the "Have Disk" button. github. Enter the path to the ArduCAM USB driver, where you save the downloaded file from 6

Confirm the installation of the driver by pressing "Yes". Confirm the installation again by pressing "Install". You will successfully install the driver like this. 4 Demo Code The demo code is provided in source code form to help user to understand the operation the ArduCAM USB camera and SDK library. It is created with Microsoft Visual Studio 2008 and 7

based on MFC frame wrok. The Windows demo code is located at../winodws/usb_demo folder and the release executable software is located at../ Winodws/USB_Demo/USB_Demo.exe. 4.1 Camera Settings This USB demo software can work with different cameras provided by ArduCAM. Basically the different camera settings is predefined by the Sensor Type selected by the user. User also can override these settings after select a certain Sensor Type. All the following parameters are in decimal. The Width and Height is to define the image size to be captured and displayed, they should exactly match the resolution output by the image sensor. The Bits is the sensor output data bits, now ArduCAM shield only supports 8bits mode. The I2C Mode select different sensor register read/write mode according to different sensor type. 8,8 means one byte address phase and one byte data phase; 8,16 means one byte address phase and two bytes data phase; and so on. The I2CAddr is the image sensor I2C 8bit slave address, it is in decimal. For example MT9V034 sensor I2C slave address is 0x90, so we have to use 144 for it in decimal. 4.2 Open the Camera There are two ways to open the camera. Auto-open is useful when there is only one ArduCAM USB camera connected. Scan then open is used when more than one ArduCAM USB camera connected. You have to scan how many cameras are on the USB bus, and select the correct one to open. 4.3 Play the Video Click the Play to capture and display the video in realtime. 4.4 Stop the Video Click the Stop button to stop the video capture and display. 4.5 Take a Snapshot Click the Snapshot to take both BMP and RAW image to files. 4.6 Sensor Register Read/Write This is very useful to access the sensor register in order to adjust the sensor settings on the fly. For example you want to manually change the exposure settings you can input the exposure register address and value then click write, you can video how the brightness changes from the video. 8

4.7 RAW Mode Selection There are four combination of the RAW format R-G, G-R, B-G, G-B. It is predefined for our tested sensor, you can also changes the mode match your target sensor RAW output order. 9