Make: Electronics
Learning by Discovery
Charles Platt
with photographs and illustrations by the author
Beijing Cambridge Farnham Kln Sebastopol Taipei Tokyo
Make: Electronics
by Charles Platt
Copyright Helpful Corporation. All rights reserved.
Printed in Canada.
Published by OReilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
OReilly Media books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles ( my.safaribooksonline.com ). For more information, contact our corporate/institutional sales department: 800-998-9938 or corporate@oreilly.com .
Editors: Dale Dougherty and Brian Jepson
Development Editor: Gareth Branwyn
Production Editor: Rachel Monaghan
Technical Editor: Andrew Bunnie Huang
Copyeditor: Nancy Kotary
Proofreader: Nancy Reinhardt
Indexer: Julie Hawks
Cover Designer: Mark Paglietti
Interior Designer: Ron Bilodeau
Illustrator/Photographer: Charles Platt
Cover Photographer: Marc de Vinck
Print History:
December 2009: First Edition.
The OReilly logo is a registered trademark of OReilly Media, Inc. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and OReilly Media, Inc., was aware of a trademark claim, the designations have been printed in caps or initial caps.
While every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.
ISBN: 978-0-596-15374-8
[TI]
For my dearest Erico
Preface
How to Have Fun with This Book
Everyone uses electronic devices, but most of us dont really know what goes on inside them.
Of course, you may feel that you dont need to know. If you can drive a car without understanding the workings of an internal combustion engine, presumably you can use an iPod without knowing anything about integrated circuits. However, understanding some basics about electricity and electronics can be worthwhile for three reasons:
- By learning how technology works, you become better able to control your world instead of being controlled by it. When you run into problems, you can solve them instead of feeling frustrated by them.
- Learning about electronics can be funso long as you approach the process in the right way. The tools are relatively cheap, you can do all the work on a tabletop, and it doesnt consume a lot of time (unless you want it to).
- Knowledge of electronics can enhance your value as an employee or perhaps even lead to a whole new career.
Learning by Discovery
Most introductory guides begin with definitions and facts, and gradually get to the point where you can follow instructions to build a simple circuit.
This book works the other way around. I want you to start putting components together right away. After you see what happens, youll figure out whats going on. I believe this process of learning by discovery creates a more powerful and lasting experience.
Learning by discovery occurs in serious research, when scientists notice an unusual phenomenon that cannot be explained by current theory, and they start to investigate it in an effort to explain it. This may ultimately lead to a better understanding of the world.
Were going to be doing the same thing, although obviously on a much less ambitious level.
Along the way, you will make some mistakes. This is good. Mistakes are the best of all learning processes. I want you to burn things out and mess things up, because this is how you learn the limits of components and materials. Since well be using low voltages, therell be no chance of electrocution, and so long as you limit the flow of current in the ways Ill describe, there will be no risk of burning your fingers or starting fires.
Stay Within the Limits! Although I believe that everything suggested in this book is safe, Im assuming that you will stay within the limits that I suggest. Please always follow the instructions and pay attention to the warnings, denoted by the icon you see here. If you go beyond the limits, you will expose yourself to unnecessary risks.
Figure P-1. Learning by discovery allows you to start building simple circuits right away, using a handful of cheap components, a few batteries, and some alligator clips.
How Hard Will It Be?
I assume that youre beginning with no prior knowledge of electronics. So, the first few experiments will be ultra-simple, and you wont even use solder or prototyping boards to build a circuit. Youll be holding wires together with alligator clips.
Very quickly, though, youll be experimenting with transistors, and by the end of Chapter 2, you will have a working circuit that has useful applications.
I dont believe that hobby electronics has to be difficult to understand. Of course, if you want to study electronics more formally and do your own circuit design, this can be challenging. But in this book, the tools and supplies will be inexpensive, the objectives will be clearly defined, and the only math youll need will be addition, subtraction, multiplication, division, and the ability to move decimal points from one position to another.
Moving Through This Book
Basically there are two ways to present information in a book of this kind: in tutorials and in reference sections. Im going to use both of these methods. Youll find the tutorials in sections headed as follows:
- Shopping Lists
- Using Tools
- Experiments
Youll find reference sections under the following headings:
- Fundamentals
- Theory
- Background
How you use the sections is up to you. You can skip many of the reference sections and come back to them later. But if you skip many of the tutorials, this book wont be of much use to you. Learning by discovery means that you absolutely, positively have to do some hands-on work, and this in turn means that you have to buy some basic components and play with them. You will gain very little by merely imagining that you are doing this.
Its easy and inexpensive to buy what you need. In almost any urban or suburban area in the United States, chances are you live near a store that sells electronic components and some basic tools to work with them. I am referring, of course, to RadioShack franchises. Some Shacks have more components than others, but almost all of them have the basics that youll need.
You can also visit auto supply stores such as AutoZone and Pep Boys for basics such as hookup wire, fuses, and switches, while stores such as Ace Hardware, Home Depot, and Lowes will sell you tools.
If you prefer to buy via mail order, you can easily find everything you need by searching online. In each section of the book, Ill include the URLs of the most popular supply sources, and youll find a complete list of URLs in the appendix.
Fundamentals
Mail-ordering components and tools
Here are the primary mail-order sources that I use myself online:
http://www.radioshack.com
RadioShack, a.k.a. The Shack. For tools and components. Not always the cheapest, but the site is easy and convenient, and some of the tools are exactly what you need.
Next page