Skip to main content
Home
The Baheyeldin Dynasty
The journey for wisdom starts with knowledge
  • Home
  • About
  • Site Map
  • Contact

Using Canon EOS DSLR cameras bulb mode in gphoto2

  1. Home

By Khalid on 2017/03/22 - 17:39, last updated 2017/03/22 - 17:39

Taking pictures of the night sky almost always involves exposure times that are more than 30 seconds. This is often couple with taking many pictures for later stacking into better images.

For this, the camera has to be set to Bulb mode. You can automate taking multiple exposures by using an intervalometer, which is a remote release with a device with some electronic circuits and LCD screen to make all this possible.

You can also automate this using a Linux computer running gphoto2 software. The computer can be as small as a Raspberry Pi, or a laptop.

However, for the newer Canon EOS models, finding the setting that works is hard. The instructions that you find on the internet do not work. Even this gphoto2 documentation page on remote release has values that don't work.

What I did find to work with my Canon EOS T4i (650d) is the following:

1. Set the camera to Manual (M on the main dial).

2. Enter the following commands, typically from a script:

First set the main parameters. Note that we set the speed to 'bulb':

  gphoto2 \
    --set-config whitebalance=Daylight \
    --set-config imageformat=RAW \
    --set-config shutterspeed=bulb \
    --set-config iso=400

Then the main logic loop for taking pictures should be as follows. Note the values for 'eosremoterelease':

  # Number of frames to take
  NUMBER=5

  # Exposure, in seconds
  EXPOSURE=60

  for COUNT in `seq 1 $NUMBER`
  do
    gphoto2 \
    --filename "%y%m%d-%H%M%S-$COUNT.CR2" \
    --wait-event=2s \
    --set-config eosremoterelease=5 \
    --wait-event=${EXPOSURE}s \
    --set-config eosremoterelease=11 \
    --wait-event-and-download=5s
  done

The values I found on the internet, even on the gphoto2 web site, do not work. They are 'Immediate' and 'Off'.

The ones I did find to work on this particular model are 5 and 11. I only found them by trial and error. To find out what the values are for your camera, use:

gphoto2 --list-config eosremoterelease

Then you have to experiment with the values until you find one that triggers the shutter, and another that closes it. You also have to make sure that the doublet is repeatable. That is, if you take one pictures using the above, you can take subsequent pictures using the same values. If the camera does not respond to the same values, then change the second occurrence of 'eosremoterelease' in the above snippet to other values and re-test.

Clear skies ...

Contents: 
Astronomy
Tags: 
Astrophotography
Canon
DSLR
gphoto2
  • Add comment

Comments

Saber (not verified)

Hi Khalid,

Sun, 2021/03/21 - 16:44

Hi Khalid,
Thanks for the great article. Your hints helped me to get my Canon EOS M100 working with gphoto2. In fact, this is the only way that enables a remote shutter release on M100 from computer.

  • reply

Alex Coletti (not verified)

How to find functions and parameters

Tue, 2022/06/28 - 07:56

Khalid, thank you for your post. In the case of my Canon EOS 5D-Mark III, I found helpful to run Jim Easterbrook's GUI in gphoto2-python (cam-conf-view-gui.py) and to find the available options from the drop-down menus. The command (gphoto2 --list-config eosremoterelease) somehow lists only the functions but not the options.

  • reply

Paweł Jochym (not verified)

What actually worked for EOS 6D

Sat, 2024/08/10 - 04:40

Thanks for sharing this. Your post put me, finally, on the right track to the working solution. At least working for EOS 6D. There are two parts. The strings seem to be language sensitive - so the numbers are a better solution. I did not figure out the correct ones for 6D yet - you can solve this with LANG=C. The important part was the event to wait for at the end. In my case, it turns out to be CAPTURECOMPLETE. The long exposition may take much longer than the exposition time! Sometimes over twice as long! The final working (for EOS 6D) example script looks like this:

#!/bin/bash

LANG=C

gphoto2 --filename "capt_exp=${1}s_%Y-%m-%d_%H:%M:%S.%C" \
        --set-config eosremoterelease=Immediate \
        --wait-event=${1}s \
        --set-config eosremoterelease="Release Full" \
        --wait-event-and-download=CAPTURECOMPLETE

The camera needs to be in the BULB mode for this to work.

  • reply

Current

Pandemic

  • COVID-19
  • Coronavirus

Search

Site map

Contents

  • Family
    • Khalid
    • Ancestry
    • Extended
  • Friends
  • Nokat نكت
  • Writings
    • Cooking
    • Culture
    • Science
    • History
    • Linguistics
    • Media
    • Literature
    • Politics
    • Humor
    • Terrorism
    • Business
    • Philosophy
    • Religion
    • Children
  • Technology
    • Linux
    • Arabization
    • Drupal
      • Association
    • Software
    • Internet
    • Technology in Society
    • Digital Archeology
    • NCR History
    • MidEast Internet
    • Programming
    • Saudi ISPs
    • Miscellaneous
  • Places
    • Canada
      • Weather
    • Egypt
      • Cuisine
      • Alexandria
      • E.G.C.
    • USA
    • Saudi Arabia
  • Interests
    • Astronomy
    • Fishing
    • Photography
    • Snorkeling
    • Nature
    • Photomicroscopy
  • Miscellany

In Depth

  • al-Hakim bi Amr Allah: Fatimid Caliph of Egypt الحاكم بأمر الله
  • Alexandria, Egypt
  • Arabic on the Internet
  • Articles on the history of Muslims and Arabs in the Iberian Peninsula تاريخ المسلمين و العرب في الأند
  • DIY GOTO Telescope Controller With Autoguiding and Periodic Error Correction
  • E.G.C. English Girls College in Alexandria, Egypt
  • Egyptian Cuisine, Food and Recipes مأكولات مصرية
  • George Saliba: Seeking the Origins of Modern Science?
  • Internet Scams and Fraud
  • Mistaken for an Arab or Muslim: Absurdities of being a victim in the War on Terror
  • Mistaken Identity: How some people confuse my site for others
  • One People's Terrorist Is Another People's Freedom Fighter
  • Overview of Google's Technologies
  • Photomicroscopy
  • Pseudoscience: Lots of it around ...
  • Resources for using Google Adsense with Drupal
  • Rockwood Conservation Area, Southern Ontario
  • Selected Symbolic Novels And Movies
  • Snorkeling the Red Sea near Jeddah
  • Updates and Thoughts on the Egyptian Revolution of 2011

Recent Content

Most recent articles on the site.

  • Origin Of COVID-19: Natural Spillover, Lab Leak Or Biological Weapon?
  • Kamal Salibi and the "Israel from Yemen" theory
  • How To Upgrade HomeAssistant Core In A Python Venv Using uv
  • Ancestry - Paternal Side
  • Review of Wait Water Saver For Whole House Humidifiers
more

Most Comments

Most commented on articles ...

  • Another scam via Craigslist: offering more than asking price
  • Warning to female tourists thinking of marrying Egyptians
  • Craigslist classified for used car: Cheque fraud scam
  • Winning the lottery scam email: World Cup South African lottery
  • Email Scam: BMW 5 Series car and lottery winning
more

About Khalid

Various little bits of information ...

  • Khalid Baheyeldin: brief biography
  • Presentations and Talks
  • Youtube Videos
  • GitHub Projects
  • Drupal.org Profile
  • Astrophotography @ Flickr

Sponsored Links

Your Link Ad Here

Tags

Android Mobile Ubuntu Sony OnStep OpenWRT Router Ericsson COVID-19 Rogers Coronavirus Arabic Kubuntu Home Assistant GSM Telescope tablet Spectrum Scam Python 419 Laptop Firefox DIY CPU Conspiracy Comet Balkanization backup App
More

© Copyright 1999-2025 The Baheyeldin Dynasty. All rights reserved.
You can use our content under the Terms of Use.
Please read our privacy policy before you post any information on this site.
All posted articles and comments are copyright by their owner, and reflect their own views and opinions, which may not necessarily be consistent with the views and opinions of the owners of The Baheyeldin Dynasty.

Web site developed by 2bits.com Inc.