Test Code for OV7670 Camera module. The images are sent over ethernet link.

Dependencies:   EthernetInterface mbed-rtos mbed ov7670

You can find more information in this page: https://mbed.org/users/edodm85/notebook/ov7670-camera-and-ethernet-stream/

Files at this revision

API Documentation at this revision

Comitter:
edodm85
Date:
Sat Feb 15 15:17:08 2014 +0000
Parent:
1:0e4d23df43ea
Child:
3:df8de18d7fa9
Commit message:
Updated

Changed in this revision

EthernetInterface.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
main.h Show annotated file Show diff for this revision Revisions of this file
mbed-rtos.lib Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
ov7670.lib Show annotated file Show diff for this revision Revisions of this file
--- a/EthernetInterface.lib	Sat Jul 20 16:36:31 2013 +0000
+++ b/EthernetInterface.lib	Sat Feb 15 15:17:08 2014 +0000
@@ -1,1 +1,1 @@
-https://mbed.org/users/mbed_official/code/EthernetInterface/#40640efbfcae
+https://mbed.org/users/mbed_official/code/EthernetInterface/#6a67d2bddc7c
--- a/main.cpp	Sat Jul 20 16:36:31 2013 +0000
+++ b/main.cpp	Sat Feb 15 15:17:08 2014 +0000
@@ -22,7 +22,10 @@
     led4 = 0;        // Snap status       
       
     //ETHERNET
+    //Static IP
     eth.init(ip, mask, gateway);
+    //DHCP
+    //eth.init();
     eth.connect();
     server.bind(ECHO_SERVER_PORT);
     server.listen(1);
--- a/main.h	Sat Jul 20 16:36:31 2013 +0000
+++ b/main.h	Sat Feb 15 15:17:08 2014 +0000
@@ -27,14 +27,14 @@
 //ETHERNET
 char* ip = "192.168.153.153";             // ip
 char* mask = "255.255.255.0";           // mask
-char* gateway = "192.168.153.5";          // gateway
+char* gateway = "192.168.153.130";          // gateway
 EthernetInterface eth;
 TCPSocketConnection client;
 TCPSocketServer server; 
 
 //ETHERNET BUFFER
 char bufferRX[20];
-char bufferTX[9600];
+char bufferTX[4800];
 
 //RESET
 extern "C" void mbed_reset();
--- a/mbed-rtos.lib	Sat Jul 20 16:36:31 2013 +0000
+++ b/mbed-rtos.lib	Sat Feb 15 15:17:08 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed-rtos/#58b30ac3f00e
+http://mbed.org/users/mbed_official/code/mbed-rtos/#f88660a9bed1
--- a/mbed.bld	Sat Jul 20 16:36:31 2013 +0000
+++ b/mbed.bld	Sat Feb 15 15:17:08 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/b3110cd2dd17
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/869cf507173a
\ No newline at end of file
--- a/ov7670.lib	Sat Jul 20 16:36:31 2013 +0000
+++ b/ov7670.lib	Sat Feb 15 15:17:08 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/edodm85/code/ov7670/#354a00023f79
+http://mbed.org/users/edodm85/code/ov7670/#b40a945dd672