Electronic Components

This page covers just a few of the hundreds of electronic components that can be added to a circuit.

Resistor

Semiconductive elements, called resistors, have more resistance than a metal wire, but still much less resistance than an insulator, like air or plastic.

Resistors are added to a circuit for precise control over current. If the current is too high, the circuit will get hot. If the current is too low the circuit can't do its job.


The IEC symbol for a resistor is this rectangle.



The American representation of a resistor is this squiggle, which I use because I like the way it looks.

To run this resistor circuit simulation click on the yellow voltage source then slide the EMF setting to the right.

Measurement Devices

image/svg+xml

A multimeter is a measuring device that can check voltage, current, resistance, and continuity. This makes it useful for testing batteries, checking if a wire is broken, finding a resistor's value, or measuring the voltage drop across a component.

A multimeter works by changing its internal circuit for each setting. In voltage mode it has very high resistance, so only a tiny current enters the meter while it compares two points in the circuit. In current mode it has very low resistance, so the circuit's current can flow through the meter. In resistance or continuity mode, the meter sends out a small test current and uses the response to estimate resistance.

Voltage is measured across two points, so the meter is placed in parallel with the part of the circuit you want to test. Current is measured through one path, so the circuit must be opened and the meter is placed in series. Resistance and continuity should usually be measured with the circuit powered off.

Most meters have a black probe in the COM port and a red probe in a voltage/resistance/current port. If a DC voltage or current reading is negative, the probes are probably reversed compared with the direction the meter calls positive. Current mode needs the most care because placing the meter directly across a battery can make a short circuit.

Question: You want to measure the voltage drop across an LED. Should the multimeter be placed in series with the LED or across the LED?
answer

Place the meter across the LED while the circuit is powered on and the LED is lit. Voltage is a difference between two points, so a voltmeter is connected in parallel with the component being measured.

Question: Why should resistance usually be measured with the circuit powered off?
answer

The meter sends a small test current through the component to measure resistance. If the circuit is powered, the outside voltage can change the reading or damage the meter.

Question: A meter reads -4.8 V across a small battery pack. What does the negative sign mean?
answer

The probes are reversed compared with the meter's positive direction. The battery pack still has a voltage of 4.8 V, but the red probe is on the lower-voltage side.

Question: A student sets the meter to current mode and touches the probes across a 9 V battery. What mistake did they make?
answer

Current mode should be placed in series with a circuit path. Touching a current meter directly across a battery can create a short circuit because the meter has very low resistance in current mode. I can't count the number of fuses that I've had to replace on multimeters that have done this.

Diode

A diode only allows current in one direction.

I

In circuit diagrams a diode is represented by a triangle pointing at a line. Because diodes only allow current in one direction you have to draw them with the triangle pointing with the current.

To run this diode circuit simulation click on the yellow V(diode) then slide the EMF setting to the right.

Light Emitting Diode

A Light Emitting Diode is an efficient circuit element that produces light. LEDs are a diode. This means they only allows current to flow in one direction.

Like resistors, LEDs have resistance and cause a voltage drop.

An LED's resistance decreases with temperature. This can lead to a positive feedback loop, called thermal runaway. Thermal runaway is when a small temperature increase lowers resistance, and the lower resistance leads to increased current which leads to more temperature increases.

An LED is drawn as a diode with arrows.

To run this LED circuit simulation click on the yellow V(diode) then slide the EMF setting to the right.

R = ? 1.5 V 1.5 V Example: How much resistance is needed to safely light the red LED?
LED specs

  • 5 mm diameter
  • 660 nm wavelength
  • 1.85-2.5 V Forward Voltage
  • 20 mA current
  • 250 mcd typical brightness
  • datasheet
  • strategy

    The Voltage across the LED can be between 1.85 and 2.5 Volts. Set a safe target in the middle at 2.1 V.

    Use Kirchoff's voltage law to find the voltage drop across the resistor.

    Use the voltage across the resistor to predict the resistance that will yield 20 mA of current with Ohm's law.

    solution $$0 = V_{\mathrm{bat1}} +V_{\mathrm{bat2}}+ V_{R}+V_{\mathrm{LED}}$$ $$0 = 1.5\,\mathrm{V}+1.5\,\mathrm{V}+ V_{R}-2.1\,\mathrm{V}$$ $$V_{R} = -0.9\,\mathrm{V}$$
    $$V=IR$$ $$R = \frac{V}{I}$$ $$R = \frac{0.9\,\mathrm{V}}{0.020 \,\mathrm{A}}$$ $$R = 45 \,\Omega$$

    Example: How much power is used by the circuit when the LED is lit?
    solution

    We can find the total power used by focusing on the batteries.

    $$P=IV$$ $$P=(0.020 \,\mathrm{A})(3.0 \,\mathrm{V})$$ $$P=0.060 \,\mathrm{W}$$

    Question: Why couldn't we use one 1.5 V battery to turn on this LED?
    answer

    The LED requires a voltage drop of at least 1.85 V.

    One 1.5 V Battery doesn't have enough voltage.

    R = ? 9 V Example: What resistor should we use with a 9 volt battery and this white LED?
    LED specs

  • ultra white 6000 Kelvin emitted color temperature
  • typical forward voltage 3.2 V
  • max forward voltage 3.8 V
  • forward current 350 mA
  • LED Junction Temperature 120 C
  • viewing angle 140º
  • datasheet
  • solution $$0 = V_{\mathrm{bat1}} + V_{R} + V_{\mathrm{LED}}$$ $$0 = 9\,\mathrm{V} + V_{R} - 3.2\,\mathrm{V}$$ $$V_{R} = -5.8\,\mathrm{V}$$
    $$V=IR$$ $$R = \frac{V}{I}$$ $$R = \frac{5.8\,\mathrm{V}}{0.350 \,\mathrm{A}}$$ $$R = 16.6 \,\Omega$$
    Example: What if we need to light up the LED, but we only have 100 Ω resistors. How can we get a resistance near 16 Ω?
    strategy

    We need to wire the resistors in parallel. As we add more resistors in parallel the equivalent resistance will drop.

    R1 R2 R3 $$\frac{1}{R_{eq}} = \frac{1}{R_{1}}+\frac{1}{R_{2}}+ \frac{1}{R_{3}}+\cdots$$
    solution

    Let's try 3 resistors in parallel.

    $$\frac{1}{R_{eq}} = \frac{1}{100}+\frac{1}{100}+ \frac{1}{100}$$ $$\frac{1}{R_{eq}} = \frac{3}{100}$$ $$R_{eq} = \frac{100}{3}$$ $$R_{eq} = 33 \, \mathrm{\Omega}$$

    Thats not enough resistance. Let's add more resistors until we get near 16 Ω

    $$R_{eq} = \frac{100}{3} = 33 \, \mathrm{\Omega}$$ $$R_{eq} = \frac{100}{4} = 25 \, \mathrm{\Omega}$$ $$R_{eq} = \frac{100}{5} = 20 \, \mathrm{\Omega}$$
    $$R_{eq} = \frac{100}{6} = 16.7 \, \mathrm{\Omega}$$ $$R_{eq} = \frac{100}{7} = 14.2 \, \mathrm{\Omega}$$ $$R_{eq} = \frac{100}{8} = 12.5 \, \mathrm{\Omega}$$

    Six 100 Ω resistors in parallel are equivalent to 16.7 Ω.

    Transistor

    Transistors are used to increase, decrease, or stop electrical current. Like diodes and solar panels, they are made of different layers of doped silicon.

    A transistor can function as an on/off switch. Current through the transistor can be set to on or off by the voltage of a third terminal. Transistors acting as switches form the logic gates used in computer processors.

    Transistors are also used to boost an electrical signal. They can increase the volume of a speaker, or boost the radio signal coming from a cell phone.

    B E C

    Pictured above is a bipolar junction transistor. It has 3 terminals called the base, collector, and emitter. Voltage at the base terminal controls the flow of charge between the emitter and the collector terminal.

    To run this NPN transistor circuit simulation click on the right yellow V(BE) then slide the EMF setting to the right.

    Logic Gate

    Logic gates perform basic logical operations. They can be produced from a composite of elements like diodes or transistors acting like switches.

    A NOT gate takes in a voltage and outputs the opposite voltage.

    Input Output
    1 0
    0 1

    An AND gate takes in two voltages and outputs one. If input A and input B both have high voltage, then the output will also have high voltage.

    Input A Input B Output
    1 1 1
    0 1 0
    1 0 0
    0 0 0

    An OR gate takes in two voltages and outputs one. If input A, input B, or both have high voltage, then the output will also have high voltage.

    Input A Input B Output
    1 1 1
    0 1 1
    1 0 1
    0 0 0

    An XOR gate takes in two voltages and outputs one. If either input A or input B have high voltage, then the output will also have high voltage.

    Input A Input B Output
    1 1 0
    0 1 1
    1 0 1
    0 0 0
    Example: Both inputs for an AND gate are high. What does it output?
    Input A Input B Output
    1 1 ?
    solution

    The output is high when input A AND input B is high.

    Input A Input B Output
    1 1 1
    Example: For an OR gate one input is high and the other is low. What does it output?
    solution

    The output is high.

    A B S C

    Multiple logic circuits can be linked together to perform more complex operations. The diagram above is for a half adder that can output the sum of two single digit binary numbers.

    A B Cin C out S

    A full adder adds two binary numbers to a previous number. A full adder can be chained to other full adders to add binary numbers with multiple digits.

    Q Q R S E

    A flip-flop can be in two stable states. They are used to store binary values during a calculation.

    Integrated Circuit

    Integrated circuits are made by etching patterns in silicon wafers. These patterns form transistors and other electronic components. Transistors are linked to produce logic gates directly on the silicon.

    Microprocessors are complex integrated circuits that perform logic and math operations. Data stored in memory is loaded at the terminals on the edge of the chip as high or low voltage. The chip performs different operations based on the imputed voltages from the memory.

    Because of improvements in manufacturing, the density of integrated circuits has doubled about every 16-24 months. This trend, called Moore's law, led to smaller processors with more transistors and lower energy consumption. Moore's law, and other miniaturization trends, have successfully predicted the exponential increase in computing power starting in the 1970s.

    In 2023, production began on "3 nm" scale computer chips. The distance between transistors in these chips is about 40 nm. This is nearing the 0.5 nm lattice spacing between the silicon atoms in the chip. At this scale quantum effects are starting to cause problems. For example, electrons have a chance to quantum tunnel to other parts of the circuit. These quantum problems could mean that integrated circuits will reach a limit in size, cost, and energy use.





    Practice printout.pdf

    In case you wanted more practice I used AI to make some more problems. The rest of the site I made by hand, but generating endless problems seemed safe. I did find mistakes in the AI generated problems, and there are probably some I didn't find. Let me know if something could be fixed. I also added a practice problem on each page with no solution. That's intentional. Have fun!

    For LED questions, use Kirchhoff's voltage idea to find the resistor's voltage drop, then use Ohm's law or power. For logic gates, treat high as 1 and low as 0 unless a voltage value is given.

    R = ? 4.5 V 4.5 V Example: A blue LED has a forward voltage of 3.2 V and should run at 20 mA. The circuit uses two 4.5 V batteries as shown. What resistance is needed?
    solution

    The batteries provide 9.0 V total. The resistor gets the voltage left after the LED drop.

    $$V_b = 4.5\,\mathrm{V} + 4.5\,\mathrm{V}$$ $$V_b = 9.0\,\mathrm{V}$$ $$V_R = V_b - V_{LED}$$ $$V_R = 9.0\,\mathrm{V} - 3.2\,\mathrm{V}$$ $$V_R = 5.8\,\mathrm{V}$$ $$20\,\mathrm{mA} = 0.020\,\mathrm{A}$$ $$R = \frac{V_R}{I}$$ $$R = \frac{5.8\,\mathrm{V}}{0.020\,\mathrm{A}}$$ $$R = 290\,\Omega$$
    Question: Why does an LED need to be placed in the correct direction in a circuit?
    answer

    An LED is a diode, so it only allows current to flow in one direction. If it is reversed, the current is blocked and the LED will not light.

    Example: A small red indicator LED has a 2.0 V drop and is connected to a 5.0 V supply through a 150 Ω resistor. What current flows through the LED?
    solution $$V_R = V_b - V_{LED}$$ $$V_R = 5.0\,\mathrm{V} - 2.0\,\mathrm{V}$$ $$V_R = 3.0\,\mathrm{V}$$ $$I = \frac{V_R}{R}$$ $$I = \frac{3.0\,\mathrm{V}}{150\,\Omega}$$ $$I = 0.020\,\mathrm{A}$$

    The LED current is 20 mA.

    Question: Why can thermal runaway be a problem for an LED?
    answer

    As an LED warms up, its resistance can decrease. Lower resistance can allow more current, and more current can make the LED warmer, which can continue the cycle.

    Example: A green LED has a 2.2 V drop and should run at 15 mA from a 6.0 V battery pack. What resistor should be placed in series with it?
    solution $$V_R = V_b - V_{LED}$$ $$V_R = 6.0\,\mathrm{V} - 2.2\,\mathrm{V}$$ $$V_R = 3.8\,\mathrm{V}$$ $$15\,\mathrm{mA} = 0.015\,\mathrm{A}$$ $$R = \frac{V_R}{I}$$ $$R = \frac{3.8\,\mathrm{V}}{0.015\,\mathrm{A}}$$ $$R = 253\,\Omega$$

    A nearby standard value like 250 Ω would be reasonable for this ideal calculation.

    Example: An LED circuit uses a 12 V supply and draws 25 mA when lit. What power is supplied by the battery?
    solution $$25\,\mathrm{mA} = 0.025\,\mathrm{A}$$ $$P = IV$$ $$P = (0.025\,\mathrm{A})(12\,\mathrm{V})$$ $$P = 0.30\,\mathrm{W}$$
    Example: A hobby kit has only 100 Ω resistors. About how many identical 100 Ω resistors in parallel are needed to get close to 20 Ω for an LED circuit?
    solution

    For identical resistors in parallel, the equivalent resistance is one resistor divided by the number of branches.

    $$R_{eq} = \frac{100\,\Omega}{n}$$ $$20\,\Omega = \frac{100\,\Omega}{n}$$ $$n = \frac{100\,\Omega}{20\,\Omega}$$ $$n = 5$$

    Five 100 Ω resistors in parallel gives about 20 Ω.

    Question: Why is a transistor useful as a switch in a logic circuit?
    answer

    A transistor can use the voltage at a control terminal to turn current on or off. That switching behavior can represent the high and low states used by logic gates.

    Example: A NOT gate uses 5.0 V for high and 0 V for low. If the input is 5.0 V, what output voltage should it produce?
    solution

    A NOT gate outputs the opposite state.

    $$\mathrm{input} = 5.0\,\mathrm{V}$$ $$\mathrm{output} = 0\,\mathrm{V}$$
    Example: An AND gate uses 5.0 V for high and 0 V for low. Input A is 5.0 V and input B is 0 V. What output voltage should it produce?
    solution

    An AND gate is high only when both inputs are high.

    $$A = 1$$ $$B = 0$$ $$\mathrm{output} = 0\,\mathrm{V}$$
    Example: An LED circuit has a 9.0 V battery and should use 20 mA of current. What resistor should be used?
    solution

    This cannot be solved from the information given. The LED voltage drop is missing.

    Without the LED voltage, we cannot find how much voltage is across the resistor, so Ohm's law cannot give the resistor value.

    Question: How is an OR gate different from an AND gate?
    answer

    An OR gate outputs high if either input is high. An AND gate only outputs high when both inputs are high.

    Example: An OR gate uses 5.0 V for high and 0 V for low. Input A is 0 V and input B is 5.0 V. What output voltage should it produce?
    solution

    An OR gate is high when at least one input is high.

    $$A = 0$$ $$B = 1$$ $$\mathrm{output} = 5.0\,\mathrm{V}$$
    Example: An XOR gate uses 5.0 V for high and 0 V for low. If both inputs are 5.0 V, what output voltage should it produce?
    solution

    An XOR gate outputs high when exactly one input is high. With both inputs high, the output is low.

    $$A = 1$$ $$B = 1$$ $$\mathrm{output} = 0\,\mathrm{V}$$

    Reading (6 minutes): Read Explainer: How batteries and capacitors differ from Science News Explores. Then answer these questions.

    How does a battery store energy differently from a capacitor?
    answer

    A battery stores energy through chemical changes. A capacitor stores energy in an electric field between separated charges.


    Why might a circuit use a capacitor when it needs a quick burst of energy?
    answer

    A capacitor can charge and discharge very quickly. That makes it useful when a circuit needs to release energy in a short time.


    What does electric potential, or voltage, allow charges to do in a circuit?
    answer

    Electric potential provides energy per unit charge. A potential difference can drive charges through a circuit as an electric current.