I've been tasked with building a camera flash delay box with configurable timing and am unsure at this point if it's just for delaying a single flash, or more likely delaying more than one, each with different timings.
The hardware I can do ok, but my Picaxe-fu is a little rusty, and I have about 2 weeks to build the thing from near scratch.
This is a rough (typed out but untested and needs refining) draft of how I see the main trigger code going:
The flashpause variables will obviously be pre-calculated to be in relation to the previous pause times.
Since this is all about timings and I want it to be as precise as possible, will the time it takes to execute the wait & high commands have any noticable impact on the millisecond timing of the flash triggering at 32mhz on an M2? Or should I go with an X2 chip running at 64mhz?
The hardware I can do ok, but my Picaxe-fu is a little rusty, and I have about 2 weeks to build the thing from near scratch.
This is a rough (typed out but untested and needs refining) draft of how I see the main trigger code going:
Code:
do while shutter_input=0
loop
pause flashpause1
high flash1
pause flashpause2
high flash2
pause flashpause3
high flash3
pause flashpause4
high flash4
wait 1
low flash1,flash2,flash3
Since this is all about timings and I want it to be as precise as possible, will the time it takes to execute the wait & high commands have any noticable impact on the millisecond timing of the flash triggering at 32mhz on an M2? Or should I go with an X2 chip running at 64mhz?