GithubHelp home page GithubHelp logo

anton-vakulenko / tinyshooter Goto Github PK

View Code? Open in Web Editor NEW
5.0 0.0 1.0 399 KB

Simple GUI utility for shooting astrophoto with Canon EOS cameras. Supports mirror lock-up and dithering via PHD/PHD2.

License: GNU General Public License v3.0

C++ 58.46% C 41.54%
astrophotography long-exposure serial-port phd2 dithering edsdk cpp phd win32

tinyshooter's Introduction

TinyShooter

Simple GUI utility for shooting astrophoto with DSLR cameras. Supports dithering (via PHD or PHD2) and saving images to PC (Canon EOS only).

Getting Started

These instructions will get you a copy of the project up and running on your local machine.

Prerequisites

Hardware

Theoretically any modern DSLR camera with Bulb port (saving to PC works on Canon EOS only).

RS-232 serial port or USB-to-serial port adapter cable using RTS or DTS line. DIY examples of such cables are here.

Software

OS Windows XP-10 32-64bit

PHD or PHD2 (for dithering feature only)

EDSDK.dll (32-bit version) from Canon EDSDK (for saving to PC feature only). You should obtain a copy of EDSDK.dll by yourself applying to Canon Developers Program. I'm not allowed to redistribute this DLL.

That's all for a regular user. For development purposes you should have CodeBlocks (MinGW version) installed.

Installing

Unzip archive to any folder (avoid non-English characters it the path):

unzip ts.zip

Usage

Run ts.exe:

ts.exe

Application's main window will appear just after that. If you run TinyShooter for the first time, it's wise to check settings. Press "Settings" button and you'll see application's settings window. There are several items here:

  • Serial port number. You should enter number of serial port to which shutter cable is connected. Put there only digits (for example "5", not "Com5").

  • Mirror settle. Mirror lock-up always leads to vibration. With cheap mounts it could be very strong, with high-end mounts - insignificant. Five seconds would be enough for most situations. If you have very stable mount or telescope with very short focal length, you could reduce this value. Please note, zero is not accepted here.

  • Pause. Duration of pause between frames. Pause reduces thermal noise of DSLR camera. Duration of pause shouldn't be shorter then duration of dithering process. Default value is 30 seconds. Please note, zero is not accepted here.

  • Dither amount. Optimal value for this parameter is strongly related with focal length of main and guiding scopes and with pixel sizes of main and guiding cameras. Default value is 3 pixels.

  • Download images to PC. Check this option if you have Canon EOS camera and want to save images directly on your PC. To use this option you have to put EDSDK.dll to folder with TinyShooter. You should obtain a copy of EDSDK.dll by yourself applying to Canon Developers Program. I'm not allowed to redistribute this DLL.

  • Path to download images from camera. Press "Browse" button and choose folder to store images. It's better to avoid non-Latin characters it the path.

That's all for Settings. Press "Save" button now. Of course, you can change setting again anytime you want. You may notice that "Save" button sometimes is inactive. This happens when you left one or more fields empty.

Now you are almost ready to start shooting. However, before that you should check values in application's main window:

  • Exposure. Enter the duration of a single frame in seconds. Please note, zero is not accepted here.

  • Repeat. Enter how many frames you want to shoot. Please note, zero is not accepted here.

  • Start after. If you want to delay shooting for some period, enter value in minutes to this field. This is useful feature to start session at specific time. To begin session immediately after pressing "Start" button, leave zero in this field (default value).

  • Dither. Check this box to activate dithering. This feature requires PHD or PHD2 with server enabled.

To start shooting press "Start" button. You may notice that "Start" button sometimes is inactive. This happens when you left one or more fields empty. Just after pressing "Start" button, it's name will change to "Stop". Pressing on it will abort shooting process on any stage.

Built With

Authors

Anton Vakulenko - Initial work

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details. Portions of this code copyrighted by Canon and c_07 (code from c_07 licensed under CC BY-SA 2.5 License)

Acknowledgments

  • Canon for it's SDK and API
  • Microsoft for it's docs.microsoft.com
  • c_07 for tutorial about coding Windows TCP Sockets
  • Sublihim for finding stupid bug
  • CodeBlock and TDM-GCC MinGW Compiler developers
  • and everyone who helped on forums answering my questions...

tinyshooter's People

Contributors

anton-vakulenko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Forkers

nspsfs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.