Menu

#1033 M3 did not capture images in AstroEx

open
nobody
canon m3 (1)
5
2018-03-27
2018-02-26
No

I connected a Canon EOS M3 via AstroEX (http://hkastroforum.net/viewtopic.php?f=68&t=34371) to capture photos. Canon EOS 80D captured preview photos and saved the files and SD card successfully. But M3 failed.

Below is process log

Model Port 
---------------------------------------------------------- 
Canon EOS M3 usb:001,008 
For debugging messages, please use the --debug option. 
Debugging messages may help finding a solution to your problem. 
If you intend to send any error or debug messages to the gphoto 
developer mailing list , please run 
gphoto2 as follows: 

env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --set-config shutterspeed=bulb 

Please make sure there is sufficient quoting around the arguments. 

-------------------- Summary -------------------- 
Total Integrated Exposure Time = .16 min 
Estimated Total Time = .17 min 
Exposure Time for Each Frame = 5s 
Interval = 1s 
No.of Frame = 2 
No.of Dithering = 0 
Time for Dither Settlement = 0s 
ISO = 200 
Taget Name = m3 
--------------------- End --------------------- 

/home/raspex/astrophoto/m3 was created 

Capture start ... 
For debugging messages, please use the --debug option. 
Debugging messages may help finding a solution to your problem. 
If you intend to send any error or debug messages to the gphoto 
developer mailing list , please run 
gphoto2 as follows: 

env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --set-config iso=200 

Please make sure there is sufficient quoting around the arguments. 

*************************************** 
Frame 1/2 start. . . 
Waiting for 5 seconds for events from camera. Press Ctrl-C to abort. 
Waiting for 0 seconds for events from camera. Press Ctrl-C to abort. 
Interval: 1 seconds 
*************************************** 
Frame 2/2 start. . . 
Waiting for 5 seconds for events from camera. Press Ctrl-C to abort. 
Waiting for 0 seconds for events from camera. Press Ctrl-C to abort. 
Interval: 1 seconds 

********* COMPLETED ********* 

Below is the debug message

raspex@raspberry:~$ env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --set-config shutterspeed=bulb

*** Error ***              
shutterspeed not found in configuration tree.
*** Error (-1: 'Unspecified error') ***       

raspex@raspberry:~$ env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --set-config iso=200

*** Error ***              
iso not found in configuration tree.
*** Error (-1: 'Unspecified error') ***       

Discussion

  • Marcus Meissner

    Marcus Meissner - 2018-02-26

    which libgphoto2 version is in use? make sure you use at least 2.5.14

     
  • Anthony C T Lee

    Anthony C T Lee - 2018-02-27

    2.5.16 was installed after your comment.
    I have the same error.

    raspex@raspberry:~/libgphoto2-2.5.16$ gphoto2 --set-config shutterspeed=bulb                                                                               
    *** Error ***              
    shutterspeed not found in configuration tree.
    *** Error (-1: 'Unspecified error') ***       
    
    For debugging messages, please use the --debug option.
    Debugging messages may help finding a solution to your problem.
    If you intend to send any error or debug messages to the gphoto
    developer mailing list <gphoto-devel@lists.sourceforge.net>, please run
    gphoto2 as follows:
    
        env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --set-config shutterspeed=bulb
    
    Please make sure there is sufficient quoting around the arguments.
    

    I generate the debug message.

    raspex@raspberry:~/libgphoto2-2.5.16$ env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --set-config shutterspeed=bulb
    
    *** Error ***              
    shutterspeed not found in configuration tree.
    *** Error (-1: 'Unspecified error') *** 
    
     
  • Anthony C T Lee

    Anthony C T Lee - 2018-03-27

    The problem was solved, M3 worked on libgphoto2-2.5.16 & 2.5.16.1. I created a scipt so it captures photos in bulb exposure.

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    #!/bin/bash
    echo For Canon EOS-M3, version 001 created by Anthony C T LEE from Hong Kong
    #not working for 80D due to the filename of duplication of downloaded JPG 
    # --capture-image-and-download does not work for M3
    echo
    echo Please set the camera
    echo 1. in bulb mode,
    echo 2. RAW and JPG format,
    echo 3. set the ISO and aperature prior to connection to raspberry pi.
    echo
    echo What is exposure time in seconds?
    read "var_exp_t" # Exposure time X
    echo
    echo What is total number of frames to be taken?
    read "var_frame_no" # Y
    gphoto2 --wait-event=2s # add a minimum of 2 sec time gap before the first shutter release since switch on to ensure the camera captures photos correctly
    #
    # eosremoterelease: 1=Press Half (OK); 2=Press Full (OK), 4=Release Full (OK), 5=Immediate (Fail, shutter cannot be Released)
    counter=1
    until [ $counter -gt $var_frame_no ]
    do
        gphoto2 --set-config eosremoterelease=2 --wait-event="$var_exp_t"s --set-config eosremoterelease=4 # --wait-event=Xs is time of exposure in X seconds
        gphoto2 --wait-event-and-download=5s --keep-raw # add a minimum of 5 sec for downloading image
        ((counter++))
    done
    echo
    # or change it to "--wait-event=4s" (2nd wait-event with minimum of 4 sec) to ensure the camera downloads photos correctly
    echo A total of "$var_frame_no" frames with exposure of "$var_exp_t" seconds per frame were taken.
    
     

Log in to post a comment.