Forgot Password
Pentax Camera Forums Home
 

Reply
Show Printable Version Search this Thread
08-06-2022, 01:05 PM   #1
New Member




Join Date: Aug 2022
Posts: 2
Operating K-70 from PC/python?

Hi,

I need to capture a series of images at certain times, triggered by a computer or, if not, an electronic circuit. The settings, focus, etc would all be constant - the only thing that needs triggering is the shutter. Is there a native way to do this, or drivers that would let me? I think I could hack together an IR remote, but if there's a more direct method like USB or similar, that would be much more helpful.

08-06-2022, 01:23 PM   #2
Administrator
Site Webmaster
Adam's Avatar

Join Date: Sep 2006
Location: Arizona
Photos: Gallery | Albums
Posts: 51,166
Either of these should do the trick:

Introducing Pentax Wi-Fi & USB Tether by PentaxForums.com - PentaxForums.com
https://pktriggercord.melda.info/

Adam
PentaxForums.com Webmaster (Site Usage Guide | Site Help | My Photography)



PentaxForums.com server and development costs are user-supported. You can help cover these costs by donating. Or, buy your photo gear from our affiliates, Adorama, B&H Photo, KEH, or Topaz Labs, and get FREE Marketplace access - click here to see how! Trusted Pentax retailers:

08-06-2022, 01:45 PM   #3
Loyal Site Supporter
Loyal Site Supporter




Join Date: Jul 2021
Location: Zuiderkempen - Grote Netewoud - Belgium
Photos: Gallery | Albums
Posts: 623
Other hacking options besides infrared that might work

The cable release via the micro jack
Pentax CS-310 reviews - Pentax Camera Accessory Review Database is the variant for the k 70.
K-70 might be the odd one (there are 2 types of wired trigger
Pentax CS-205 Wired Remote reviews - Pentax Camera Accessory Review Database )
but this seems easy Motion trigger? - PentaxForums.com

Image sync software ...


There is some commercial sw like pk trigger cord with cmd line...
08-06-2022, 02:50 PM   #4
Pentaxian




Join Date: Jan 2018
Location: Jersey C.I.
Posts: 2,668
If WiFi or USB tethering are impractical, then triggering via the cable-release jack socket would seem to be the obvious choice … it's the nature of the time interval that might cause problems.
If it's a fixed interval, one of the plug-in aftermarket timers would be adequate, even possibly the Interval Timer within the camera itself … see p72 in the manual.
If the time interval is more random, then some sort of trigger device would be needed to activate a relay or similar to close the shutter circuit.
Without knowing more detail of exactly what the job entails, it's difficult to be more specific.
The other points of consideration might be the overall extent of time to complete the job and the total number of exposures … ie. would one battery be enough or would a mains adaptor be required?

08-06-2022, 03:28 PM   #5
New Member




Join Date: Aug 2022
Posts: 2
Original Poster
Thanks all;


QuoteOriginally posted by kypfer Quote
If WiFi or USB tethering are impractical, then triggering via the cable-release jack socket would seem to be the obvious choice … it's the nature of the time interval that might cause problems.
If it's a fixed interval, one of the plug-in aftermarket timers would be adequate, even possibly the Interval Timer within the camera itself … see p72 in the manual.
If the time interval is more random, then some sort of trigger device would be needed to activate a relay or similar to close the shutter circuit.
Without knowing more detail of exactly what the job entails, it's difficult to be more specific.
The other points of consideration might be the overall extent of time to complete the job and the total number of exposures … ie. would one battery be enough or would a mains adaptor be required?
Good timing - I've just been trying the cable release out and came back to update. Using the pinout mentioned here, a pair of spare relays to act as electronic switches between the poles, and an arduino, I built a rudimentary serial controlled cable release - no drivers etc necessary and able to talk to basically any programming language I need through the PC's serial ports (inc. USB). Works great, and it's a nice and simple setup with no complicated software or anything needed. I need take a photo every time the program moves a stepper motor one step; it ought to be at regular intervals, but you can see how it could easily get out of sync if the motor or camera lags. This way I can send a command to move the motor, and then a command to fire the shutter, in the same cycle of a single loop without having to perfectly align both time intervals (between motor movements and shutter firings) on separate intervalometers.
08-06-2022, 06:00 PM   #6
Site Supporter
Site Supporter




Join Date: May 2016
Photos: Albums
Posts: 1,788
There's a program called gphoto2 which also controls cameras through a USB cable.
08-07-2022, 12:14 AM   #7
Pentaxian




Join Date: Jan 2018
Location: Jersey C.I.
Posts: 2,668
QuoteOriginally posted by abcdefg123 Quote
Thanks all;
Good timing - I've just been trying the cable release out and came back to update. Using the pinout mentioned here, a pair of spare relays to act as electronic switches between the poles, and an arduino, I built a rudimentary serial controlled cable release - no drivers etc necessary and able to talk to basically any programming language I need through the PC's serial ports (inc. USB). Works great, and it's a nice and simple setup with no complicated software or anything needed. I need take a photo every time the program moves a stepper motor one step; it ought to be at regular intervals, but you can see how it could easily get out of sync if the motor or camera lags. This way I can send a command to move the motor, and then a command to fire the shutter, in the same cycle of a single loop without having to perfectly align both time intervals (between motor movements and shutter firings) on separate intervalometers.


Sounds like a lot of fun … I remember building stuff from finite components and controlling it through the parallel port on a PC using PRINT commands from BASIC (Beginners All-purpose Symbolic Instruction Code … the built-in (or supplied) programming language on all the early PCs).
The Arduino seems to take a lot of the hard work out of it

Reply

Bookmarks
  • Submit Thread to Facebook Facebook
  • Submit Thread to Twitter Twitter
  • Submit Thread to Digg Digg
Tags - Make this thread easier to find by adding keywords to it!
k-70, k70, pentax k-70
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nature shedding python MotoRider Post Your Photos! 5 04-08-2021 03:47 PM
Memory Friendly Superresolution Script (In python and hugin) manufocus Digital Processing, Software, and Printing 35 11-07-2018 12:22 PM
Nature Python @ Perth Zoo Dean Bradshaw Post Your Photos! 6 06-28-2018 04:04 PM
Misc No Wild Flowers-With Apologies to Monty Python CP140 Post Your Photos! 4 05-18-2013 09:45 PM
Canadian Goose does Monty Python daacon Post Your Photos! 10 04-18-2009 04:36 PM



All times are GMT -7. The time now is 07:19 PM. | See also: NikonForums.com, CanonForums.com part of our network of photo forums!
  • Red (Default)
  • Green
  • Gray
  • Dark
  • Dark Yellow
  • Dark Blue
  • Old Red
  • Old Green
  • Old Gray
  • Dial-Up Style
Hello! It's great to see you back on the forum! Have you considered joining the community?
register
Creating a FREE ACCOUNT takes under a minute, removes ads, and lets you post! [Dismiss]
Top