4Duino uCAM-II Demo

by 4D Systems
4Duino uCAM-II Demo

About this Project

Jun 28, 2017

by 4D Systems

Platform : Arduino, 4D Systems

License : None

Category : 4Duino

Difficulty Level : Intermediate

Downloads :

Tags

   
Add to Collections

The main objective of this project is to show how to interface a uCAM-II serial camera to 4Duino. uCAM-II is a highly  integrated micro serial camera which could be controlled by any host that requires a video camera or a JPEG compressed still camera for embedded imaging applications. uCAM-II processes various features making it trivial to interface to a microcontroller. Following are the list of few features to help you understand the module better.

  • 5V DC Supply nominal
  • On-board EEPROM providing a command based interface to external host
  • UART with 3.68Mbps for transferring JPEG still picture or RAW images.
  • On board VAG colour sensor and RAW/JPEG CODEC for different resolution
  • Built-in colour conversion circuits for 16-bit, 16-bit RGB, 8-bit Gray or standard JPEG images
  • No additional DRAM required

More information could be found from uCAM-II datasheet if required.

1

 

This project allows the user to capture images in JPEG format using uCAM-II and save it in a uSD card. The 4Duino’s resistive touch display is used as a means for a graphical interface to control and notify the status of the uCAM-II.

How it Works

  • Initialization of uCAM-II Capturing and Saving JPEG Images

    2

    Capturing and Saving JPEG Images

    3

Components

Implementation

Step 1: Build

  • Build the circuit as shown in the following diagram and schematic.

 

4

 

Step 2: Program

  • Workshop 4 – 4Duino Extended Graphics environment is used to program this project.
  • This project requires the Arduino IDE to be installed as Workshop calls the Arduino IDE for compiling the Arduino sketches. The Arduino IDE however is not required to be opened or modified to program the 4Duino.
  • Open this file using Workshop 4.

5

  • Note: Download the project here.

 

Step3: Comms Port

  • Connect the 4Duino to the PC using uUSB cable.
  • Then navigate to the Comms tab and select the Comms port to which the 4Duino connected.

6

Step4: Compile and Upload

  • Finally, go back to “Home” tab and now click on the “Comp’nLoad” button.

7

  • The Workshop 4 IDE will prompt you to insert a uSD card to the PC in order to save the widget images. Insert uSD card, select the appropriate drive and press button “OK”.

8

  • If the uSD card has the widget images you can click button “No Thanks”.

 

Step 5: Insert uSD card

  • After uploading the program in to the 4Duino, it will try to mount the uSD card. If the uSD card is not present it will prints an error message.

 

ASAS

 

  • All you need to do is insert the uSD card you saved the image files to into the 4Duino.

Demonstration

Now you can easily a uCam-II to capture and save JPEG images to your 4Duino projects.

9

 imageasd
sample image captured by uCam-II

Video

  • Initialization of uCAM-II Capturing and Saving JPEG Images

    2

    Capturing and Saving JPEG Images

    3

Step 1: Build

  • Build the circuit as shown in the following diagram and schematic.

 

4

 

Step 2: Program

  • Workshop 4 – 4Duino Extended Graphics environment is used to program this project.
  • This project requires the Arduino IDE to be installed as Workshop calls the Arduino IDE for compiling the Arduino sketches. The Arduino IDE however is not required to be opened or modified to program the 4Duino.
  • Open this file using Workshop 4.

5

  • Note: Download the project here.

 

Step3: Comms Port

  • Connect the 4Duino to the PC using uUSB cable.
  • Then navigate to the Comms tab and select the Comms port to which the 4Duino connected.

6

Step4: Compile and Upload

  • Finally, go back to “Home” tab and now click on the “Comp’nLoad” button.

7

  • The Workshop 4 IDE will prompt you to insert a uSD card to the PC in order to save the widget images. Insert uSD card, select the appropriate drive and press button “OK”.

8

  • If the uSD card has the widget images you can click button “No Thanks”.

 

Step 5: Insert uSD card

  • After uploading the program in to the 4Duino, it will try to mount the uSD card. If the uSD card is not present it will prints an error message.

 

ASAS

 

  • All you need to do is insert the uSD card you saved the image files to into the 4Duino.

Now you can easily a uCam-II to capture and save JPEG images to your 4Duino projects.

9

 imageasd
sample image captured by uCam-II

Related Projects

Comments

Please log in or sign up to post a comment.

MAKE, SHARE and CONNECT