Description
Controlling the HDR camcorders using the Arduino prototyping board.
LANC Command Set
Below is the list of RAW LANC commands that exist. These are not usable with the Raw flag in the
ArduinoCameraController, they are too low level.
Command Description
Special Commands ( command ss ) ( None Work In Playback Mode )
00 - 0E Various Speeds of Zooming In ( 00 slowest, 0E fastest )
10 - 1E Various Speeds of Zooming Out ( 10 slowest, 1E fastest )
35 Zooming In ( speed ~05 )
37 Zooming Out ( speed ~15 )
39 Zooming In ( speed ~0D-0E )
3B Zooming Out ( speed ~1D-1E )
41 Auto-Focus on/off
45 Focus Manual Far
47 Focus Manual Near
51 Backlight on/off
Normal Commands ( command nn ) ( None Work In Playback Mode )
2B Takes a Photo
39 Autofocussing
33 Starts Recording ( HDV mode only )
Normal Commands That Only Work For Playback Mode
30 Stops Playback ( Playback Mode Only )
32 Pauses Playback ( Playback Mode Only )
34 Resumes Playback ( Playback Mode Only )
46 Slow Forward ( Playback Mode Only )
Global Commands ( Works Anywhere )
05 & 2A Switch Mode from Camera - HDV or vice versa
5E Turns Camera Off
Meta Command List
Refer to the
ArduinoCameraController
documentation below
Comments
Outdated...
Add anything useful I might want or need to know here: ( maybe you don't like using -c and would rather commands be default? stuff like this )
WH: I think there are three possible levels of command interfaces
- the direct LANC code interface you currently have
- a simple translation layer, which abstracts away the normal vs. special mode, and replaces the cryptic numbers of the LANC protocol with more intuitive short (possibly two or three character) letter codes (eg. rec, stp, ply, fin, fou, zin, zou for "record", "stop", "play", "focus in/out", and "zoom in/out"). Each command could take an argument that specifies the camera (255 would mean all connected cameras, in turn)
- the meta layer of macros composed of more complex operations (TBD)
Personally, I think the translation layer would be much more useful than the LANC protocol layer, so the latter could be replaced completely with the former.
BA: What is the HDV mode? Is that the high speed mode? If not, is there some way we can toggle between standard and high speed recording?
SS: HDV mode is the name they gave the video recording mode in the lanc protocol page. There is no way I am currently aware of to change to high speed recording.
Command Line Options
Refer to Documentation
Updates by Steven
The three folders related to this project are available in the SVN repository. They contain source code and documentation on how to use and troubleshoot each of the applications. The documentation is also available below in the attachments. Refer to that for further information.
SVN Repository folders are
ArduinoCameraController
ArduinoStrobeController
USBDriveController
-- Main.sstuber - 21 May 2009
Documentation