Photodiode phototransistor. Phototransistor Tutorial