Book Read Free

Make: Electronics

Page 6

by Charles Platt


  In a rechargeable battery, also known as a secondary battery, a smarter choice of electrodes and electrolyte does allow the chemical reactions to be reversed.

  How much current is being generated in your lemon battery? Set your meter to measure milliamps, and connect it between the nail and the penny. I measured about 2mA, but got 10mA when I used some #10 stranded copper wire instead of a penny and a large mending plate instead of a roofing nail, immersed in a cup of grapefruit juice. When a larger surface area of metal makes better contact with the electrolyte, you get a greater flow of current. (Don’t ever connect your meter to measure amps directly between the terminals of a real battery. The current will be too high, and can blow the fuse inside your meter.)

  What’s the internal resistance of your lemon? Put aside the copper and zinc electrodes and insert your nickel-plated meter probes into the juice. I got a reading of around 30K when both probes were in the same segment of the lemon, but 40K or higher if the probes were in different segments. Is the resistance lower when you test liquid in a cup?

  Here are a couple more questions that you may wish to investigate. For how long will your lemon battery generate electricity? And why do you think your zinc-plated electrode becomes discolored after it has been used for a while?

  Electricity is generated in a battery by an exchange of ions, or free electrons, between metals. If you want to know more about this, check the section “Theory: The nature of electricity” on the previous page.

  Cleanup and Recycling

  The hardware that you immersed in lemons or lemon juice may be discolored, but it is reusable. Whether you eat the lemons is up to you.

  Background

  Positive and negative

  If electricity is a flow of electrons, which have a negative charge, why do people talk as if electricity flows from the positive terminal to the negative terminal of a battery?

  The answer lies in a fundamental embarrassment in the history of research into electricity. For various reasons, when Benjamin Franklin was trying to understand the nature of electric current by studying phenomena such as lightning during thunderstorms, he believed he observed a flow of “electrical fluid” from positive to negative. He proposed this concept in 1747.

  In fact, Franklin had made an unfortunate error that remained uncorrected until after physicist J. J. Thomson announced his discovery of the electron in 1897, 150 years later. Electricity actually flows from an area of greater negative charge, to some other location that is “less negative”—that is, “more positive.” In other words, electricity is a flow of negatively charged particles. In a battery, they originate from the negative terminal and flow to the positive terminal.

  You might think that when this fact was established, everyone should have discarded Franklin’s idea of a flow from positive to negative. But when an electron moves through a wire, you can still think of an equal positive charge flowing in the opposite direction. When the electron leaves home, it takes a small negative charge with it; therefore, its home becomes a bit more positive. When the electron arrives at its destination, its negative charge makes the destination a bit less positive. This is pretty much what would happen if an imaginary positive particle traveled in the opposite direction. Moreover, all of the mathematics describing electrical behavior are still valid if you apply them to the imaginary flow of positive charges.

  As a matter of tradition and convenience we still retain Ben Franklin’s erroneous concept of flow from positive to negative, because it really makes no difference. In the symbols that represent components such as diodes and transistors, you will actually find arrows reminding you which way these components should be placed—and the arrows all point from positive to negative, even though that’s not the way things really work at all! Ben Franklin would have been surprised to learn that although most lightning strikes occur when a negative charge in clouds discharges to neutralize a positive charge on the ground, some forms of lightning are actually a flow of electrons from the negatively charged surface of the earth, up to a positive charge in the clouds. That’s right: someone who is “struck by lightning” may be hurt by emitting electrons rather than by receiving them, as shown in Figure 1-75.

  Figure 1-75. In some weather conditions, the flow of electrons during a lightning strike can be from the ground, through your feet, out of the top of your head, and up to the clouds. Benjamin Franklin would have been surprised.

  Theory

  Basic measurements

  Electrical potential is measured by adding up the charges on individual electrons. The basic unit is the coulomb, equal to the total charge on about 6,250,000,000,000,000,000 electrons.

  If you know how many electrons pass through a piece of wire each second, this establishes the flow of electricity, which can be expressed in amperes. In fact 1 ampere can be defined as 1 coulomb per second. Thus:

  1 ampere = 1 coulomb/second

  = about 6.25 quintillion electrons/second

  There’s no way to “see” the number of electrons running through a conductor (Figure 1-76), but there are indirect ways of getting at this information. For instance, when an electron goes running through a wire, it creates a wave of electromagnetic force around it. This force can be measured, and we can calculate the amperage from that. The electric meter installed at your home by the utility company functions on this principle.

  Figure 1-76. If you could look inside an electric wire with a sufficiently powerful magnifying device, and the wire happened to be carrying 1 ampere of electron flow at the time, you might hope to see about 6.25 quintillion electrons speeding past each second.

  If electrons are just moving freely, they aren’t doing any work. If you had a loop of wire of zero resistance, and you kick-started a flow of electrons somehow, they could just go buzzing around forever. (This is what happens inside a superconductor—almost.)

  Under everyday conditions, even a copper wire has some resistance. The force that we need to push electrons through it is known as “voltage,” and creates a flow that can create heat, as you saw when you shorted out a battery. (If the wire that you used had zero resistance, the electricity running through it would not have created any heat.) We can use the heat directly, as in an electric stove, or we can use the electrical energy in other ways—to run a motor, for instance. Either way, we are taking energy out of the electrons, to do some work.

  One volt can be defined as the amount of pressure that you need to create a flow of 1 ampere, which does 1 watt of work. As previously defined, 1 watt = 1 volt × 1 ampere, but the definition actually originated the other way around:

  1 volt = 1 watt/1 ampere

  It’s more meaningful this way, because a watt can be defined in nonelectrical terms. Just in case you’re interested, we can work backward through the units of the metric system like this:

  1 watt = 1 joule/second

  1 joule = a force of 1 newton acting through 1 meter

  1 newton = the force required to accelerate 1 kilogram by 1 meter per second, each second

  On this basis, the electrical units can all be anchored with observations of mass, time, and the charge on electrons.

  Practically Speaking

  For practical purposes, an intuitive understanding of electricity can be more useful than the theory. Personally I like the water analogies that have been used for decades in guides to electricity. Figure 1-77 shows a tall tank half full of water, with a hole punched in it near the bottom. Think of the tank as being like a battery. The height of the water is comparable to voltage. The volume of flow through the hole, per second, is comparable to amperage. The smallness of the hole is comparable to resistance. See Figure 1-79 on the next page.

  Figure 1-77. If you want to get work out of a system…

  Where’s the wattage in this picture?
Suppose we place a little water wheel where it is hit by the flow from the hole. We can attach some machinery to the water wheel. Now the flow is doing some work. (Remember, wattage is a measurement of work.)

  Maybe this looks as if we’re getting something for nothing, extracting work from the water wheel without putting any energy back into the system. But remember, the water level in the tank is falling. As soon as I include some helpers hauling the waste water back up to the top of the tank (in Figure 1-78), you see that we have to put work in to get work out.

  Figure 1-78. . . . somehow or other you have to put work back into it.

  Similarly, a battery may seem to be giving power out without taking anything in, but the chemical reactions inside it are changing pure metals into metallic compounds, and the power we get out of a battery is enabled by this change of state. If it’s a rechargeable battery, we have to push power back into it to reverse the chemical reactions.

  Going back to the tank of water, suppose we can’t get enough power out of it to turn the wheel. One answer could be to add more water. The height of the water will create more force. This would be the same as putting two batteries end to end, positive to negative, in series, to double the voltage. See Figure 1-80. As long as the resistance in the circuit remains the same, greater voltage will create more amperage, because amperage = voltage/resistance.

  What if we want to run two wheels instead of one? We can punch a second hole in the tank, and the force (voltage) will be the same at each of them. However, the water level in the tank will drop twice as fast. Really, we’d do better to build a second tank, and here again the analogy with a battery is good. If you wire two batteries side by side, in parallel, you get the same voltage, but for twice as long. The two batteries may also be able to deliver more current than if you just used one. See Figure 1-81.

  Summing up:

  Two batteries in series deliver twice the voltage.

  Two batteries in parallel can deliver twice the current.

  All right, that’s more than enough theory for now. In the next chapter, we’ll continue with some experiments that will build on the foundations of knowledge about electricity, to take us gradually toward gadgets that can be fun and useful.

  Figure 1-79. Greater force generates more flow, as long as the resistance remains the same.

  Figure 1-80. When you place two equal batteries in series, you double the voltage.

  Figure 1-81. Two equal batteries that are wired in parallel will deliver the same voltage for twice as long as one.

  2. Switching Basics and More

  The concept of switching is fundamental in electronics, and I’m not just talking about power switches. By “switching,” I mean using one flow of electricity to switch, or control, another. This is such an important principle that no digital device can exist without it.

  Today, switching is mostly done with semiconductors. Before I deal with them, I’ll back up and illustrate the concept by introducing you to relays, which are easier to understand, because you can see what’s going on inside them. And before I get to relays, I’ll deal with everyday on/off switches, which may seem very simple—but we have to nail down the basics.

  Also in this chapter, I’ll deal with capacitance, because capacitance and resistance are fundamental to electronic circuits. By the end of the chapter, you should have a basic grounding in electronics and be able to build the noisemaking section of a simple intrusion alarm. This will be your first circuit that does something genuinely useful!

  Shopping List: Experiments 6 Through 11

  As in the previous shopping list, you should visit the various online suppliers for availability and pricing of components and devices. Manufacturers seldom sell small numbers of parts directly. Check the appendix for a complete list of URLs for all the companies mentioned here.

  Devices

  Power supply/universal AC adapter, 3 to 12 volts at 1A (1,000 mA). See Figure 2-1. Part number 273-316 from RadioShack, part PH-62092 by Philips, or similar.

  Figure 2-1. AC adapters of this general type can supply a variety of voltages, with a range as wide as 3 to 12 volts.

  Breadboard suitable for integrated circuits. Quantity: 1. See Figures 2-2 and 2-3. Part 276-002 from RadioShack, model 383-X1000 made by PSP, part 923252-I by 3M, or similar. A breadboard that has screw terminals mounted beside it will be a little easier to use but more expensive than one that does not have terminals.

  Figure 2-2. This “breadboard” for quickly constructing electronic circuits has a metal base, and screw terminals for attaching wires from a power supply.

  Figure 2-3. A breadboard without screw terminals is almost as convenient, and is cheaper.

  Tools

  Wire strippers

  Ideal model 45-121 wire strippers for 16- to 26-gauge wire, or similar. See Figure 2-4. (The “gauge” of the wire tells you how thick it is. A higher gauge means a thinner wire. In this book, we will mainly be using thin wire of 20- to 24-gauge.)

  You may also consider the Kronus Automatic Wire Strippers, part 64-2981 from RadioShack, or GB Automatic Wire Strippers, part SE-92 from Amazon.com. See Figure 2-5.

  The Kronus and GB wire strippers are functionally identical. The advantage of their design is that it enables you to strip insulation from a wire with one hand. But they do not work well on really thin wire.

  Figure 2-4. To use these wire strippers, insert a piece of insulated wire in the appropriate-sized hole between the jaws, grip the handles, and pull a section of insulation away. See page 45.

  Figure 2-5. These automatic wire strippers enable one-handed operation, but are not suitable for very small wire diameters. See page 44.

  Supplies

  Hookup wire

  Solid-conductor, 22-gauge, minimum 25 feet of each color. See Figure 2-6. Part 278-1221 from RadioShack, catalog item 9948T17 from McMaster-Carr, or check eBay for deals.

  It’s easy to buy the wrong kind of wire. You need solid-core wire, which has a single conductor inside the plastic insulation, not stranded, which has multiple, thinner conductors. See Figures 2-7 and 2-8. You’re going to be pushing wires into little holes in a “breadboard,” and stranded wire won’t let you do this. You will also have problems if you buy wire thicker than 22-gauge. Remember: the lower the gauge number, the thicker the wire.

  For a little extra money, you can buy an assortment of precut sections of wire, with ends stripped and ready for use. Try catalog item JW-140 (jumper wire assortment) from All Electronics or search eBay for “breadboard wire.” See Figure 2-9.

  Figure 2-6. Using hookup wire with different colors of plastic insulation will help you to distinguish one wire from another in your circuits.

  Patch cords

  Patch cords are not strictly necessary but very convenient. You don’t want audio or video patch cords, which have a plug on each end; you want wires with alligator clips on each end, also sometimes referred to as “test leads.” Try catalog item 461-1176-ND from Digi-Key or catalog item MTL-10 from All Electronics. See Figure 2-10.

  Figure 2-7. Solid-conductor wire of 22 or 24 gauge is suitable for most of the experiments in this chapter.

  Figure 2-8. Stranded is more flexible, but cannot be used easily with breadboards.

  Figure 2-9. Precut wires with stripped ends can save a lot of time and trouble—if you don’t mind paying a little extra.

  Figure 2-10. Patch cords, sometimes known as test leads, consist of wires preattached to alligator clips. This is another of those little luxuries that reduces the hassle factor in hobby electronics.

  Components

  Pushbutton

  Momentary-on, SPST, sometimes referred to as OFF-(ON) or (ON)-OFF type. Must be PCB- or PC-mount, meaning is extremely small with thin spiky contacts on the bottom. Quantity: 1. See Figure
2-11.

  Figure 2-11. The terminals protruding from this tiny pushbutton are spaced 0.2 inches apart, making it ideal for the “breadboard” that you’ll be using.

  Examples are part number AB11AP by NKK, part MPA103B04 by Alcoswitch, or part EP11SD1CBE by C&K. If you have a choice, buy the cheapest, as we’re going to switch very low current.

  Switches

  Toggle switch, single-pole, double-throw (SPDT), sometimes referred to as ON-ON type. Quantity: 2. See Figure 2-12.

  Figure 2-12. This relatively large toggle switch made by NKK has screw terminals, which will reduce the inconvenience of attaching it to hookup wire.

  Model S302T-RO by NKK is ideal; it has screw terminals that will eliminate the need for alligator clips. Other options are catalog item MTS-4PC from All Electronics or part 275-603 from RadioShack.

  We won’t be switching large currents or high voltages, so the exact type of switch is unimportant. However, the terminals on larger-size switches are spaced wider apart, which makes them easier to deal with.

  Relays

  DPDT, nonlatching, 12v DC. Quantity: 2.

  It’s important to get the right kind of relay—one whose configuration matches the pictures I’ll be using. Look for parts FTR-F1CA012V or FTR-F1CD012V by Fujitsu, G2RL-24-DC12 by Omron, or OMI-SH-212D by Tyco. Avoid substitutions.

 

‹ Prev