Using Camera module, FTP Client on WIZwiki-W7500, send the image data to FTP Server.
Dependencies: CameraC328 SDFileSystem WIZnetInterface mbed-src
Fork of Camera_FTP_WIZwiki-W7500 by
Prerequisite
This example send the image data acquired from the camera to an FTP Server.
To implement this function, you need a Platform board, network Interface board, camera module.
Available camera modules are C328, LJ-DSC02. Because the cameras listed above all have similar internal protocols.
This example uses LJ-DSC02.
- WIZwiki-W7500 from WIZnet (Platform board and Ethernet I/F board)
- LJ-DSC02 (Camera module)
- FTP Server(AL FTP)
- Micro SD Card
Hardware Configuration
- connect Ethernet Cable & USB Cable
- connect Camera module
Software
Init FTP Server information
static char ID[]={"abc"}; //Set FTPServer Login ID
static char PASSWORD[]={"123"}; //Set FTPServer Login Password
const char ftpServer_control_ip_addr[] = "192.168.1.2";
Caution
Must fix FTP server ip, id, pass
Revision 4:573ca8ea6629, committed 2017-04-07
- Comitter:
- Ricky_Kwon
- Date:
- Fri Apr 07 03:50:03 2017 +0000
- Parent:
- 3:55b7af329281
- Child:
- 5:5cc3d57c04f8
- Commit message:
- update all library
Changed in this revision
--- a/SDFileSystem.lib Wed Jul 29 01:39:43 2015 +0000 +++ b/SDFileSystem.lib Fri Apr 07 03:50:03 2017 +0000 @@ -1,1 +1,1 @@ -http://developer.mbed.org/users/mbed_official/code/SDFileSystem/#7b35d1709458 +http://developer.mbed.org/users/mbed_official/code/SDFileSystem/#8db0d3b02cec
--- a/main.cpp Wed Jul 29 01:39:43 2015 +0000
+++ b/main.cpp Fri Apr 07 03:50:03 2017 +0000
@@ -80,10 +80,10 @@
pc.printf("Hello Home Security World!\r\n");
uint8_t mac_addr[6] = {0x00, 0x08, 0xdc, 0x12, 0x34, 0x45};
- const char ip_addr[] = "192.168.0.123";
+ const char ip_addr[] = "192.168.1.123";
const char mask_addr[] = "255.255.255.0";
- const char gateway_addr[] = "192.168.0.1";
- const char ftpServer_control_ip_addr[] = "192.168.0.2";
+ const char gateway_addr[] = "192.168.1.1";
+ const char ftpServer_control_ip_addr[] = "192.168.1.2";
EthernetInterface eth;
--- a/mbed-src.lib Wed Jul 29 01:39:43 2015 +0000 +++ b/mbed-src.lib Fri Apr 07 03:50:03 2017 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed-src/#523654f2b367 +http://mbed.org/users/mbed_official/code/mbed-src/#a11c0372f0ba
