I celebrate the 75th anniversary of the transistor.
I converted my 3D printer into a macro focusing rail. Each macro photo is a composite of up to 120 #focusstacking images at 0.1mm intervals. I had to automate my DSLR using its IR remote.
I replaced the remote's button with a PN2222 transistor. The base lead of the transistor goes to a pin on a RPi. A Python program pulses that pin, the transistor bridges the former switch, the IR LED lights, the camera takes a picture.

