Closed fab343 closed 1 year ago
This should be possible quite easily, if you are somewhat technically inclined. You can put an autoexec.sh bash-script on to the camera and repeatedly issue a button-press event when a certain time has passed. See wiki.
Making this visible in the UI is an insane amount of work, no one in their right mind would do. So, be my guest.
I've written some scripts for timelapse control on the NX500, using the st key
commands - that might also work on the earlier models. However, for the NX3000 we don't have any code execution abilities yet, as the firmware seems to be different ;)
Example script from NX500 that will run in a loop until you create a stop.flag file, making a picture every N seconds as specified on the commandline:
#!/bin/bash
rm /tmp/stop.flag
interval=${1:-30}000
while [ ! -f /tmp/stop.flag ] ; do
st app bb lcd off
# milliseconds to wait, left-filled with 0s for consistent string manipulation
delta_ms=000$(($interval - ($(date +%s%N)/1000000 % $interval)))
# position in the string to insert decimal point
delta_pointpos=$((${#delta_ms}-3))
# time in seconds with decimal point
delta_s=${delta_ms::$delta_pointpos}.${delta_ms:$delta_pointpos}
echo $delta_ms $delta_pointpos $delta_s
sleep $delta_s
st key push s1 ; st key click s2 ; st key release s1
done
st app bb lcd on
We don't know of any way to run our own code on the NX3000. Unfortunately. You can however use the micro USB port for a remote shutter: https://antibore.wordpress.com/2013/04/30/diy-remote-shutter-release-for-samsung-nx20-nx210-and-nx1000-cameras/
This could probably be re-created around an ESP-8266 to make a wifi shutter for older NX models.
Is there a possibilty with this hack to finally do Interval Mode Timelpases with a NX3000 camera?