Skip to content

Instantly share code, notes, and snippets.

@greg-randall
Created October 17, 2021 15:23
Show Gist options
  • Select an option

  • Save greg-randall/968129530d1078ce62f9e2bdfcb1be36 to your computer and use it in GitHub Desktop.

Select an option

Save greg-randall/968129530d1078ce62f9e2bdfcb1be36 to your computer and use it in GitHub Desktop.
Samsung Gear 360 2017 Image Bracketing.
#notes:
#follow the instructions on https://github.com/ottokiksmaler/gear360_modding to get to the point of opening the Gear 360's web server -- http://192.168.43.1:8888
#the below series of commands when pasted & executed in the "Execute a command" box will produce 14 bracketed exposures.
#14 exposures is probably overkill. I think probably 5 would work fine. (Maybe 1/8th - 1/2000th)
#The first section sets several variables. For the full list see https://github.com/ottokiksmaler/nx500_nx1_modding/blob/master/ST_CAP_CAPDTM.md
#30 = USERDATA_ISONR -- turn off ISO noise removal
#31 = USERDATA_LTNR -- turn off long exposure noise removal
#5 = USERDATA_ISO -- set ISO to 100
#64 = USERDATA_ISOAUTOMAX -- sets maximum iso to 125
#0 = DIALMODE_PROGRAM -- sets the dial(?) to manual
#1 = USERDATA_SHOOTINGMODE -- sets shooting mode to manual
#note "st cap capdtm setusr" is the command to set a variable, the variable is denoted by the decimal number,
#and then the value of the variable is set with the hex value
#after setting the variables, we set the shutter speed with "st cap capdtm setvar TV 1 4;"
#the photo is shot by "st key click s2;"
#after the photo is shot sleep for 2 seconds to allow for saving the image.
#If you shoot approx 6 or fewer photos it seems like you can elimiate the sleep.
#to calculate the shutter speed an excel formula like this =ROUND(ABS(LOG(shutter_speed)/LOG(2)*16),0) can be used.
#in the commands below I set and shoot images ranging from 1 second to 1/8000th of a second in one stop increments.
#I think that 1 second is the longest shutter speed possible, and 1/6000th is the shortest.
#see https://github.com/ottokiksmaler/nx500_nx1_modding/blob/master/doc/Working%20with%20Exposure%20Value.md for more information
#NOTE: To run the commands below they need to have all the linebreaks removed. I have added linebreaks for readablity.
st cap capdtm setusr 30 0x001E0000;
st cap capdtm setusr 31 0x001F0000;
st cap capdtm setusr 5 0x00050001;
st cap capdtm setusr 64 0x00400000;
st cap capdtm setusr 0 0x00000004;
st cap capdtm setusr 1 0x00010004;
st cap capdtm setvar TV 1 4;
st key click s2;
sleep 2;
st cap capdtm setvar TV 16 4;
st key click s2;
sleep 2;
st cap capdtm setvar TV 32 4;
st key click s2;
sleep 2;
st cap capdtm setvar TV 48 4;
st key click s2;
sleep 2;
st cap capdtm setvar TV 63 4;
st key click s2;
sleep 2;
st cap capdtm setvar TV 79 4;
st key click s2;
sleep 2;
st cap capdtm setvar TV 95 4;
st key click s2;
sleep 2;
st cap capdtm setvar TV 111 4;
st key click s2;
sleep 2;
st cap capdtm setvar TV 127 4;
st key click s2;
sleep 2;
st cap capdtm setvar TV 143 4;
st key click s2;
sleep 2;
st cap capdtm setvar TV 159 4;
st key click s2;
sleep 2;
st cap capdtm setvar TV 175 4;
st key click s2;
sleep 2;
st cap capdtm setvar TV 191 4;
st key click s2;
sleep 2;
st cap capdtm setvar TV 207 4;
st key click s2;
sleep 2;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment