Photodiode Characteristics and Applications