Competency: Application
A microcontroller switches a water pump on and off through a relay. Its output pin gives either or but can supply only a few milliamperes, so it drives the relay through an -- transistor, as shown in the figure. The relay coil has a resistance of and works from the supply. The data sheet of the transistor gives its d.c. current gain as anywhere between and at this current. Take when the transistor conducts and when it is saturated. (Hypothetical data.)

(a) Find the current in the relay coil when the transistor is saturated.
(b) Find the largest value of that saturates every transistor of this type when the pin is at . The designer chooses : find the base current, and how many times the minimum needed it is. Why must the design use the smallest on the data sheet?
(c) Explain the purpose of the diode D connected across the relay coil.
