This is a test program for Camera Module(C328, LJ-DSC02)

Dependencies:   CameraC328 SDFileSystem mbed-src

Fork of Camera_TestProgram_2015 by Ricky Kwon

Prerequisite

This example stores the image data acquired from the camera on a micro sd card.

To implement this function, you need a Platform 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)
  • LJ-DSC02 (Camera module)
  • Micro SD Card

Hardware Configuration

/media/uploads/Ricky_Kwon/camera.png

  • connect Camera module

Software

Init resolution and frame of image

#define USE_JPEG_HIGH_RESOLUTION  1
static const int CAPTURE_FRAMES = 1;

Files at this revision

API Documentation at this revision

Comitter:
Ricky_Kwon
Date:
Wed Apr 12 07:16:36 2017 +0000
Parent:
2:09815843204c
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
mbed-src.lib Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show diff for this revision Revisions of this file
--- a/SDFileSystem.lib	Tue Jul 21 16:22:03 2015 +0000
+++ b/SDFileSystem.lib	Wed Apr 12 07:16:36 2017 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/SDFileSystem/#c8f66dc765d4
+http://developer.mbed.org/users/mbed_official/code/SDFileSystem/#8db0d3b02cec
--- a/main.cpp	Tue Jul 21 16:22:03 2015 +0000
+++ b/main.cpp	Wed Apr 12 07:16:36 2017 +0000
@@ -33,7 +33,7 @@
 #else
 LocalFileSystem fs("fs");
 #endif
-CameraC328 camera(PA_14, PA_13, CameraC328::Baud115200);
+CameraC328 camera(PA_13, PA_14, CameraC328::Baud115200);
 
 /**
  * A callback function for jpeg images.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed-src.lib	Wed Apr 12 07:16:36 2017 +0000
@@ -0,0 +1,1 @@
+https://mbed.org/users/mbed_official/code/mbed-src/#a11c0372f0ba
--- a/mbed.bld	Tue Jul 21 16:22:03 2015 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/7cff1c4259d7
\ No newline at end of file