Introduction: 4Duino UCAM-II Demo
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.
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.
Step 1: How It Works
The first diagram shows the initialization of uCAM-II.
The second diagram shows the capturing and saving JPEG Image.
Step 2: BUILD
You will need the following:
- Jumper Cables
- Micro USB cable
- uSD card
Build the circuit as shown in the Fritzing Diagram.
Step 3: 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.
- Download the project here.
- 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.
- Finally, go back to “Home” tab and now click on the “Comp’nLoad” button.
- 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”. If the uSD card has the widget images you can click button “No Thanks”.
- 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 print an error message.
- 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.
For more projects you can visit our website at 4D Makers.