Electronic advice needed to setup Arduino Uno for highspeed photography

Note that R22 is not 22R. That resistor should be at least 100R (ohms) otherwise your arduino is being damaged as well as the opto isolator probably.