Below is a simple circuit that demonstrates the use of a transistor. The transistor drives an LED from a photocell at the input bias circuit. The intensity of the LED light depends upon the intensity of the light from the environment (ambient light) hitting the photocell. The greater the ambient light, the greater the LED intensity. If light is totally blocked on the photocell, very little or almost no glow coming from the LED. Figure 1 This simple circuit can be expounded for many exciting applications in the real world. The photocell is just one of representations of sensors one can use to control the output of the transistor. The output can be other than an LED, say a motor whose speed can be variably controlled, or it can be an input to another circuit that does some other functions that depends on the input from the sensor. Basic Operation: The photocell has resistance that ranges from 5k (strong light) to 20k (dark).
Practical electronics circuit designs, tips, and tutorials for hobbyists and professionals alike.