Chapter 1

Working with Basic Circuits

IN THIS CHAPTER

check Examining the basic elements of circuits

check Looking at different batteries that you can use to power your circuits

check Categorizing the various switches that you can use to control your circuits

check Learning the difference between series and parallel circuits

check Building a variety of circuits to demonstrate basic circuits

Book 1 introduces you to the underlying concepts of electricity and gives you an overview of the tools and skills you need to start working with electronics. Now that you know what electricity is, and you’ve gone shopping for some basic tools (such as a solderless breadboard, a soldering iron, and a multimeter), it’s time to start learning how electronic circuits work.

This chapter explores the basic concepts of a circuit. The circuits I cover in this chapter are very simple, consisting of nothing other than batteries that supply voltage, wires that carry current, and lamps that consume power (because they light up in the process!). I also throw in some switches that let you turn the circuit on and off.

Though simple, the circuits presented here are a great introduction to more complicated circuits. The remaining chapters in this minibook add additional elements that are basic to all circuits, such as resistors, capacitors, coils, diodes, transistors, and integrated circuits. By the time you get through this minibook, you’ll be familiar with all the basic components of electronic circuits.

What Is a Circuit?

A circuit is a complete course of conductors through which current can travel. Circuits provide a path for current to flow. To be a circuit, this path must start and end at the same point. In other words, a circuit must form a loop.

For example, Figure 1-1 shows a simple circuit that includes two components: a battery and a lamp. The circuit allows current to flow from the battery to the lamp, through the lamp, then back to the battery. Thus, the circuit forms a complete loop.

image

FIGURE 1-1: A simple circuit.

Of course, circuits can be more complex. However, all circuits can be distilled down to three basic elements:

The following paragraphs describe a few additional interesting points to keep in mind as you ponder the nature of basic circuits:

image

FIGURE 1-2: A short circuit.

Using Batteries

The easiest way to provide a voltage source for a circuit is to include a battery. There are plenty of other ways to provide voltage, including AC adapters (which you can plug into the wall) and solar cells (which convert sunlight to voltage). However, batteries remain the most practical source of juice for most of the circuits you build in this book.

A battery is a device that converts chemical energy into electrical energy in the form of voltage, which in turn can cause current to flow. A battery works by immersing two plates made of different metals into a special chemical solution called an electrolyte. The metals react with the electrolyte to produce a flow of charges that accumulate on the negative plate, called the anode. The positive plate, called the cathode, is sucked dry of charges. As a result, a voltage is formed between the two plates. These plates are connected to external terminals to which you can connect a circuit to cause current to flow.

Figure 1-3 shows a simplified diagram of how a battery works. A bowl filled with the right kind of chemical plus an anode and a cathode made of the right kind of metal gives you a working battery.

image

FIGURE 1-3: What goes on inside a battery.

technicalstuff Technically, Figure 1-3 shows a cell, not a battery. A battery is a combination of two or more cells.

Batteries come in many different shapes and sizes, but for the purposes of this book, you need concern yourself only with a few standard types of batteries, all of which are available at any grocery, drug, or department store. Figure 1-4 shows the most common sizes available.

image

FIGURE 1-4: Common batteries.

Cylindrical batteries come in four standard sizes: AAA, AA, C, and D. Regardless of the size, these batteries provide 1.5 V each; the only difference between the smaller and larger sizes is that the larger batteries can provide more current. Technically, AAA, AA, C, and D cells are just that — single cells, not batteries. But if it were a crime to call them batteries, our prisons would be more overloaded than they already are.

The cathode, or positive terminal, in a cylindrical battery is the end with the metal bump. The flat metal end is the anode, or negative terminal.

The rectangular battery in Figure 1-4 is a 9 V battery. It truly is a battery because that little rectangular box actually contains six small cells, each about half the size of a AAA cell. The 1.5 volts produced by each of these small cells combine to create a total of 9 volts.

Here are a few other things you should know about batteries:

Building a Lamp Circuit

Project 1 shows you how to build a simple circuit that uses a battery to light a lamp. Although this circuit is quite simple, it helps illustrate the basic principles I’ve explained so far. Figure 1-5 shows the circuit assembled.

image

FIGURE 1-5: A simple lamp circuit.

Project 1: A Simple Lamp Circuit

In this project, you build a simple circuit that connects a lamp to a battery. You also use a multimeter to measure the voltage and current in the circuit. To assemble and test the circuit, you need a small Phillips-head screwdriver and a multimeter.

Parts

image
image

Steps

  1. Attach the red lead from the battery holder to one of the screw terminals on the lamp holder.

    Loosen the screw terminal a bit to create a gap under the screw. Next, bend the stripped end of the red lead into a hook shape (you can do this easily by wrapping the wire around the tip of the screwdriver). Insert the stripped end of the lead beneath the terminal screw, and then tighten the screw to secure the wire.

  2. Attach the black lead to the other terminal on the lamp holder.
  3. Insert the lamp into the lamp holder.
  4. Insert the batteries into the holder.

    The lamp should light.

  5. Set the multimeter range to the lowest DC voltage setting that will measure at least 3 volts.

    My meter has a 5 V DC range, so I used that setting.

  6. Touch the red multimeter lead to the lamp holder terminal that the red battery holder lead is attached to, and then touch the black lead to the other terminal.

    The meter should read about 3 volts.

  7. Disconnect the red battery lead from the lamp holder.

    This breaks the circuit, so the lamp will go out.

  8. Turn the multimeter dial to your highest DC mA setting.

    On mine, the highest setting is 1,000 DC mA.

  9. Touch the stripped end of the red battery lead to the tip of the red multimeter lead, and then touch the tip of the black multimeter lead to the unconnected terminal on the lamp holder.

    The meter should read approximately 250 mA. If the largest DC mA range on your multimeter is less than 250 mA, you may not get an accurate reading. However, you should get an indication that the current exceeds the maximum for the range.

    Additionally, when you test the current, the lamp comes back on because the meter completes the circuit.

Working with Switches

Switches are an important part of most electronic circuits. In the simplest case, most circuits contain an on/off switch to turn the circuit on and off. In addition to the on/off switch, many circuits contain additional switches that control how the circuit works or activate different features of the circuit.

Switches are mechanical devices with two or more leads (or terminals) that are internally connected to metal contacts which can be opened or closed by the person operating the switch. When the switch is in the On position, the contacts are brought together to complete the circuit so that current can flow. When the contacts are together, the switch is closed. When the contacts are apart, the switch is open and current cannot flow.

The following sections describe two ways to categorize switches: by the method used to operate the switch and by the connections made by the switch.

The many ways to throw the switch

One way to categorize switches is by the movement a person uses to open or close the contacts. Figure 1-6 shows many different switch designs. The most common are

image

FIGURE 1-6: There are switches for every need.

Making connections with poles and throws

Another way to classify switches is by the connections they make. If you were under the impression that switches simply turn circuits on and off, guess again. Two important factors that determine what types of connections a switch makes are

image

FIGURE 1-7: Single- and double-throw switches.

Switches vary in both the number of poles and the number of throws. In theory, any number of poles and any number of throws is possible. However, most switches have one or two poles and one or two throws. This leads to four common combinations, as described in the following paragraphs. The symbols used in schematic diagrams for each of these switches are shown in the margins.

Here are a few other points to ponder concerning the arrangement of poles and throws:

Building a Switched Lamp Circuit

Project 2 presents a simple construction project that lets you explore the use of a simple on/off switch to control a lamp. Figure 1-8 shows the assembled project.

image

FIGURE 1-8: The switched lamp project.

This project and the remaining projects in this chapter use a DPDT knife switch from RadioShack, pictured in Figure 1-9 . It’s unlikely that you’d use a knife switch in an actual electronic circuit. However, a knife switch like this is a perfect tool for learning the ins and outs of working with switches. For one thing, it is entirely exposed, so you can see how it works. Additionally, because they come on their own base and have screw terminals, connecting them in temporary circuits is simple because you don’t have to do any soldering.

image

FIGURE 1-9: The DPDT knife switch.

As you can see in the figure, the knife switch is a double pole, double throw (DPDT) switch, which means it operates like two SPDT switches that are mechanically linked. I numbered the six terminals on the switch 1X, 1A, 1B, 2X, 2A, and 2B. The 1 and 2 designate which of the two circuits is being switched. The X terminals are the input terminals in the center of the switch, and the A and B terminals are for the two possible outputs. Thus, when the switch is flipped one way, 1X is connected to 1A and 2X is connected to 2A. When the switch is flipped the other way, 1X is connected to 1B and 2X is connected to 2B.

Project 2: A Lamp Controlled by a Switch

In this project, you build a simple circuit that connects a lamp to a battery and uses a switch to turn the lamp on and off. To assemble and test the circuit, you need a small Phillips-head screwdriver, wire cutters, and a wire stripper.

image
image

Parts

Steps

  1. Strip images inch of insulation from each end of the wire.
  2. Open the knife switch.

    Lift its handle to the upright position so that no connections are made.

  3. Attach the red lead from the battery holder to terminal 1X on the knife switch.
  4. Attach the black lead to one of the terminals on the lamp holder.
  5. Use the 6-inch wire to connect terminal 1A of the knife switch to the other terminal of the lamp holder.
  6. Insert the batteries into the holder.
  7. Close the knife switch on the A side.

    The lamp should light up.

If you want to experiment with different variations of this project, try the following:

image

FIGURE 1-10: Using a DPST switch to control a lamp.

Understand Series and Parallel Circuits

Whenever you have circuits that consist of more than one component, those components must be linked together. The two ways to connect components in a circuit are in series and in parallel. Figure 1-11 illustrates how you might use series and parallel circuits to connect two lamps in a single circuit.

image

FIGURE 1-11: Lamps connected in series and in parallel.

In a series connection, components are connected end to end, so that current flows first through one, then through the other. As you can see in the first circuit in Figure 1-11 , the current goes through one lamp and then the other. The lamps are strung together end to end.

One drawback of series connections is that if one component fails in a way that results in an open circuit, the entire circuit is broken and none of the components will work. For example, if either one of the lamps in the series circuit in Figure 1-11 burns out, neither lamp will work. That’s because current must flow through both lamps for the circuit to be complete.

In the parallel connection shown in Figure 1-12 , each lamp has its own direct connection to the battery. This arrangement avoids the if-one-fails-they-all-fail nature of series connections. In a parallel connection, the components do not depend on each other for their connection to the battery. Thus, if one lamp burns out, the other will continue to burn.

image

FIGURE 1-12: Lamps connected in series.

technicalstuff An interesting thing happens with voltage when components are connected in series: The voltages present at each component are divided up. For example, in a circuit with a 3 V battery and two identical lamps connected in series, each lamp will see only one and a half volts. If you connected three identical lamps in series, each lamp would see only one volt.

You can measure the voltage seen by any component in a circuit by setting your multimeter to an appropriate voltage range and then touching the leads to both sides of the component. The voltage you measure there is called the component’s voltage drop.

Building a Series Lamp Circuit

In Project 3, you build a circuit that connects two lamps in series, a simple circuit. Then, you use your multimeter to measure the voltages at various points in the circuit. The completed project is shown in Figure 1-12 .

Project 3: A Series Lamp Circuit

In this project, you connect two lamps in a series circuit. The lamps are powered by a pair of AA batteries. To build this project, you need a small Phillips-head screwdriver, wire cutters, wire strippers, and a multimeter.

image
image

Parts

Steps

  1. Strip images inch of insulation from each end of the wire.
  2. Attach the red lead from the battery holder to one of the terminals on one of the lamp holders.
  3. Attach the black lead to one of the terminals on the other lamp holder.
  4. Use the 6-inch wire to connect the unused terminal of the first lamp holder to the unused terminal of the second lamp holder.
  5. Insert the batteries into the holder.

    Both lamps light.

    tip Notice that the lamps are dim. That’s because in a series circuit made with two identical lamps, each of the two lamps sees only half the total voltage.

  6. Remove one of the lamps from its holder.

    The other lamp goes out. This is because in a series circuit, a failure in any one component breaks the circuit so none of the other components will work.

  7. Replace the lamp you removed in Step 6.
  8. Set your multimeter to a DC voltage range that can read at least 3 volts.
  9. Touch the leads to the two terminals on the first lamp holder.

    The multimeter should read approximately 1.5 V. (If you’re using an analog meter and the needle moves backward, just reverse the leads.)

  10. Touch the leads to the two terminals on the other lamp holder.

    Again, the multimeter should read approximately 1.5 V.

  11. Touch the red lead of the meter to the terminal that the red lead from the battery is connected to, and touch the black meter lead to the terminal that the black battery lead is connected to.

    This measures the voltage across both lamps combined. The meter will indicate 3 V.

Building a Parallel Lamp Circuit

In Project 4, you build a circuit that connects two lamps in parallel and you use your multimeter measure voltages within various points in the circuit. The completed project is shown in Figure 1-13 .

image

FIGURE 1-13: Lamps connected in parallel.

Project 4: A Parallel Lamp Circuit

In this project, you connect two lamps in a series circuit. The lamps are powered by a pair of AA batteries. To build this project, you need a small Phillips-head screwdriver, wire cutters, wire strippers, and a multimeter.

image
image

Parts

Steps

  1. Strip images inch of insulation from each end of the wires.
  2. Attach the red lead from the battery holder to one of the terminals on the first lamp holder.
  3. Attach the black lead to the other terminals on the first lamp holder.
  4. Use the two wires to connect each of the terminals on the first lamp holder to the terminals on the second lamp holder.

    This wiring connects the two lamp holders in parallel.

  5. Insert the batteries.

    The lamps light, brighter than when you connected them in series in Project 3. Because the lamps are connected in parallel, removing one of the lamps does not break the circuit to the other lamp.

  6. Remove one of the lamps.

    Notice that the other lamp remains lit.

  7. Replace the lamp you removed in Step 6.
  8. Set your multimeter to a DC voltage range that can read at least 3 volts.
  9. Touch the leads of your multimeter to the two terminals on the first lamp holder.

    Make sure you touch the red meter lead to the terminal that the red battery lead is connected to and the black meter lead to the terminal that the black battery lead is attached to.

    Note that the voltage reads a full 3 V.

  10. Touch the meter leads to the terminals on the second lamp stand.

    Note that the voltage again reads 3 V. When components are connected in parallel, the voltage is not divided among them. Instead, each component sees the same voltage. That’s why the lamps light at full intensity in the parallel circuit.

Using Switches in Series and Parallel

Just as lamps can be connected in series or parallel, switches can also be connected in series or parallel. For example, Figure 1-14 shows two circuits that each use a pair of SPST switches to turn a lamp on or off. In the first circuit, the switches are wired in series. In the second, the switches are wired in parallel.

image

FIGURE 1-14: Schematic diagrams for series and parallel switch circuits.

The interesting thing to note about wiring switches in series is that both switches must be closed in order to complete the circuit. A great example of switches wired in series is in the typical nuclear-war movie, where two people must flip a switch in order to launch the missiles. Switches wired in series means that Denzel Washington and Gene Hackman must both agree to launch the missiles.

When switches are wired in parallel, closing either switch will complete the circuit. Thus, parallel switches are often used when you want the convenience of controlling a circuit from two different locations. If the nuclear missile switches were wired in parallel, either Denzel Washington or Gene Hackman could fire the missiles.

Building a Series Switch Circuit

Project 5 presents a simple project that uses two switches to open or close a circuit that lights a lamp. The switches are wired in series, so both switches must be closed to light the lamp. Figure 1-15 shows the completed project.

image

FIGURE 1-15: The assembled series switch circuit.

Project 5: A Series Switch Circuit

In this project, you build a simple circuit that uses two knife switches to control a single lamp. To complete this project, you need a small Phillips-head screwdriver, wire cutters, and wire strippers.

image
image

Parts

Steps

  1. Strip images inch of insulation from each end of the wires.
  2. Open both switches.

    Move the handles to the upright position so the contacts are not connected.

  3. Attach the red lead from the battery holder to terminal 1X of one of the switches.
  4. Attach the black lead to one of the terminals on the lamp holder.
  5. Connect one of the 6-inch wires from terminal 1A of the first switch to terminal 1X of the second switch.
  6. Connect the other 6-inch wire from terminal 1A of the second switch to on the unused terminal of the lamp holder.
  7. Insert the batteries into the holder.
  8. Close the first switch.

    Notice the lamp does not light.

  9. Close the second switch.

    The lamp lights. With two switches in series, both switches must be closed for the circuit to be complete.

Building a Parallel Switch Circuit

In Project 6, you build a simple circuit that uses two switches wired in parallel to control a lamp. Because the switches are wired in parallel, the lamp will light if either of the switches is closed. Figure 1-16 shows the completed project.

image

FIGURE 1-16: The assembled parallel switch circuit.

Project 6: A Parallel Switch Circuit

This project is a circuit that uses two switches wired in parallel to control a lamp. To complete this project, you need a small Phillips-head screwdriver, wire cutters, and wire strippers.

image
image

Parts

Steps

  1. Strip images inch of insulation from each end of the wires.
  2. Open both switches.

    Move the handles to the upright position so the contacts are not connected.

  3. Attach the red lead from the battery holder to terminal 1X of the first switch.
  4. Attach the black lead to the first terminal on the lamp holder.
  5. Use the first 6-inch wire to connect terminal 1X of the first switch to terminal 1X of the second switch.

    Be sure to leave the red battery wire in place at terminal 1X on the first switch. Terminal 1X on the first switch should have two wires: the red battery terminal and the wire going to terminal 1X of the second switch.

  6. Use the second 6-inch wire to connect terminal 1A of the first switch to the second terminal of the lamp holder.
  7. Use the third 6-inch wire to connect terminal 1A of the second switch to the second terminal of the lamp holder.

    In other words, the unused terminal of the lamp holder should be connected to terminal 1A on both knife switches.

  8. Insert the batteries.
  9. Close one of the switches.

    The lamp lights.

  10. Open the switch you closed in Step 9 and then close the other switch.

    Again, the lamp lights. When switches are connected in parallel, current flows through the circuit when either of the switches is closed.

  11. Close both switches.

    The lamp remains lit because current continues to flow when both switches are closed.

  12. Open both switches.

    The lamp goes out. With switches wired in parallel, at least one of the switches must be closed in order for current to flow.

Switching between Two Lamps

In Project 7, you build a simple circuit that uses a single pole, double throw (SPDT) to switch a circuit between one of two lamps. In other words, one of two lamps will light depending on the position of the switch. This type of switching is a common requirement in electronic circuits. Figure 1-17 shows the completed circuit.

image

FIGURE 1-17: The switch controls two lamps.

Project 7: Controlling Two Lamps with One Switch

In this project, you build a circuit that uses a single switch to control two lamps. When the switch is in the first position, the first lamp lights and the second lamp is dark. When the switch is in the second position, the second lamp lights and the first lamp is dark. You need a small Phillips-head screwdriver, wire cutters, and wire strippers to build this project.

image
image

Parts

Steps

  1. Strip images inch of insulation from each end of the wires.
  2. Open the switch.

    Lift the handle into the upright position so the contacts are not connected.

  3. Attach the red lead from the battery holder to terminal 1X of the switch.
  4. Attach the black lead to one of the terminals on the first lamp holder.
  5. Connect one of the 6-inch wires from terminal 1A of the switch to one terminal of the second lamp holder.
  6. Connect another 6-inch wire from terminal 1B of the switch to the unused terminal of the first lamp holder.
  7. Use the third 6-inch wire to connect the unused terminal of the second lamp holder to the terminal of the first lamp holder that the black battery lead is connected to.
  8. Insert the lamps into the lamp holders.
  9. Insert the batteries into the holder.
  10. Flip the switch to the A position.

    The second lamp lights.

  11. Change the switch to the B position.

    The first lamp lights.

An interesting variant of the circuit in Project 7 uses both poles of the DPDT knife switch to switch the circuit on both the negative and positive sides of the lamp. For this circuit, you need four 6-inch wires. Connect the six terminals of the DPDT switch as follows:

Terminal

Connect To

1X

Red battery lead

1A

Terminal 1 of second lamp

1B

Terminal 1 of first lamp

2X

Black battery lead

2A

Terminal 2 of second lamp

2B

Terminal 2 of first lamp

Figure 1-18 shows this circuit assembled.

image

FIGURE 1-18: Another way to control two lamps.

Building a Three-Way Lamp Switch

Many homes and offices have hallways that have a light switch on both ends. You can turn the light on or off by flipping either switch. This kind of switching arrangement is called a three-way switch.

Have you ever wondered how these three-way switches work? If you think about it, the switches are puzzling. If the light is on, flipping either switch will turn it off. If the light is off, flipping either switch will turn it on. Say you flip one switch to its On position and the light goes on. Now go to the other switch, flip it to turn the light off, and come back to the first switch. It is still in its On position, but the light is off. To turn the light back on, you can flip the first switch again.

In other words, sometimes the light is on when the switch is up, sometimes it is on when the switch is down. How can this be?

The answer is that both switches are single pole, double throw switches, and they are wired in series such that either both switches must be up or both must be down to complete the circuit. If one switch is up and the other is down, the circuit is open.

tip Sometimes electricians install one of the switches upside down or wire the three-way switch backwards just to confuse you. Then, the switches work backwards: If both switches are up or if both switches are down, the circuit is open and the lamp lights only when one switch is up and the other is down. But that’s not the normal way to wire a three-way switch.

In Project 8, you build a simple circuit that uses two single pole, double throw switches to show how a three-way light switch works. Figure 1-19 shows the completed project.

image

FIGURE 1-19: The completed three-way light switch circuit.

Project 8: A Three-Way Light Switch

In this project, you create a three-way switch circuit in which a single lamp is controlled by either of two switches. You need a small Phillips-head screwdriver, wire cutters, and wire strippers to complete this project.

image
image

Parts

Steps

  1. Strip images inch of insulation from each end of the wires.
  2. Open both switches.

    Move the handles to their upright positions so the contacts are not connected.

  3. Attach the red lead from the battery holder to terminal 1X of the first switch.
  4. Attach the black lead to one of the terminals on the lamp holder.
  5. Connect one of the 6-inch wires from terminal 1A of the first switch to terminal 1A of the second switch.
  6. Connect another 6-inch wire from terminal 1B of the first switch to terminal 1B of the second switch.
  7. Connect the last 6-inch wire from terminal 1X of the second switch to the unused terminal of the lamp socket.
  8. Insert the lamps into the lamp holder.
  9. Insert the batteries into the holder.
  10. Flip the switches to see the operation of the three-way switch.

    The lamp lights only when both switches are in the A position or when both switches are in the B position.

Reversing Polarity

The final project in this chapter — Project 9 — shows you a common trick: using a DPDT switch to reverse the polarity of a circuit. One common use for this trick is powering a DC motor with the circuit. When you reverse the polarity of a DC motor, the motor spins in the opposite direction. Thus, you can use a DPDT switch to control the direction in which a DC motor turns. Figure 1-20 shows the assembled project.

image

FIGURE 1-20: The assembled polarity-reversing circuit.

Project 9: A Polarity-Reversing Circuit

In this project, you build a circuit that uses a DPDT switch to reverse a circuit’s polarity. In other words, flipping the switch from one position to the other reverses the direction in which current flows through the circuit. To build this circuit, you need a small Phillips-head screwdriver, wire cutters, and wire strippers.

image
image

Parts

Steps

  1. Strip images inch of insulation from each end of the wires.
  2. Open the switch.

    Move the handles to their upright positions so the contacts are not connected.

  3. Attach the red lead from the battery holder to terminal 1X of the switch.
  4. Attach the black lead from the battery to terminal 2X of the switch.
  5. Connect the first 6-inch wire from terminal 1B of the switch to terminal 2A of the switch.
  6. Connect the second 6-inch wire from terminal 2B of the switch to terminal 1A of the switch.
  7. Connect the third 6-inch wire from terminal 1A of the switch to one terminal of the lamp socket.
  8. Connect the fourth 6-inch wire from terminal 2A of the switch to the other terminal of lamp socket.
  9. Insert the lamps into the lamp holder.
  10. Insert the batteries into the battery holder.
  11. Flip the switch to the A position and measure the voltage at the lamp.

    Touch the red meter probe to the lamp terminal that’s connected to switch terminal 1A, and touch the black meter probe to the other lamp terminal. You should read approximately images .

  12. Flip the switch to the B position and measure the voltage again.

    You should read approximately images . (If you’re using an analog meter, you have to reverse the probes to read the negative voltage.)