arduino camera interfacing ov7670

20
ARDUINO – CAMERA INTERFACING Submitted to Submitted By Ms. Nimisha Manth Somnath Sharma Assistant Professor Roll no. 13EREEC026

Upload: somnath-sharma

Post on 15-Apr-2017

2.347 views

Category:

Devices & Hardware


6 download

TRANSCRIPT

Page 1: Arduino camera interfacing OV7670

ARDUINO – CAMERA INTERFACING

Submitted to Submitted By

Ms. Nimisha Manth Somnath Sharma Assistant Professor Roll no. 13EREEC026

RAJASTHAN INSTITUTE OF ENGINEERING & TECHNOLOGY

Page 2: Arduino camera interfacing OV7670

INTRODUCTION

In this project our aim is to interface OV7670 camera module with ATmega based Arduino Microcontroller board, that is

Easy to configure

Low cost

Easil

y

avail

abl

e

har

dwar

e

Page 3: Arduino camera interfacing OV7670

HARDWARE

ArduinoBoard

Camera

module

computer

A Microcontroller Board

Page 4: Arduino camera interfacing OV7670

ARDUINO

It is an open-source platform for building

electronics prototypes.

It consists of both a physical programmable

circuit board & a software “IDE” .

It is based on ATmega328 Microcontroller IC

Page 5: Arduino camera interfacing OV7670

ARDUINO BOARDS

Arduino MEGA

ProMini UNO R3

Lili Pad

Page 6: Arduino camera interfacing OV7670
Page 7: Arduino camera interfacing OV7670

ARDUINO UNO SPECIFICATION

Microcontroller ATmega 328-p

Operating Volts 5V

Input Voltage 7-20v

Digital I/O Pins 14

Analog Input 6

PWM pins 6

Flash Memory 32 KbClock Speed 16

DC Current at Digital I/O 20mA

Page 8: Arduino camera interfacing OV7670

ARDUINO “IDE”Integrated Development Environment

The open-source Arduino Software (IDE) makes it easy to write code and upload it to the board.

It runs on Windows, Mac OS X, and Linux. The environment is written in Java and based on Processing and other

open-source software.

This software can be used with any Arduino board.

Page 9: Arduino camera interfacing OV7670
Page 10: Arduino camera interfacing OV7670

PROGRAMMING BASICS

Page 11: Arduino camera interfacing OV7670

IS IT SIMPLE ?

Page 12: Arduino camera interfacing OV7670

Why ARDUINO ? It is an open-source project, software/hardware is

extremely accessible and very flexible to be customized and extended.

It is flexible, offers a variety of digital and analog inputs, serial interface and digital and PWM outputs.

It is easy to use, connects to computer via USB and communicates using standard serial protocol.

Lots of source code is already available and we can share and post our examples for others to use, too!

Page 13: Arduino camera interfacing OV7670

CAMERA MODULECamera module used here is a OmniVision OV7670.

Module has an onboard CMOS sensor designed for mobile application

OV7670 camera is the affordable image acquisition module for embedded applications.

This module talks over a modified I2C protocol that is known as SCCB (Serial Camera Control Bus).

Page 14: Arduino camera interfacing OV7670

Pin Type DescriptionVDD Supply Power supplyGND Supply Ground levelSDIOC Input SCCB clockSDIOD Input/output SCCB dataVSYNC Output Vertical synchronization

HREF Output Horizontal synchronization

PCLK Output Pixel clockXCLK Input System clockD0-D7 Output Video parallel outputRESET Input Reset (Active low)

PWDN Input Power down (Active high)

CAMERA SPECIFICATION

Page 15: Arduino camera interfacing OV7670

CAMERA – ARDUINO INTERFACING

Block diagram for interfacing

Page 16: Arduino camera interfacing OV7670

PIXEL DATA TRANSFER

Page 17: Arduino camera interfacing OV7670

IMAGE GENERATION FROM RECEIVED DATA STREAM

Page 18: Arduino camera interfacing OV7670

FINAL SETUP

Page 19: Arduino camera interfacing OV7670
Page 20: Arduino camera interfacing OV7670