Electronic advice needed to setup Arduino Uno for highspeed photography

In addition, the type of the transistor I use is BD 39