Back to Camera Hacker |
|
USB control of a canon camera using a microprocessorHello camera gurus. I am trying to use a microcontroller to control a canon SLR's many functions via the USB port. I know the SDK's can be used for writing programs that will run on a PC or MAC but is there anyway to do this on a microcontroller? I imagine it is a case of knowing what the actual USB commands are and mimicking them from the MCU's USB port. Anyone know how to do this? I know it is possible to use the small stereo plug to control focus and shutter but I am looking at much more in depth control of more complex functions... Any ideas would be great. Thanks. SDK newbie Look into SiLabs' toolstick platform, the 8051F34x series has USB onboard and a bunch of example code to show you how to use it. Unless the SDKs document it, you'll probably have to reverse-engineer the actual USB protocol used (I'd suggest using the available SDKs to knock together PC/Mac code and sniffing the USB bus to work out what's being sent, as you have full control over what's being done, this should be a lot easier than reverse-engineering "blind") Simon Simon Hi Simon, That's more or less what i figured I would have to do... I guess, as they say, "nothing worth doing is ever easy." I'll look into SiLabs as you suggested. Most of my embedded device programming has been done on the PIC platform but it never hurts to check out other platforms... Thanks for the advice, and if anybody else happens to have any other advice, information, or suggestions it would be much appreciated. Thanks again SDK newbie There may be a simpler answer. You are looking for full source/protocol info for communication with the camera, avoiding any binary-only libraries (which I assume are a limitation of the official Canon SDK). How about checking out the Linux projects that talk to the Canons and do remote capture? gPhoto.org Full source is available. Regards, Doug DSchafer How is your project with micro controller and Canon SLR coming? Just curious. TX. eliab Any success with this? I'm trying to do something similar with an arduino and a canon g2 or g5 for aerial photography. Daniel Agar
Add Comment
TrackBack
No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here. Messages, files, and images copyright by respective owners. |
59 Users Online
$10000-above $5000-$9999 $2000-$4999 $1000-$1999 $500-$999 $200-$499 $100-$199 $50-$99 $25-$49 $0-$24 Gift Certificate |
|
Copyright © 1998 - 2009 by Chieh Cheng. All Rights Reserved. |