In this example, the image data acquired from the camera is stored on the Micro SD card and displayed through a web browser.
Dependencies: Ethernet_Camera_LS_Y201_SDcard SDFileSystem WIZnetInterface mbed
Fork of HTTP_SDcard_file_server_WIZwiki-W7500 by
Prerequisite
In this example, the image data acquired from the camera is stored on the Micro SD card and displayed through a web browser.
To implement this function, you need a Platform board, network Interface board, camera module.
This example uses LS-Y201 Camera module.
- WIZwiki-W7500 from WIZnet (Platform board and Ethernet I/F board)
- LS-Y201 (Camera module)
- Micro SD Card
Hardware Configuration
- connect Ethernet Cable & USB Cable
- connect Camera module
Software
Init network information
#define IP "192.168.0.100" #define MASK "255.255.255.0" #define GATEWAY "192.168.0.1" #define PORT 80
Caution
Must fix network information
Revision 4:d645de922ae6, committed 2017-04-12
- Comitter:
- Ricky_Kwon
- Date:
- Wed Apr 12 08:38:23 2017 +0000
- Parent:
- 3:e28c4dd19cc0
- Commit message:
- update all library
Changed in this revision
SDFileSystem.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 |
diff -r e28c4dd19cc0 -r d645de922ae6 SDFileSystem.lib --- a/SDFileSystem.lib Mon Jun 29 07:39:34 2015 +0000 +++ b/SDFileSystem.lib Wed Apr 12 08:38:23 2017 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/azsymaivan/code/SDFileSystem/#f242d7bdef28 +http://developer.mbed.org/users/mbed_official/code/SDFileSystem/#8db0d3b02cec
diff -r e28c4dd19cc0 -r d645de922ae6 main.cpp --- a/main.cpp Mon Jun 29 07:39:34 2015 +0000 +++ b/main.cpp Wed Apr 12 08:38:23 2017 +0000 @@ -19,7 +19,7 @@ #endif Camera_LS_Y201 cam1(PA_14, PA_13); -#define IP "192.168.217.100" +#define IP "192.168.0.100" #define MASK "255.255.255.0" #define GATEWAY "192.168.0.1" #define PORT 80