Difference: ArduinoProject (1 vs. 7)

Revision 72009-07-20 - sstuber

Line: 1 to 1
 
META TOPICPARENT name="SummerInternships"

Description

Controlling the HDR camcorders using the Arduino prototyping board.

Changed:
<
<

Current Command Set

Here is the list of commands that hopefully the rest of you can come up with some new meta-commands for use with the command line application.

Realistically none of the commands that only work only for playback mode will even be used. ( cant get to playback mode using Arduino )

>
>

LANC Command Set

 
Added:
>
>
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
Line: 44 to 41
 05 & 2A Switch Mode from Camera - HDV or vice versa 5E Turns Camera Off
Deleted:
<
<
The following are commands I created ( they do various things with the above commands or just things within my program ( special/normal ) )

pp Turns Camera On nn Switches to Normal Mode ss Switches to Special Mode mp Starts Multi-Camera Pause mr Starts Multi-Camera Record

 
Changed:
<
<

Proposed Meta Command List

These would be used in the following context. ( executable is named serial ) at command line: serial -c command

Also, note any suggestions for the command line switches ( like -c or -h ) and comment on possible changes in the Comment section below

Place your ideas here, and don't worry about special or normal mode ( that is irrelevant and will be removed in the final program )

Command           Description

init              sets all the cameras to fully zoomed out and the focus set to closest ( this is an example, you could put your name in parentheses at the end if you want )

zto(x,speed)      zooms camera to particular setting (how many discrete zoom levels are there?) [BA]
zby(x,speed)      zooms camera by some +/- delta amount [BA]

ssel(cam)         select a particular camera (zoom-command above would affects only the currrent camera) [II]

maf(on|off)       multiple cameras auto-focus on/off [II]
msnap             multiple cameras snapshot [II]

>
>

Meta Command List

 
Added:
>
>
Refer to the
ArduinoCameraController
documentation below
 
Deleted:
<
<
 

Comments

Added:
>
>
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

Line: 98 to 67
 

Command Line Options

Changed:
<
<
Option            Description

-h                Shows This Help Screen

-c                Sends Command to Serial Port   ( eg. -c 5E 

-f                Sends Command to Serial Port with Minimal Delays

-r n              Repeats the Commands n Times ( eg. -r 5 5E )
>
>
Refer to Documentation
 
Changed:
<
<
-m Monitors the Serial Port ( end with CTRL C

-l Lists Usable Commands for -c Argument modify with -l s or -l n For a List of Special/Normal Commands Respectively

>
>

Updates by Steven

 
Changed:
<
<
-mp Starts Multi-Camera Pause
>
>
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.
 
Changed:
<
<
-mr Starts Multi-Camera Record
>
>
SVN Repository folders are
 
Added:
>
>
ArduinoCameraController
ArduinoStrobeController
USBDriveController
 
Added:
>
>
-- Main.sstuber - 21 May 2009
 
Changed:
<
<

Updates by Steven

>
>

Documentation

 
Changed:
<
<
so far I have not found a way to manually focus the new HD cameras through the LANC protocol ( maybe functionality was removed? )
>
>
 
Changed:
<
<
I will run a test of every possible command that exists to see if I can find anything new ( and hopefully the focus functions for the new camera ).
>
>
 
Changed:
<
<
-- Main.sstuber - 21 May 2009
>
>

 
Added:
>
>
META FILEATTACHMENT attr="" comment="General Guide for using Camera Array" date="1248115164" name="CameraArrayGuide.pdf" path="CameraArrayGuide.pdf" size="28946" user="sstuber" version="1.1"
META FILEATTACHMENT attr="" comment="Camera Controller Documentation" date="1248115239" name="ArduinoCameraController.pdf" path="ArduinoCameraController.pdf" size="76945" user="sstuber" version="1.1"
META FILEATTACHMENT attr="" comment="Strobe Controller Documentation" date="1248115256" name="ArduinoStrobeController.pdf" path="ArduinoStrobeController.pdf" size="49473" user="sstuber" version="1.1"
META FILEATTACHMENT attr="" comment="USB Downloader Documentation" date="1248115277" name="USBDriveController.pdf" path="USBDriveController.pdf" size="48066" user="sstuber" version="1.1"

Revision 62009-05-25 - sstuber

Line: 1 to 1
 
META TOPICPARENT name="SummerInternships"

Description

Line: 94 to 94
  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?
Added:
>
>
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

Line: 118 to 120
 -mr Starts Multi-Camera Record

Added:
>
>

Updates by Steven

so far I have not found a way to manually focus the new HD cameras through the LANC protocol ( maybe functionality was removed? )

I will run a test of every possible command that exists to see if I can find anything new ( and hopefully the focus functions for the new camera ).

 -- Main.sstuber - 21 May 2009

Revision 52009-05-22 - IvoIhrke

Line: 1 to 1
 
META TOPICPARENT name="SummerInternships"

Description

Line: 70 to 70
 zto(x,speed) zooms camera to particular setting (how many discrete zoom levels are there?) [BA] zby(x,speed) zooms camera by some +/- delta amount [BA]
Added:
>
>
ssel(cam) select a particular camera (zoom-command above would affects only the currrent camera) [II]

maf(on|off) multiple cameras auto-focus on/off [II] msnap multiple cameras snapshot [II]

 

Comments

Revision 42009-05-22 - BradAtcheson

Line: 1 to 1
 
META TOPICPARENT name="SummerInternships"

Description

Line: 67 to 67
  init sets all the cameras to fully zoomed out and the focus set to closest ( this is an example, you could put your name in parentheses at the end if you want )
Added:
>
>
zto(x,speed) zooms camera to particular setting (how many discrete zoom levels are there?) [BA] zby(x,speed) zooms camera by some +/- delta amount [BA]
 

Comments

Revision 32009-05-22 - BradAtcheson

Line: 1 to 1
 
META TOPICPARENT name="SummerInternships"

Description

Line: 80 to 80
  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.
Added:
>
>
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?
 

Command Line Options

Revision 22009-05-22 - WolfgangHeidrich

Line: 1 to 1
 
META TOPICPARENT name="SummerInternships"

Description

Line: 69 to 69
 

Comments

Changed:
<
<
>
>
 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 )
Changed:
<
<
>
>
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.

 

Command Line Options

Revision 12009-05-21 - sstuber

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="SummerInternships"

Description

Controlling the HDR camcorders using the Arduino prototyping board.

Current Command Set

Here is the list of commands that hopefully the rest of you can come up with some new meta-commands for use with the command line application.

Realistically none of the commands that only work only for playback mode will even be used. ( cant get to playback mode using Arduino )

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

The following are commands I created ( they do various things with the above commands or just things within my program ( special/normal ) )

pp          Turns Camera On
nn          Switches to Normal Mode
ss          Switches to Special Mode
mp          Starts Multi-Camera Pause
mr          Starts Multi-Camera Record

Proposed Meta Command List

These would be used in the following context. ( executable is named serial ) at command line: serial -c command

Also, note any suggestions for the command line switches ( like -c or -h ) and comment on possible changes in the Comment section below

Place your ideas here, and don't worry about special or normal mode ( that is irrelevant and will be removed in the final program )

Command           Description

init              sets all the cameras to fully zoomed out and the focus set to closest ( this is an example, you could put your name in parentheses at the end if you want )

Comments

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 )

Command Line Options

Option            Description

-h                Shows This Help Screen

-c                Sends Command to Serial Port   ( eg. -c 5E 

-f                Sends Command to Serial Port with Minimal Delays

-r n              Repeats the Commands n Times ( eg. -r 5 5E )

-m                Monitors the Serial Port ( end with CTRL C 

-l                Lists Usable Commands for -c Argument
                  modify with -l s or -l n For
                  a List of Special/Normal Commands Respectively

-mp               Starts Multi-Camera Pause

-mr               Starts Multi-Camera Record

-- Main.sstuber - 21 May 2009
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback