Relationship between 2 variables.


evening.

did not know sub-forum best suited, seeming guess integral part of development plan yeah...it has ended here.

i making timelapse rig uses canons remote port. hardware works (light sensor included) bit stuck on programming. not programming such, maths on 1 part.

basically, have starting value shutter speed (we call x).

x needs increase 2^y y user defined value (in photography...the "stops").

the increase needs occur on series of shots (s). user defined value.

so x = 2^y after s shots.

i not want linear progression...as in shutterspeed increases value of curve's gradient (y=mx+c) want polynomial type? maths dies afraid!

i want increase proportional shutter speed.

 i wrote basic code "re-evaluate" increase after 10 shots taken. worked gives more "jagged" curve. relationship equation using x,y , s?

thanks help! curve looks kinda exponential no idea how work first principles!

i have attached print of code outputting values, except although "use-able" code horrible mess simple equation relationship between 3 variables great!
the image x=0.1 (starting shutter speed in seconds), y=10 (10 stops) , s = 130 (over 130 shots).



ok...i may have had breakthrough...

x =1/s * (log2 y) correct?


#edit.....nope. sucks ha.


Arduino Forum > Using Arduino > Project Guidance > Relationship between 2 variables.


arduino

Comments