Professional Documents
Culture Documents
Intro To Diodes: Learn What Diodes Are, How They Work, and How To Use Them
Intro To Diodes: Learn What Diodes Are, How They Work, and How To Use Them
Intro to Diodes
LEARN WHAT DIODES ARE, HOW THEY
WORK, AND HOW TO USE THEM
Table of Contents
2 www.element14.com/community
Intro to Diodes
We represent a Community of over 700,000 makers, professional engineers, electronics enthusiasts, and
everyone in between. Since our beginnings in 2009, we’ve provided a place to discuss electronics, offer
expert help, and publish your electronic projects and prototypes to show off your skills, and much more.
On our Community, you can find Essentials courses that delve into the details of important electronics
concepts, element14 Presents videos that show you a project from start-to-finish, Design Challenges
that follow a build from concept-to-prototype, and more.
This eBook is focused on the fundamentals of diodes and their behavior, with a project guide that you
can follow to put diodes to work (maybe for the first time)! Diodes allow an electric current to pass in
one direction (called the diode’s forward biasing), while blocking it in the opposite direction (the reverse
biasing). Light Emitting Diodes (LEDs) are a very common type of diode.
We hope you find this guide useful and enlightening, so happy reading!
www.element14.com/community 3
Intro to Diodes
Follow along with Karen Corbeill (on episode 23 & episode 24) from The Learning Circuit as
she explains diodes and illustrates how to use one in a simple Light Box. Also, check out
more episodes on a variety of topics at: element14.com/TheLearningCircuit.
Others are black with a silver stripe The images above shows the circuit
on one end. symbol for a diode.
www.element14.com/community 5
CHAPTER 2 DOPING IN DIODES
To make diodes do what they do, their crystalline N-type=negative charge carriers
structure is manipulated through a process called
doping, where another element is added to the silicon. In the N-type region, the silicon is doped with an
element like antimony or phosphorus.
6 www.element14.com/community
INTRO TO DIODES
Forward Bias
Forward bias is the normal operating mode of a diode.
A diode connected in forward bias, has its negative
cathode connected to the negative lead of the power
supply, and its positive anode, connected to the
positive lead of the power supply.
www.element14.com/community 7
The charge of the power supply is stronger than that
within the diode. The free electrons will always move
towards the strongest charge.
Reverse Bias
One way to connect the diode is in what is called
reverse bias. The diode is connected “backwards,”
with the negative terminal connected to its anode (+)
and the positive terminal connected to its cathode (-).
The reaction of charges within a diode and circuit With the charges this far apart, there is no sharing of
can be compared to the repelling and attracting of electrons. Electron flow is impossible.
magnets. The like sides will repel, while the opposing
sides will attract The same is true for positive and Ok, not completely impossible. There is an exception.
negative charges. Diodes have a breakdown voltage. A voltage applied to
8 www.element14.com/community
INTRO TO DIODES
a diode in reverse bias can become 1N4007 may withstand 1000 volts Example: Less than 0.7V - current
strong enough to overcome the before breaking down. In a silicon will not flow across the diode.
depletion zone, breaking down the diode, the charge at the depletion
diode, causing it to allow current zone is around 0.7V. This is called More than 0.7V - current will flow
to flow in the wrong direction. But the barrier potential, or threshold across the diode.
this usually damages or completely voltage. So, to overcome the
0.2V = No Flow, 3V = Yes Flow!
destroys the diode.For example, charge in the depletion zone, a
a 1N4001 diode may break down voltage of at least 0.7V must be
at as little as 50 volts, while a applied across the diode.
PROJECT OVERVIEW
In this project, a white LED illuminates the moon,
while 3 other LEDs, green, blue, and purple, are used
to illuminate stars. Each star is controlled by a toggle
switch. If any of the stars are turned on, the moon will
also turn on.
www.element14.com/community 9
With all switches off, all four LEDs are off.
1. If only switch 1 is flipped on, the green and white LEDs will be on.
2. If only switch 2 is flipped on, the blue and white LEDs will be on.
3. If only switch 3 is flipped on, the purple and white LEDs will be on.
4. Any combination of switches being turned on will turn on the white LED and whichever colored LEDs are
attached to that switch. Turning two switches on will result in two colored LEDs and the white LED to be
on. All three switches being flipped on will cause all LEDs to be on.
White Off On On On
Each switch will only turn on one colored LED (see the
second figure on the right).
10 www.element14.com/community
INTRO TO DIODES
Since each switch should also turn on the white light, also connects that switch to the other LEDs.
we can add those connections and see what happens.
So with these connections, when Switch 1 is turned
on, all the LEDs would turn on.
The half circles indicate that the line jumps over the
line it is crossing, and no connection is made at that
point. With these connections, each switch turns on
one colored LED and the white LED. But with this
setup, there is a problem: Diodes are placed after the connection to the colored
LEDs and before the white LED’s resistor, with the
cathode connected towards the white LED and the
anode connected to the switch.
www.element14.com/community 11
Many common 5mm LEDs operate at 20mA, which is nn Printout of a moon
converted to .02A for the equation.
nn Black craft foam sheet
Red LEDs typically operate at one of the lowest
nn Electrical tape
voltages of common LED colors, around 2V. White
and blue LEDs operate at one of the highest voltages, nn Optional: additional masking tape or glue
commonly around 3V. We can use these to calculate a
resistance range and choose a common resistor value. The entire circuit can be placed in a container,
attached to the back of a picture frame, or you can
Red create your own idea. Get creative!
R = (9-2 = 7) / .02A Black foam core or craft foam is opaque and can be
used to help isolate the light of each LED.
R = 350Ω
(I recommend reading through all the instructions first.
White
That way you can lay out all the components and trim
R= (9-3 = 6) / .02A leads and wires to an optimal length.)
R = 300Ω 1. Choose your container and lay out your design. This
will affect where the LEDs and switches will be placed.
330Ω is a common resistor value and can be used for
all 4 LEDs. a. Add any cutouts and printouts. Wax paper
can be used over any cutouts to diffuse the light
nn Four 330Ω resistors b. Rotate the LEDs so that the cathodes (short leads)
are all facing the same direction.
nn Three toggle switches
nn Some wire
nn Wax paper
12 www.element14.com/community
INTRO TO DIODES
3. Add the three switches. 4. Solder Ground connections
a. If using a box, cut or drill holes in one side so a. Take 4 pieces of wire and solder each LED
that the switches stick out. Screw or glue them cathode (short lead) to the black wire of the 9V
in place. Ensure you can still access the leads/ battery snap.
terminals for soldering.
5. Tape the battery connections.
4. Place the 9V battery and snap.
a. Wrap a piece of electrical tape around where you
a. Figure out where your battery can be placed and soldered to the black snap wire.
secure it with tape or glue. Make sure you can
add the battery snap, but do not connect it to the b. Repeat with the red wire.
battery yet.
c. DO NOT tape them together unless they are
already taped individually.
TIME TO SOLDER
1. Solder one resistor to each LED. TEST THE CIRCUIT
a. Identify the longer, anode lead of the LED and Connect the battery snap to the 9V battery.
solder it to either lead of the resistor (4 sets of 2
Test for these results:
leads connected together).
nn With all switches off, no LEDs are on.
2. Solder the 3 Diodes.
nn Switch 1 flipped: white LED and colored LED #1
a. Connect all the cathodes (striped end) of each are on.
diode to the resistor of the white LED (4 leads
connected together). nn Switch 2 flipped: white LED and colored LED #2
are on.
b. The anode (non-striped end) of each diode is
nn Switch 3 flipped: white LED and colored LED #3
connected separately to the resistors of the
are on.
colored LEDs. One diode should be soldered to
one resistor, with 3 sets of 2 leads connected When you flip any two switches on, the white LED, plus
together in total. 2 colored LEDs should be lit.
d. Take another piece of wire and solder the middle Do you need a fresh battery?
pin/terminal of Switch 1 (where you just soldered
a jumper) to the red wire of the 9V battery.
www.element14.com/community 13
INTRO TO DIODES
NOTES
Try adding foam craft blocks, bits of cardboard, or another spacer between the star/moon layer and the LED
layer. This may hold the LEDs back a little farther, so the light spreads more evenly.
Placing black construction paper, craft foam, or cardboard around each LED or clump of stars can help prevent
the light from one LED from lighting up the other stars.
CONCLUSION
I like stars and space, so this is the design I came up with for my project. But when it comes to the possibilities
of what you can do with this circuit based around diodes, the sky’s the limit (get it?). Feel free to experiment! Try
adding more switches and lights, just don’t forget the diodes.
Also, check out our website on The Learning Circuit to watch more episodes on diodes and build your
knowledge. You can share your own projects, ask questions of our members, and suggest topics for future
episodes. Happy Learning!
Bill of Materials
Product Name/Description
2238 - Battery Holder, PP3 (9V) x 1, Strap, Wire Leads
LED, Purple, Through Hole, T-1 3/4 (5mm), 30 mA, 3 V, 405 nm
LED, Blue, Through Hole, T-1 3/4 (5mm), 20 mA, 3.2 V, 480 nm
LED, Green, Through Hole, 5mm, 20 mA, 3.2 V, 527 nm
LED, Cool White, Through Hole, T-1 3/4 (5mm), 20 mA, 3.2 V, 46.1 cd
Through Hole Resistor, 330 ohm, 250 mW
Toggle Switch, SPDT, On-Off-On, Panel, 5 A
Standard Recovery Diode, 1 kV, 1 A, Single, 750 mV, 30 A
14 www.element14.com/community
300 S. Riverside Plaza, Suite 2200 Facebook.com/e14Community
Chicago, IL 60606 Twitter.com/e14Community
www.element14.com/community
© 2020 by Newark Corporation, Chicago, IL 60606. All rights reserved. No portion of this publication, whether in whole or in part, can be reproduced without the express written consent
of Newark Corporation. Newark® is a registered trademark of Farnell Corp. All other registered and/or unregistered trademarks displayed in this publication constitute the intellectual
property of their respective holders. WF-2241565