ArduCAM USB Camera Shield

Similar documents
ArduCAM USB Camera Shield

CMOS MT9D111Camera Module 1/3.2-Inch 2-Megapixel Module Datasheet

CMOS MT9D112 Camera Module 1/4-Inch 3-Megapixel Module Datasheet

CMOS MT9V034 Camera Module 1/3-Inch 0.36MP Monochrome Module Datasheet

CMOS OV7725 Camera Module 1/4-Inch 0.3-Megapixel Module Datasheet

Terasic TRDB_D5M Digital Camera Package TRDB_D5M. 5 Mega Pixel Digital Camera Development Kit

USB4. Encoder Data Acquisition USB Device Page 1 of 8. Description. Features

VBRC 5. Radio Communicator. Installer Manual

USB-PWM10. User s Manual

TLE5014 Programmer. About this document. Application Note

Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K.

RF4432 wireless transceiver module

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT BIT DIFFERENTIAL INPUT DELTA SIGMA ADC LTC DESCRIPTION

TRDB_DC2 TRDB_DC2. 1.3Mega Pixel Digital Camera Development Kit

Zybo Z7 Pcam 5C Demo

ADS9850 Signal Generator Module

Tarocco Closed Loop Motor Controller

Parameter change in real time Using the sequencer mode

The power consumption and the heat of the PC will increase whenever the power save mode is disabled. Please

Debugging a Boundary-Scan I 2 C Script Test with the BusPro - I and I2C Exerciser Software: A Case Study

Doc: page 1 of 6

ZX Distance and Gesture Sensor Hookup Guide

Controlling DC Brush Motor using MD10B or MD30B. Version 1.2. Aug Cytron Technologies Sdn. Bhd.

APDS-9960 RGB and Gesture Sensor Hookup Guide

EVDP610 IXDP610 Digital PWM Controller IC Evaluation Board

USB Multifunction Arbitrary Waveform Generator AWG2300. User Guide

TLE9879 EvalKit V1.2 Users Manual

LC-10 Chipless TagReader v 2.0 August 2006

CMOS Image Sensor Testing An Intetrated Approach

The Condor 1 Foveon. Benefits Less artifacts More color detail Sharper around the edges Light weight solution

Baumer TXF50 Art. No: OD107988

EARTH PEOPLE TECHNOLOGY. EPT-200TMP-TS-U2 Temperature Sensor Docking Board User Manual

3.3V regulator. JA H-bridge. Doc: page 1 of 7

ESP32 Utility Driver

DASL 120 Introduction to Microcontrollers

Quick Start Guide. TWR-SHIELD Shield Adapter Module for the Tower System TOWER SYSTEM

The PmodIA is an impedance analyzer built around the Analog Devices AD bit Impedance Converter Network Analyzer.

Introduction to the Arduino Kit

SMARTALPHA RF TRANSCEIVER

CMU232 User Manual Last Revised October 21, 2002

TECHNICAL NOTES. MT-4 Radio Systems. TN247 VR-4E VHF MT-4E Receiver. Specifications. Models Available. Receiver Operating Frequency

Motor Control Development Kit

Lesson 3: Arduino. Goals

Data Sheet SMX-160 Series USB2.0 Cameras

Apr - 12, 05. Most recent REV DATE : page #

Milli Developer Kit Reference Application Published on Silver Spring Networks STAGE (

Quick Start Guide. TWR-MECH Mechatronics Board TOWER SYSTEM

Agilent HDCS-1020, HDCS-2020 CMOS Image Sensors Data Sheet

MD04-24Volt 20Amp H Bridge Motor Drive

WTPCT-M. eeder. Pulse Counter/Timer Module. Technologies FEATURES SPECIFICATIONS DESCRIPTION. Weeder Technologies

AC Current click PID: MIKROE Weight: 27 g

Enhanced SmartDrive40 MDS40B

Baumer TXG04c v2 Revision 2.1 Art. No:

ICM532A CIF CMOS image sensor with USB output. Data Sheet

USB components. Multi-Sensor Cameras. Camera Configuration. Available Sensor Board Designs. Options. Base unit and sensor boards

PCAN-MicroMod Evaluation Test and Development Environment for the PCAN-MicroMod. User Manual. Document version ( )

Dual-band radio transmitter T10, Т10С T10U, T10UC

instruction manual for Open LRS New Generation

ESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab

Characteristic Sym Notes Minimum Typical Maximum Units Operating Frequency Range MHz. RF Chip Rate 11 Mcps RF Data Rates 1, 2, 5.

Veterinary Digital X-Ray System Quick Start Guide

VBRC 4. Radio Communicator. Installer Manual

Preliminary Design Report. Project Title: Search and Destroy

ASCOM EF Lens Controller

STPDRV-1 Stepper Motor Driver Data Sheet (R1.0) BFF Design Ltd

MTS2500 Synthesizer Pinout and Functions

U2C-1SP4T-63H. Typical Applications

NanEye GS NanEye GS Stereo. Camera System

Adafruit 16-Channel Servo Driver with Arduino

LAX016 Series Logic Analyzer User Guide

Catalog

Channels that are not occupied by temperature sensors, can take over alternative functions:

Servo click. PID: MIKROE 3133 Weight: 32 g

Multi-Channel High Performance Data Acquisition System and Digital Servo Controller Module

Topcon Receiver Utility: GNSS Receiver Firmware Update Process. Oscar R. Cantu

GPS Evaluation Kit EVA1084-A

SCD-0017 Firegrab Documentation

Hardware Guide. Control Made Simple. Model 401A Signal Generator

MityCAM-B2521 EPIX XCAP User s Guide

Baumer TXG20 v2 Revision 2.1 Art. No:

ivu Plus Quick Start Guide P/N rev. A -- 10/8/2010

GPS Evaluation Kit EVA1035-H

Baumer FWX05c-II NeuroCheck Edition

SW-2000M-CL-80. User's Manual. CMOS High Speed Monochrome Camera Link Line Scan Camera SW-2000M-CL-80. Document Version: 1.

Adafruit 16-Channel Servo Driver with Arduino

Applications. Operating Modes. Description. Part Number Description Package. Many to one. One to one Broadcast One to many

MAX11300PMB1 Peripheral Module and Munich (USB2PMB1) Adapter Board Quick Start Guide

nrf24l01+ Transceiver Hookup Guide

USB-UART RADIO MODULE(WM11TR_ L_02_USB)

DS1803 Addressable Dual Digital Potentiometer

ROTRONIC HygroClip Digital Input / Output

802.11g Wireless Sensor Network Modules

IP-48ADM16TH. High Density 48-channel, 16-bit A/D Converter. REFERENCE MANUAL Version 1.6 August 2008

INTRODUCTION. What is the LSN50

I2C Demonstration Board I 2 C-bus Protocol

Ocean Controls KT-5221 Modbus IO Module

MiniProg Users Guide and Example Projects

DS1267B Dual Digital Potentiometer

RS232-B1 User Manual V1.2 05/10/2017

TX CONTROLLER Model EM-IP Quick Start Guide

Transcription:

ArduCAM USB Camera Shield Application Note for MT9J001 Rev 1.0, Aug 2017

Table of Contents 1 Introduction... 2 2 Hardware Installation... 2 3 Run the Demo... 3 4 Tune the Sensor Registers... 4 4.1 Identify the Sensor Version... 4 4.2 Adjust the Sensor Exposure... 4 4.3 Adjust the Sensor Gain... 6 1

1 Introduction This user guide describes the detail operation of ArduCAM USB camera for MT9J001. 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. The MT9J001 camera header board should be connected to the secondary camera interface and should align the pin 1 of the camera breakout board to the USB camera shield camera connector pin 1. 2

Table 1 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 Run the Demo Plug in the USB cable to the camera and the host PC USB port, and open the Windows demo software. Select the MT9J001 from the Sensor drop down list then click auto-open button. 3

Click play button to run the camera in video mode. 4 Tune the Sensor Registers 4.1 Identify the Sensor Version Sensor register address 0x00 is read only, and always return the chip vision 0x2C01(11265) when read it. Input the register address 0 in decimal to the RegAddr dialog box and click read button, the Value dialog box will show 11265 in decimal which is identical to 0x2C01 in hex. 4.2 Adjust the Sensor Exposure The integration (exposure) time of the MT9J001 is controlled by the fine_integration_time and coarse_integration_time registers. The limits for the fine integration time are defined by: fine_integration_time_min fine_integration_time (line_length_pck fine_integration_time_max_margin) The limits for the coarse integration time are defined by: coarse_integration_time_min coarse_integration_time 4

The actual integration time is given by: It is required that: coarse_integration_time < = (frame_length_lines - coarse_integration_time_max_margin) If this limit is exceeded, the frame time will automatically be extended to (coarse_integration_time + coarse_integartion_time_max_margin) to accommodate the larger integration time. Fine Integration Time Limits The limits for the fine_integration_time can be found from fine_integration_time_min and fine_integration_time_max_margin. It is necessary to change fine_correction (R0x3010) when binning is enabled or the pixel clock divider (row_speed[2:0]) is used. The corresponding fine_correction values are shown in following Table. Fine Correction For the fine_integration_time limits, the fine_correction constant will change with the pixel clock speed and binning mode. Given the pixel clock is 24MHz, line_length_pck_ register (0x300c) is 7440. In order to simplify the testing purpose, we only set the coarse_integration_time_ registe(0x3012). Exposure = 15.5ms, RegAddr = 12306 (0x3012), Value = 50 5

Exposure = 31ms, RegAddr = 12306 (0x3012), Value = 100 Exposure = 62ms, RegAddr = 12306 (0x3012), Value = 200 4.3 Adjust the Sensor Gain Gain settings are like the ISO settings in most digital cameras. The gain is divided into analog and digital gain, and there are separate gain settings for four color-specific gains. There is also global gain setting to change all the four color-specific gains. Here we demonstrate how to change the gain through the analogue_gain_code_global_ register (0x3028 in hex, 12328 in decimal). Given the exposure register 0x3012(12306) is 10. 6

RegAddr = 12328 (0x3028), Value = 10 RegAddr = 12328 (0x3028), Value = 50 RegAddr = 12328 (0x3028), Value = 100 7