Wiki

Version 222 (Anthony Rowe, 07/01/2012 05:03 pm) → Version 223/265 (Anthony Rowe, 07/01/2012 05:06 pm)

h1. Wiki

!/attachments/515/CMUcam4_A.JPG! !/attachments/516/CMUcam4_B.JPG! !/attachments/450/CMUcam4%20Arduino%20Shield%20B_Little%20-%20A4.jpg! !/attachments/448/CMUcam4%20Arduino%20Shield%20A_Little%20-%20A4.jpg!

h3. *Updated *New Firmware coming soon...*

We've been working in the background on completing a new 30 FPS firmware. So far everything is working great! We still have to test the firmware in different environments but we should be there by the end of the month! Right now we are tweaking register settings that control the camera module. Once we finish that the new firmware will be compete. After which, we will finalize the Arduino interface library! And then after that we'll have more cool things to come.

Update: The 30 FPS firmware is done! Expect it to be released in early July.
Note: New firmware will work on all existing CMUcam4 hardware and can be upgraded using a USB to serial converter.



Thanks,

-- Kwabena W. Agyeman

h3. *Quick Links*

* [[Quick Start]]

* [[Arduino Interface Library]]
* [[BASIC Stamp 2 Interface Library]]
* [[CMUcam4 Graphical User Interface]]

* [[Lextronic Camera|Black Lextronic Camera Documentation]]
* [[SparkFun Camera|Red SparkFun Camera Documentation]]
* [[Parallax Camera|Blue Parallax Camera Documentation]]

* [[Firmware Source Code and Binaries]]

* [[Color-tracking Explanation]]
* [[Tips and Tricks]]

* [[Frequently Asked Questions]]
* [[Troubleshooting]]

* [[Gallery]]
* [[People]]

* [[CMUcam1:]]
* [[CMUcam2:]]
* [[CMUcam3:]]

* [[Legal Information]]

h3. *Cool Videos*

* "CMU Mechatronics 2012: Team Fun":http://www.youtube.com/watch?v=oLCOUdFDnUc - CMUcam4 student project at Carnegie Mellon University!

* "CMUcam4 Test":http://www.youtube.com/watch?v=4VhpHDEIEBg - By Lextronics. It's in French - But shows functionality.
* "CMUcam4 Pan/Tilt Test":http://www.youtube.com/watch?v=Oi-aKbYTCUg - By Parallax. This is a development video of the CMUcam4. The red version is a prototype.

* "CMUcam4 Initial Prototype Video":http://www.youtube.com/watch?v=XpndebbQ48o - By Parallax. This is a aged video of the initial CMUcam4 prototype.

h3. *Cool Projects*

* [[MoBot]] - By: Ramanathan Muthiah
* [[Multi-Shot Cannon]] - By: Wesley Myers

h3. *Where can I buy a CMUcam4?*

* "Lextronic":http://www.lextronic.fr/ (France) - "Buy Here":http://www.lextronic.fr/P1890-module-de-reconnaissance-video-cmucam4.html

* "Active Robots":http://active-robots.com/ (United Kingdom) - "Buy Here":http://www.active-robots.com/cmucam4.html
* "Antratek":http://www.antratek.nl (Netherlands) - "Buy Here":http://www.antratek.nl/Robotcameras.html
* "Barcelona Cybernetics":http://www.bcncybernetics.com/ (Spain) - "Buy Here":http://www.bcncybernetics.com/CMUcam4_Open_Source_Embedded_Color_Vision_Sensor_p/ard-cmucam4.htm
* "Elekronikladen":http://www.elmicro.com/ (Germany) - "Buy Here":http://elmicro.com/de/cmucam4.html
* "Lawicel":http://www.lawicel-shop.se/ (Sweden) - "Buy Here":http://www.lawicel-shop.se/prod/Embedded-Vision-Sensor_873820/ovrigt_8852/SWE/SEK
* "Innovative Electronics":http://innovativeelectronics.com/index_indo.php (Indonesia) - "Buy Here":http://innovativeelectronics.com/innovative_electronics/cmucam4.htm
* "No DNA":http://www.nodna.de/index.php?sid=0264dd411c09dc61545d27b0fcd0f101 (Germany) - "Buy Here":http://www.nodna.de/Roboter-und-Zubehoer/Sensoren/Kameras-Vision-Licht/CMUcam4--2203.html?sid=0264dd411c09dc61545d27b0fcd0f101
* "Probyte":http://probyte.fi/oscom/index.php (Finland) - "Buy Here":http://probyte.fi/oscom/product_info.php?products_id=534&language=en
* "Robot Italy":http://www.robot-italy.com/index.php (Italy) - "Buy Here":http://www.robot-italy.com/product_info.php?products_id=2456
* "Robot Electronics":http://www.robot-electronics.co.uk/ (United Kingdom) - "Buy Here":http://www.robot-electronics.co.uk/acatalog/Cameras.html
* "Robot R Us":http://www.robot-r-us.com/ (Singapore) - "Buy Here":http://www.robot-r-us.com/cameras/cmucam3-camera.html
* "Robot Shop":http://www.robotshop.com/ (America) - "Buy Here":http://www.robotshop.com/cmucam4-robot-vision-system-sensor-3.html
* "Robot Store HK":http://www.RobotStoreHK.com/ (Hong Kong) - "Buy Here":http://www.robotstorehk.com/cmucam4.html
* "Roboter-Telie":http://www.roboter-teile.de/ (Germany) - "Buy Here":http://www.roboter-teile.de/Oxid/Kamera-Module/CMUcam4-Fertigmodul.html
* "Robotui":http://www.robotui.com/ (Spain) - "Buy Here":http://www.robotui.com/product.php?id_product=90
* "Sander Electronic":http://www.sander-electronic.de/ (Germany) - "Buy Here":http://www.sander-electronic.de/gm00032.html

h3. *Typical Uses*

The CMUcam4 can be used to track colors or collect basic image statistics. The best performance can be achieved when there are highly contrasting and intense colors. For instance, it can easily track a red ball on a white background, but it would be hard to differentiate between different shades of brown in changing light. Tracking colorful objects can be used to localize landmarks, follow lines, or chase moving beacons. Using color statistics, it is possible for the CMUcam4 to monitor a scene, detect a specific color, or do primitive motion detection. If the CMUcam4 detects a drastic color change, then chances are something in the scene changed. Using “line mode”, the CMUcam4 can generate low resolution binary images of colorful objects. This can be used to do more sophisticated image processing that includes line following with branch detection, or even simple shape recognition. These more advanced operations require custom algorithms to post process the binary images sent from the CMUcam4. As is the case with a normal digital camera, this type of processing might require a computer or at least a fast microcontroller.

h3. *Typical Configuration*

The most common configuration for the CMUcam4 is to have it communicate to a master processor via a standard TTL serial port. This “master processor” could be a computer (through USB or RS232), Arduino, Basic Stamp, PIC, or similar microcontroller. The CMUcam4 is small enough to add simple vision to embedded systems that can not afford the size or power of a standard computer based vision system. Its communication protocol is designed to accommodate even the slowest of processors. The CMUcam4 supports various baud rates to accommodate slower processors. For even slower processors, the CMUcam4 can operate in “poll mode”. In this mode, the host processor can ask the CMUcam4 for just a single packet of data. This gives slower processors the ability to more easily stay synchronized with the data. It is also possible to add a delay between individual serial data characters using the “delay mode” command. Due to communication delays, both poll mode and delay mode will lower the total number of frames that can be processed in one second.