Version 6 (Kwabena Agyeman, 02/13/2012 12:12 am)

1 1 Kwabena Agyeman
h1. Frequently Asked Questions
2 1 Kwabena Agyeman
3 1 Kwabena Agyeman
h2. *General Questions*
4 1 Kwabena Agyeman
5 1 Kwabena Agyeman
h3. *What is unique about CMUcam1?*
6 1 Kwabena Agyeman
7 2 Kwabena Agyeman
Traditionally fast computers are needed to capture and process camera images. It is also necessary to write the software to perform this processing. Because of this it is difficult to use vision as a sensor in simple systems.  
8 1 Kwabena Agyeman
9 2 Kwabena Agyeman
The CMUcam1 vision system uses a fast low cost microcontroller to handle all of the high speed processing of the camera data and contains software to perform simple vision tasks. Because the user can choose to output only low bandwidth high level information from the vision system, like the red object is at position X-Y, it is possible for a simple processor like a PIC Microcontroller to read this data and direct a small robot in tasks like chasing a colored ball. The CMUcam1 vision system makes it possible to ignore the complexity of camera interfacing and use vision just like any other sensor (i.e. sonar) often used in robotic systems.  
10 1 Kwabena Agyeman
11 2 Kwabena Agyeman
h3. *What is CMUcam1's frame rate?*
12 2 Kwabena Agyeman
13 2 Kwabena Agyeman
The fastest frame rate is 16.7 frames per second.  This means CMUcam1 can tell you the position of an object about 17 times per second. Using the serial software protocol you can slow this down if desired.
14 2 Kwabena Agyeman
15 2 Kwabena Agyeman
h3. *What baud rates does the CMUcam1 support?*
16 2 Kwabena Agyeman
17 2 Kwabena Agyeman
As of the latest version of the firmware (v1.12) the CMUcam1 can communicate at baud rates of 9600, 19200, 38400 or 115200. The baud rate is selected via jumper settings on the board.
18 2 Kwabena Agyeman
19 2 Kwabena Agyeman
h3. *How do I upgrade my CMUcam1 firmware?*
20 2 Kwabena Agyeman
21 3 Kwabena Agyeman
If you are currently using firmware v1.11 there is no reason to upgrade unless you need support for the lower baud rates. Version 1.11 supports 38400 and 115200 baud. Version 1.12 supports those baud rates and adds support for 9600 and 19200 baud. To upgrade your firmware you will need to reprogram the flash memory in your processor chip. The easiest way to upgrade is to purchase a new processor with the new code flashed into it. To do this contact the company you purchased your CMUcam1 from. If you have a programmer (which are expensive) you can download the current version from our [[downloads]] page and re-flash the processor yourself.
22 1 Kwabena Agyeman
23 3 Kwabena Agyeman
h3. *Does CMUcam1 work outside?*
24 3 Kwabena Agyeman
25 3 Kwabena Agyeman
The CMUcam1 works outside but not in direct sunshine. The CMOS camera we are using does not have a high-quality IR filter, and so sunlight saturates the red pixels and the image becomes, essentially, monochrome in direct sunlight. (It is possible to add an external filter to improve outdoor operation). We have a short write up in [[publications]] that shows you how illumination conditions affect CMUcam1.
26 3 Kwabena Agyeman
27 3 Kwabena Agyeman
h3. *Can I write custom code for CMUcam1?*
28 3 Kwabena Agyeman
29 3 Kwabena Agyeman
Certainly. To do this, ask us for the firmware source code, order yourself a C programming environment for the "Ubicom":http://www.ubicom.com chip and go for it.  When we send you the firmware source code we will also send you a summary of how the code is structured and information about the programming environment we use.
30 3 Kwabena Agyeman
31 4 Kwabena Agyeman
h3. *How much power does CMUcam1 consume?*
32 4 Kwabena Agyeman
33 4 Kwabena Agyeman
The complete system consumes about 200 milliamperes. 
34 4 Kwabena Agyeman
35 4 Kwabena Agyeman
h3. *What is the camera's field of view?*
36 4 Kwabena Agyeman
37 4 Kwabena Agyeman
This depends on the lens that you fit to the CMOS camera. If you order the CMOS camera as it is sold standard, you will end up with about a 25 degree field of view, which is relatively narrow. You can custom-order wider angle lenses when you order your CMOS camera, however.
38 4 Kwabena Agyeman
39 4 Kwabena Agyeman
h3. *What processor does CMUcam1 use?*
40 4 Kwabena Agyeman
41 4 Kwabena Agyeman
Our image processing code resides on a microcontroller chip from "Ubicom":http://www.ubicom.com running at 75 MHz, the SX28AC. This chip reads all the pixels from the CMOS camera via a parallel interface and does all the processing in real time. It then communicates the results to your microcontroller or computer via a serial port interface. 
42 4 Kwabena Agyeman
43 4 Kwabena Agyeman
h3. *What CMOS camera does CMUcam1 use?* 
44 4 Kwabena Agyeman
45 4 Kwabena Agyeman
We use a CMOS camera which utilizes the Omnivision OV6620 CMOS camera on a chip. We use a model number C3088 CMOS camera board which is available from Amazon Electronics on which is mounted the sensor, a connector and a lens.  
46 4 Kwabena Agyeman
47 4 Kwabena Agyeman
h3. *Does CMUcam1 work with other CMOS cameras?*
48 4 Kwabena Agyeman
49 4 Kwabena Agyeman
No. Currently the hardware and software system have been designed to work specifically with the Omnivision OV6620 CMOS camera. The system would need to be completely redesigned to work with another camera.  
50 4 Kwabena Agyeman
51 4 Kwabena Agyeman
h3. *Where can I find out more about computer vision in general?*
52 4 Kwabena Agyeman
53 4 Kwabena Agyeman
The CMUcam1 performs the simple computer vision task it was designed to perform in a small, inexpensive package. However, the general computer vision problem of trying to recognize arbitrary objects under arbitrary conditions is still a very active research topic and very far from being anywhere near a solved problem.
54 4 Kwabena Agyeman
55 4 Kwabena Agyeman
If you want to learn more about computer vision, you might want to try these links: 
56 4 Kwabena Agyeman
* "The On-Line Compendium of Computer Vision":http://www.dai.ed.ac.uk/CVonline/ 
57 4 Kwabena Agyeman
* "The Computer Vision Home Page at CMU":http://www.cs.cmu.edu/~cil/vision.html
58 1 Kwabena Agyeman
59 1 Kwabena Agyeman
h2. *Technical Questions*
60 6 Kwabena Agyeman
61 6 Kwabena Agyeman
h3. *What is the exact sequence of steps performed on power up by demo mode?*
62 6 Kwabena Agyeman
63 6 Kwabena Agyeman
h3. *What is the exact sequence of steps performed by the "TW" command?*
64 6 Kwabena Agyeman
65 6 Kwabena Agyeman
h3. *Under what conditions does the tracking led light up when auto mode is enabled?* 
66 6 Kwabena Agyeman
67 6 Kwabena Agyeman
h3. *If the CMOS camera has a resolution of 352 x 288 pixels, why is the CMUcam1 resolution only 80 x 143?* 
68 6 Kwabena Agyeman
69 6 Kwabena Agyeman
h3. *How can I focus the CMUcam1 accurately?* 
70 6 Kwabena Agyeman
71 6 Kwabena Agyeman