Docsity

Electronicac for dummies, Resúmenes de Electrónica Básica

Vista previa parcial del texto

¡Descarga Electronicac for dummies y más Resúmenes en PDF de Electrónica Básica solo en Docsity!

by Doug Lowe

Electronics

A L L - I N - O N E

FOR

DUMmIES

About the Author When Doug Lowe was 10 years old, his father gave him an electronics experimenter’s kit that started a life-long love of all things electronic. As a child, he dreamed of becoming an electrical engineer. But he soon discovered that he loved writing as much as he loved electronics, and his first technical book was published in 1981. Since then, he has written more than 100. All of those books have been about one specific corner of the electronics world: computers. But now he has finally written a book about his first love, the joy of designing and building electronic circuits from scratch. Doug lives in sunny Fresno, California, where the motto is “Fres-YES!,” (unfortunately, I’m not making that up). The fruits of his electronic passions can often be seen around the Halloween season, in the form of animated computer-controlled Halloween decorations that rival Disney’s Haunted Mansion.

Dedication My grandpa had a wonderful workshop behind his home. It was cramped and cold in the winter, and smelled of machine oil, stale coffee, aged rubber, and damp wood — like an ancient hardware store clinging to life down the road from a giant Big Box store. It was there that I began a lifelong love of electronics, as my grandpa tried to explain the mystery of electricity and taught me how to use a soldering iron, read a voltmeter, and test a questionable vacuum tube. In the spring of 1970, he showed up at my house with a trailer full of everything an 11-year-old boy could possibly need to create his own electronics lab. The trailer was stacked high with broken radios and box after box filled with tools and spare parts: vacuum tubes, soldering irons, condensers, volt meters, resistors, tube testers, and tuning capacitors. I can still remember the look on my dad’s face when he saw that trailer full of junk pull up in front of our house, hitched to the back of grandpa’s old Buick. I was in heaven. I think my dad may have been somewhere else. But he helped unload the trailer, and then he built me an amazing workbench with enough shelves and drawers to store everything and more. This book is dedicated to the memory of my grandpa, Kenneth D. Lowe Sr., and to my dad, Kenneth D. Lowe, Jr. To my grandfather, for giving me an amazing gift buried in a trailer full of junk. And to my dad, for letting me keep it.

Publisher’s Acknowledgments We’re proud of this book; please send us your comments at http://dummies.custhelp.com. For other comments, please contact our Customer Care Department within the U.S. at 877-762-2974, outside the U.S. at 317-572-3993, or fax 317-572-4002. Some of the people who helped bring this book to market include the following: Acquisitions, Editorial, and Vertical Websites Senior Project Editor: Christopher Morris Senior Acquisitions Editor: Katie Feltman Copy Editors: Heidi Unger, Kathy Simpson Technical Editor: Kirk Kleinschmidt Editorial Manager: Kevin Kirschner Vertical Websites Project Manager: Laura Moss-Hollister Vertical Websites Assistant Project Manager: Jenny Swisher Vertical Websites Associate Producers: Josh Frank, Marilyn Hummel, Douglas Kuhn, Shawn Patrick Editorial Assistant: Amanda Graham Sr. Editorial Assistant: Cherie Case Cover Photos: © istockphoto.com / Rudyanto Wijaya Cartoons: Rich Tennant (www.the5thwave.com) Composition Services Project Coordinator: Katherine Crocker Layout and Graphics: Carrie A. Cesavice, Cheryl Grubbs, Joyce Haughey, Mark Pinto, Corrie Socolovitch Proofreaders: Lauren Mandelbaum, Evelyn Wellborn Indexer: BIM Indexing & Proofreading Services Publishing and Editorial for Technology Dummies Richard Swadley, Vice President and Executive Group Publisher Andy Cummings, Vice President and Publisher Mary Bednarek, Executive Acquisitions Director Mary C. Corder, Editorial Director Publishing for Consumer Dummies Kathleen Nebenhaus, Vice President and Executive Publisher Composition Services Debbie Stailey, Director of Composition Services

Contents at a Glance

  • Introduction
  • Book I: Getting Started in Electronics
  • Chapter 1: Welcome to Electronics
  • Chapter 2: Understanding Electricity
  • Chapter 3: Creating Your Mad-Scientist Lab
  • Chapter 4: Staying Safe....................................................................................................
  • Chapter 5: Reading Schematic Diagrams
  • Chapter 6: Building Projects...........................................................................................
  • Chapter 7: The Secrets of Successful Soldering.........................................................
  • Chapter 8: Measuring Circuits with a Multimeter
  • Chapter 9: Catching Waves with an Oscilloscope
  • Book II: Working with Basic Electronic Components.....
  • Chapter 1: Working with Basic Circuits
  • Chapter 2: Working with Resistors
  • Chapter 3: Working with Capacitors
  • Chapter 4: Working with Inductors
  • Chapter 5: Working with Diodes and LEDs
  • Chapter 6: Working with Transistors
  • Book III: Working with Integrated Circuits
  • Chapter 1: Introducing Integrated Circuits
  • Chapter 2: The Fabulous 555 Timer Chip
  • Chapter 3: Working with Op-Amps
  • Book IV: Getting into Alternating Current
  • Chapter 1: Understanding Alternating Current..........................................................
  • Chapter 2: Working with Line Voltage
  • Chapter 3: Building Power Supplies
  • Book V: Working with Radio and Infrared
  • Chapter 1: Understanding Radio..................................................................................
  • Chapter 2: Building a Crystal Radio.............................................................................
  • Chapter 3: Working with Infrared
  • Book VI: Doing Digital Electronics
  • Chapter 1: Understanding Digital Electronics
  • Chapter 2: Getting Logical
  • Chapter 3: Working with Logic Circuits
  • Chapter 4: Interfacing to Your Computer’s Parallel Port
  • Chapter 5: Working with Flip-Flops
  • Book VII: Working with BASIC Stamp Processors
  • Chapter 1: Introducing Microcontrollers and the BASIC Stamp
  • Chapter 2: Programming in PBASIC
  • Chapter 3: More PBASIC Programming Tricks
  • Chapter 4: Adding Sound and Motion to Your BASIC Stamp Projects
  • Book VIII: Special Effects
  • Chapter 1: Building a Quiz-O-Matic!.............................................................................
  • Chapter 2: Building a Color Organ
  • Chapter 3: Animating Holiday Lights
  • Chapter 4: Building an Animatronic Prop Controller
  • Index
  • Introduction Table of Contents
  • About This Book
  • How to Use This Book
  • About the Projects...........................................................................................
  • Staying Safe
  • How This Book Is Organized
  • Book I: Getting Started in Electronics
  • Book II: Working with Basic Electronic Components
  • Book III: Working with Integrated Circuits
  • Book IV: Getting into Alternating Current
  • Book V: Working with Radio and Infrared
  • Book VI: Doing Digital Electronics
  • Book VII: Working with BASIC Stamp Processors..............................
  • Book VIII: Special Effects
  • Icons Used in This Book
  • Where to Go from Here
  • Book I: Getting Started in Electronics
  • Chapter 1: Welcome to Electronics
  • What Is Electricity?........................................................................................
  • But Really, What Is Electricity?
  • What Is Electronics?
  • What Can You Do with Electronics?............................................................
  • Making noise
  • Making light
  • Transmitting to the world...................................................................
  • Computing
  • Looking inside Electronic Devices
  • Chapter 2: Understanding Electricity
  • Pondering the Wonder of Electricity
  • Looking for Electricity...................................................................................
  • Peering Inside of Atoms
  • Examining the Elements
  • Minding Your Charges
  • Conductors and Insulators
  • Understanding Current
  • Understanding Voltage
  • Comparing Direct and Alternating Current
  • Understanding Power
  • Chapter 3: Creating Your Mad-Scientist Lab xii Electronics All-in-One For Dummies
  • Setting Up Your Mad-Scientist Lab
  • Equipping Your Mad-Scientist Lab
  • Basic hand tools
  • Magnifying glasses
  • Third hands and hobby vises.............................................................
  • Soldering iron
  • Multimeter
  • Solderless breadboard
  • Wire
  • Batteries
  • Other things to stock up on................................................................
  • Stocking up on Basic Electronic Components
  • Resistors
  • Capacitors
  • Diodes....................................................................................................
  • Light-Emitting Diodes
  • Transistors............................................................................................
  • Integrated Circuits
  • One Last Thing
  • Chapter 4: Staying Safe
  • Facing the Realities of Electrical Dangers
  • Household electrical current can kill you!........................................
  • Even relatively small voltages can hurt you.....................................
  • Sometimes voltage hides in unexpected places
  • Other Ways to Stay Safe................................................................................
  • Keeping Safety Equipment on Hand
  • Protecting Your Stuff from Static Discharges
  • Chapter 5: Reading Schematic Diagrams
  • Introducing a Simple Schematic Diagram...................................................
  • Laying Out a Circuit.......................................................................................
  • To Connect or Not to Connect
  • Looking at Commonly Used Symbols..........................................................
  • Simplifying Ground and Power Connections
  • Labeling Components in a Schematic Diagram
  • Representing Integrated Circuits in a Schematic Diagram.......................
  • Chapter 6: Building Projects
  • Looking at the Process of Building an Electronic Project
  • Envisioning Your Project
  • Designing Your Circuit
  • Prototyping Your Circuit on a Solderless Breadboard
  • Understanding how solderless breadboards work
  • Laying out your circuit
  • Assembling the coin-toss circuit on a solderless breadboard.......
  • What if it doesn’t work?
  • Constructing Your Circuit on a Printed Circuit Board (PCB) Table of Contents xiii
  • Understanding how printed circuit boards work
  • Using a preprinted PCB
  • Building the coin-toss circuit on a PCB...........................................
  • Finding an Enclosure for Your Circuit
  • Working with a project box
  • Mounting the coin-toss circuit in a box
  • Chapter 7: The Secrets of Successful Soldering
  • Understanding How Solder Works
  • Procuring What You Need to Solder
  • Buying a soldering iron
  • Stocking up on solder
  • Other goodies you need
  • Preparing to Solder
  • Soldering a Solid Solder Joint
  • Checking Your Work
  • Desoldering
  • Chapter 8: Measuring Circuits with a Multimeter
  • Looking at Multimeters
  • What a Multimeter Measures
  • Ammeter..............................................................................................
  • Voltmeter
  • Ohmmeter
  • Other measurements
  • Schematic symbols for meter functions
  • Using Your Multimeter................................................................................
  • Measuring current
  • Measuring voltage..............................................................................
  • Measuring resistance
  • Chapter 9: Catching Waves with an Oscilloscope
  • Understanding Oscilloscopes
  • Examining Waveforms
  • Calibrating an Oscilloscope
  • Displaying Signals
  • Book II: Working with Basic Electronic Components
  • Chapter 1: Working with Basic Circuits
  • What Is a Circuit?
  • Using Batteries
  • Building a Lamp Circuit
  • Working with Switches
  • The many ways to throw the switch
  • Making connections with poles and throws...................................
  • Building a Switched Lamp Circuit xiv Electronics All-in-One For Dummies
  • Understand Series and Parallel Circuits
  • Building a Series Lamp Circuit
  • Building a Parallel Lamp Circuit
  • Using Switches in Series and Parallel........................................................
  • Building a Series Switch Circuit
  • Building a Parallel Switch Circuit
  • Switching between Two Lamps
  • Building a Three-Way Lamp Switch
  • Reversing Polarity
  • Chapter 2: Working with Resistors
  • What Is Resistance?
  • Measuring Resistance
  • Looking at Ohm’s Law
  • Introducing Resistors
  • Reading Resistor Color Codes
  • Reading a resistor’s value
  • Understanding resistor tolerance
  • Understanding Resistor Power Ratings
  • Limiting Current with a Resistor
  • Combining Resistors
  • Combining Resistors in Series..........................................................
  • Combining Resistors in Parallel
  • Mixing Series and Parallel Resistors
  • Combining Resistors in Series and Parallel
  • Dividing Voltage
  • Dividing Voltage with Resistors
  • Varying Resistance with a Potentiometer
  • Chapter 3: Working with Capacitors
  • What Is a Capacitor?
  • Counting Capacitance
  • Reading Capacitor Values...........................................................................
  • The Many Sizes and Shapes of Capacitors
  • Calculating Time Constants for Resistor/Capacitor Networks
  • Combining Capacitors.................................................................................
  • Combining capacitors in parallel
  • Connecting capacitors in series
  • Putting Capacitors to Work
  • Charging and Discharging a Capacitor
  • Blocking DC while Passing AC....................................................................
  • Chapter 4: Working with Inductors
  • What Is Magnetism?
  • The north and south of magnetism
  • Pondering permanent magnets
  • Examining Electromagnets
  • Inducing Current Table of Contents xv
  • Inductance and the art of resisting change
  • Regarding henry
  • Calculating RL Time Constants
  • Calculating Inductive Reactance
  • Combining Inductors...................................................................................
  • Putting Inductors to Work
  • Chapter 5: Working with Diodes and LEDs
  • What Is a Semiconductor?
  • Doping: It’s not just for athletes.......................................................
  • Understanding p-n junctions
  • Introducing Diodes
  • The Many Types of Diodes
  • Rectifier diodes
  • Signal diodes.......................................................................................
  • Zener diodes
  • Using a Diode to Block Reverse Polarity
  • Putting Rectifiers to Work
  • Building Rectifier Circuits...........................................................................
  • Introducing Light Emitting Diodes
  • Using LEDs to Detect Polarity
  • Chapter 6: Working with Transistors
  • What’s the Big Deal About Transistors?
  • Why were transistors invented?
  • Looking inside a transistor
  • Examining transistor specifications
  • Amplifying with a Transistor......................................................................
  • Using a Transistor as a Switch
  • An LED Driver Circuit
  • Looking at a Simple NOT Gate Circuit
  • Building a NOT Gate
  • Oscillating with a Transistor
  • Building An LED Flasher
  • Wrapping Up Our Exploration of Discrete Components
  • Book III: Working with Integrated Circuits
  • Chapter 1: Introducing Integrated Circuits
  • What Exactly Is an Integrated Circuit?
  • Looking at How Integrated Circuits Are Made
  • Integrated Circuit Packages
  • Using ICs in Schematic Diagrams
  • Powering ICs.................................................................................................
  • Avoiding Static and Heat Damage
  • Reading IC Data Sheets
  • Popular Integrated Circuits xvi Electronics All-in-One For Dummies
  • 555 Timer
  • 741 and LM324 Op-Amp
  • 78xx Voltage Regulator
  • 74xx Logic Family
  • Chapter 2: The Fabulous 555 Timer Chip
  • Looking at How the 555 Works
  • Understanding 555 Modes
  • Using the 555 in Monostable (One-Shot) Mode
  • Looking at a typical 555 monostable circuit
  • Looking at the resistor-capacitor circuit in a monostable timer
  • Calculating the time interval for a monostable circuit
  • Using the 555 in Astable (Oscillator) Mode
  • Looking at a typical astable circuit
  • Controlling the time intervals in an astable 555 circuit
  • Calculating the duty cycle
  • Using the 555 in Bistable (Flip-Flop) Mode
  • Using the 555 Timer Output
  • Doubling Up with the 556 Dual Timer
  • Making a One-Shot Timer
  • Making an LED Flasher
  • Using a Set/Reset Switch
  • Making a Beeper
  • Chapter 3: Working with Op-Amps
  • Looking at Operational Amplifiers
  • Understanding Open Loop Amplifiers
  • Looking at Closed Loop Amplifiers
  • Using an Op Amp as a Unity Gain Amplifier
  • Configuring a unity follower
  • Configuring a Unity Inverter
  • Using an Op Amp as a Voltage Comparator
  • Adding Voltages
  • Working with Op Amp ICs
  • Book IV: Getting into Alternating Current...................
  • Chapter 1: Understanding Alternating Current
  • What Is Alternating Current?
  • Measuring Alternating Current
  • Understanding Alternators.........................................................................
  • Understanding Motors
  • Understanding Transformers.....................................................................
  • Chapter 2: Working with Line Voltage Table of Contents xvii
  • Using Line Voltage in Your Projects..........................................................
  • Being safe with line voltage
  • Understanding hot, neutral, and ground
  • Wires and Connectors for Working with Line Voltage
  • Using Fuses to Protect Line-Voltage Circuits
  • Using Relays to Control Line-Voltage Circuits
  • Chapter 3: Building Power Supplies
  • Using a Power Adapter
  • Understanding What a Power Supply Does..............................................
  • Transforming Voltage
  • Turning AC into DC......................................................................................
  • Half-wave rectifier
  • Full-wave rectifier
  • Bridge rectifier
  • Filtering Rectified Current
  • Regulating Voltage
  • Book V: Working with Radio and Infrared
  • Chapter 1: Understanding Radio
  • Understanding Radio Waves
  • Transmitting and Receiving Radio
  • Understanding radio transmitters
  • Understanding radio receivers
  • Understanding AM Radio............................................................................
  • Understanding FM Radio
  • Chapter 2: Building a Crystal Radio
  • Looking at a Simple Crystal Radio Circuit
  • Gathering Your Parts
  • Building the Coil
  • Assembling the Circuit................................................................................
  • Stringing Up an Antenna
  • Connecting to Ground
  • Using the Crystal Radio
  • Chapter 3: Working with Infrared
  • Introducing Infrared Light
  • Detecting Infrared Light
  • Creating Infrared Light
  • Building a Proximity Detector....................................................................
  • Building a Common-Emitter Proximity Detector xviii Electronics All-in-One For Dummies
  • Building a Common-Collector Proximity Detector
  • Book VI: Doing Digital Electronics
  • Chapter 1: Understanding Digital Electronics
  • Distinguishing Analog and Digital Electronics
  • Understanding Binary
  • Knowing your number systems
  • Counting by ones
  • Doing the logic thing
  • Using Switches to Build Gates
  • Chapter 2: Getting Logical
  • Introducing Boolean Logic and Logic Gates
  • Looking at NOT Gates
  • Looking at AND Gates
  • Looking at OR Gates
  • Looking at NAND Gates
  • Looking at NOR Gates
  • Looking at XOR and XNOR Gates
  • De Marvelous De Morgan’s Theorem........................................................
  • All You Need Is NAND (Or NOR)
  • Universal NAND Gates
  • Universal NOR Gates
  • Using Software to Practice with Gates
  • Chapter 3: Working with Logic Circuits
  • Creating Logic Gates with Transistors
  • A transistor NOT gate circuit
  • A transistor AND gate circuit
  • A transistor NAND gate circuit.........................................................
  • A transistor OR gate circuit
  • A transistor NOR gate circuit
  • Introducing Integrated Circuit Logic Gates
  • Introducing the Versatile 4000-Series Logic Gates
  • Building Projects with the 4011 Quad Two-Input NAND Gate
  • Chapter 4: Interfacing to Your Computer’s Parallel Port
  • Understanding the Parallel Port
  • The makeup of a parallel port
  • The DB25 connector and its pins.....................................................
  • Pinout assignments
  • Designing a Parallel-Port Circuit