The Transistor A transistor is an automatic switch. It can only be on or off. base emitter collector 0.7 V When the transistor is on, current flows from the emitter to the collector. For this to happen, there has to be 0.7 V across the base of the transistor.
If the voltage across the base is less than 0.7 V, the transistor is switched off and no current flows.
Automatic Night Light Experiment An automatic night light is constructed as shown. VSVS 0 V
How It Works In bright light: resistance of the LDR is low (LURD) if resistance of LDR is low, this means voltage across LDR is also low. base voltage is low ( < 0.7 V). transistor is OFF LED does not light In dim light: resistance of LDR increases voltage across LDR increases base voltage increases ( > 0.7 V) transistor switches ON causing LED to light. VSVS 0V0V V VR V LDR
Devices Input: Process: Output: voltage divider transistor LED This circuit switches on a light when it is dark and switches it off when it is light. Putting the LDR at the top (reversing the components) makes the circuit do the opposite.
Temperature Control Experiment An automatic temperature control circuit is constructed as shown. VSVS 0 V V therm V VR
How It Works As the temperature increases: resistance across thermistor falls (TURD) this means voltage across thermistor falls voltage across variable resistor increases base voltage increases ( > 0.7 V) transistor switches ON LED lights. This circuit switches on a light when the temperature increases. Putting the thermistor at the bottom (reversing the components) makes the circuit do the opposite. VSVS 0 V V therm V VR
Yellow Book Switching Circuits – Page 50 Q36, Q37, Q38, Q39
Time Delay Circuits A time delay circuit is constructed as shown. VSVS 0 V switch R C The CAPACITOR is the input device responsible for the TIME DELAY.
How It Works Switch Open the capacitor begins to charge up voltage across capacitor increases base voltage takes several seconds to reach 0.7 V as it does so, transistor switches on LED lights. Switch Closed capacitor discharges VSVS 0 V switch R C
Putting the capacitor at the top (reversing the components) makes the circuit do the opposite. The light would switch off after a time delay. Size of Time Delay Change to CircuitEffect increase size of Rincreases time delay decrease size of Rdecreases time delay increase size of Cincreases time delay decrease size of Cdecreases time delay
Yellow Book Switching Circuits – Page 51 Q40 and Q41
AND Gate The symbol for an AND gate is: A B Z A and B are inputs to the AND gate. Z is the output.
Experiment An AND gate is connected to a light source as shown. A Z B Results The results are recorded in a truth table. ABZ The output is only a high voltage ( 1 ) when BOTH input A AND input B are connected to a high voltage ( 1 )
OR Gate The symbol for an OR gate is: A B Z A and B are inputs to the OR gate. Z is the output.
Experiment An OR gate is connected to a light source as shown. A Z B Results The results are recorded in a truth table. ABZ The output is a high voltage ( 1 ) when input A OR input B are connected to a high voltage ( 1 )
NOT Gate The symbol for a NOT gate is: Z A is the input to the NOT gate. Z is the output. A
Experiment A NOT gate is connected to a light source as shown. A Results The results are recorded in a truth table. AZ The output is a high voltage ( 1 ) when input A is NOT connected to a high voltage ( 1 ) Z The NOT gate is also known as an INVERTOR, as it inverts the input. Changes 0 to 1 or vice versa.
Automatic Night Light Experiment LDR Results Light LevelLDRBulb bright10 dark01
Night Light With Master Switch Experiment LDR X
Results The results are recorded in a truth table. LDRSwitchXBulb
Night Light With Test Switch Experiment LDR AX B Z
Results The results are recorded in a truth table. ABXZ
Combining Logic Gates Example 1 Complete a truth table for the following combination of logic gates. A B C X Z
ABCXZ Gate 1 (AND) A and B are the inputs. X is the output. Gate 2 (OR) X and C are the inputs. Z is the output.
Example 2 The following circuit is a combination of logic gates. (a)State the name of components 1, 2 and 3. (b)Label your circuit diagram with inputs and outputs. (c)Complete a truth table for the circuit shown = NOT gate2 = OR gate3 = AND gate A B C X Y Z
ABCXYZ Gate 1 (NOT) B is the input. X is the output. Gate 2 (OR) A and X are the inputs. Y is the output. Gate 3 (AND) Y and C are the inputs. Z is the output.
Yellow Book Logic Gates – Page 52 Q43, Q44, Q47, Q48, Q50, Q52
Designing Circuits Example 1 Draw a circuit and truth table that will switch on a warning LED when a car engine gets too hot. It should only operate when the ignition switch is closed. Temperature Sensor ( Hot - 1 ) Light sensor (Light - 1 ) Switch ( Closed - 1 )
A B Z Temperature Sensor LED ABZ open & cold open & hot closed & cold closed & hot
Example 2 Draw a circuit and truth table that will switch on a central heating system when it is cold, or switched on manually. A X Z B ABXZ Temperature Sensor HEATING open & cold open & hot closed & cold closed & hot
Q1.Design a circuit that will switch a motor on to open greenhouse windows when it is daylight and gets too hot. Give the corresponding truth table for your circuit. A B Z Temperature Sensor MOTOR Light Sensor ABZ dark & cold dark & hot light & cold light & hot
Clock Pulse Generator The clock pulse generator produces a series of pulses that can be used in timing devices. C R output 1 0 X Y X is the input to the NOT gate. Y is the output.
Circuit Operation initially capacitor is uncharged capacitor charges capacitor discharges process repeats over and over again. X = 0Y = 1 X = 1Y = 0 X = 0Y = 1 C R output X Y Uses Such counting circuits are essential in devices such as: digital watches computers timing of traffic lights
Frequency of Pulses The frequency of clock pulses depends on the size of resistor and capacitor. Increasing R or C It now takes longer for the capacitor to charge and discharge. Decreasing R or C It now takes less time for the capacitor to charge and discharge.
Digital Clock A digital clock uses a clock pulse generator that has a period of 1 second. Clock Pulse Generator 1 sec The output from the clock pulse generator is binary. Using a decoder and a 7-segment display, we can convert to decimal form.
Reset The Counter The binary counter has a reset terminal which resets the counter to zero when the input to the reset terminal is high (1). If the counter is connected to a 7-segment display, the counter would reset after the number 9. This is achieved using an AND gate. 5 pulses = 5 sec Binary Counter R Decoder
Yellow Book Clock Pulse Generators – Page 55 Q59, Q60, Q61, Q62