"Security camera" using ov7670 and LauchPad Tiva(TM) C Series TM4C1294XL
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc
fs
.ccsproject
.cproject
.project
LICENSE
README.md
cgifuncs.c
cgifuncs.h
enet_io.c
enet_io_ccs.cmd
io.c
io.h
io_fs.c
io_fsdata.h
lwipopts.h
ov7670.c
ov7670.h
ov7670reg.h
pins.h
startup_ccs.c
target_config.ccxml
tprintf.c
tprintf.h
utils.c
utils.h
website.bat

README.md

"Security camera" using TM4C1294XL and ov7670

This code allows to get camera video streaming from the ov7670 over a webserver.

Wiring

ov7670 (***) <-> Tiva C EK-TM4C1294XL

ov7670 EK-TM4C1294XL
VCC (PIN1) +3v3
GND (PIN2) GND
VSYNC (PIN5) PP4
RRST (PIN9) PA0 (*)
RCLK (PIN11 PP5
SCL_SCCB (PIN3) PN5 (**)
SDA_SCCB (PIN4) PN4 (**)
WEN (PIN7) PM7
D0-D7 (PIN13-20) PK0-PK7
  • (*) Check JP4 -> Select CAN
  • (**) I2C pins need pull-up resistors (e.g. 10kOhm connected to +3.3V)
  • (***) Buy on ebay: https://goo.gl/RX4Yy0

Usage

alt tag

To access the camera video stream, use a browser and enter the webserver address (e.g. http://<< camera-ip >>). Using the buttons Start Camera or Capture Image the video streaming starts. The Toggle LED button toggle a LED on the board. This can be used to switch on some infrarred leds.

The website is contained on the file io_fsdata.h, the folder fs is converted into this file using makefsfile. The file website.bat can be used for that purpose:

c:\ti\TivaWare_C_Series-2.1.3.156\tools\bin\makefsfile -i fs -o io_fsdata.h -r -h -q 

Note: change the TivaWare path!

Requirements

CCS6

  1. install: TivaWare C Series ver.: 2.1.3.156 | http://www.ti.com/tool/sw-tm4c

Note: other versions also work -> edit variable '${SW_ROOT}'

More info & Help

Changelog

  • 1.0 - First release.

Credit

Based on : https://github.com/desaster/ov7670fifotest