Why does this LED produce red light while the one here produces blue light
When a voltage is applied to an LED it produces light
This originates from a tiny piece of semiconductor material inside that emits energy in the form of photons
But if we shine light on the LED we emit photons back into the LED
Likewise the process reverses and the LED then generates a small voltage
LEDs look roughly like this They come in various
shapes colors and sizes for different applications
LED stands for Light Emitting Diode which in German means light-emitting diode
In technical drawings we use this symbol for LEDs
It looks very similar to the diode symbol except for the additional arrows indicating that light is being emitted here
Both LEDs and diodes operate on the same principle
It is simply a semiconductor material situated between electrical connections
Both emit photons but only the LED emits photons within the range visible to the human eye
Specifically when the photon has a wavelength of approximately 400 to 700 nanometers
Depending on the photon's wavelength within this range we perceive different colors
The FM radio signal is also a photon wave but is about three meters long in comparison
The WLAN signal is about 6 centimeters shorter and X-ray radiation is extremely short-wavelength at around 0.01 nanometers
However we cannot see them because they lie outside the visible spectrum
Have you ever noticed that there's an LED in
your TV remote control It emits infrared light
The photon has a wavelength of approximately 940 nanometers making it invisible to the human eye
You can make it visible using the camera on your phone
Inside the semiconductor electrons and holes meet and release photons in the process
You'll learn the details later in this video
A conventional diode employs various materials in its semiconductor layer to generate photons in the near-infrared range
These are absorbed by the housing and converted into heat
That's why diodes heat up during operation while LEDs produce very little heat
In stark contrast to conventional light bulbs which generate a great deal of heat
In this design electrons collide with atoms in the filament and these collisions generate frictional heat
The filament heats up so intensely that it produces visible light
LEDs don’t need to produce heat to emit light making them far more energy efficient
Most of you are familiar with this type of LED—the 5 mm through-hole variety
But have you ever noticed that a page can have a flattened side
Drop a comment below and let me know what you think is causing this
The explanation will come later in the video
Through-hole LEDs are ideal for learning electronics and
they can be purchased in larger quantities at very low cost
I've linked the best places to buy them at a great price in the video description
They can be used in perforated printed circuit boards or soldered into printed circuit boards
In addition to this size 3 mm and 10 mm variants are also available for purchase
They are usually spherical but other shapes exist too such as these square ones
There are also SMD types short for Surface Mount Device which are soldered
directly onto the surface of circuit boards to enable compact designs
These versions are much smaller Some
like this one are so tiny that a microscope is needed to solder them
We typically find SMD-LEDs in our light bulbs
This one is actually a blue LED coated with a yellow phosphor
layer because yellow and blue together produce white light
There are also highly powerful LEDs that essentially consist of many LEDs packed closely together
and are often used for flashlights and floodlights
LEDs come with lenses of various colors
However there are also transparent versions that emit colored light
The housings are simply colored to make it easy to identify the light color being produced
Actually it's only the materials in the semiconductor layer
that produce the different colors of light not the color of the housing
We'll find out how it works later in the video
LEDs only light up when we connect the anode to the positive terminal and the cathode to the negative terminal
When we use a blue LED and a 3-volt button cell
it only lights up if connected in a specific way
It's easy to identify the correct polarity as the longer lead of the LED is the anode
But what if both connection wires were accidentally cut
Don't worry because one side of the LED housing has a flat edge that always indicates the cathode side
Additionally we can see two metal plates inside with the larger one being the cathode
With SMD LEDs there's a small mark on the top surface that sometimes indicates the anode and sometimes the cathode
You'll need to check the manufacturer's datasheet or test it yourself
In this example the LED lights up when the positive terminal is connected to the dot side
The back side has a marking that can indicate either the anode or the cathode
Here we can see that the LED lights up when connected in this manner
We can make the LEDs flash manually using a switch or we can use a simple circuit like this one with a resistor capacitor and transistor to automate the process
Here is the circuit diagram for this setup
However these blinking LEDs automatically turn on and off at a specific frequency
There are also those that independently change their color through a rapid or slow transition
Inside is a small controller that sets the frequency
Here is the schematic diagram for this circuit
And then there are also bidirectional LEDs
These can switch between two colors
Inside two LEDs are connected in opposite directions
When current flows in one direction one LED lights up and when it flows in the opposite direction the other LED lights up
Only one can light up at a time
However there are also these three-way two-color variants
We can manually switch between one color the other color or both colors together
Inside these there are two LEDs but they share a single connection
There are also four-pin RGB LEDs
These contain three separate
LEDs inside—one red one green
and one blue—and they all share a single connection point
We can activate each of them individually or two together to mix their colors or all three together to produce white light
We can control the voltage and current for each LED to produce any desired color
Here is the schematic diagram for this circuit
If you take a close look at your monitor you'll see the same
thing happening here made up of countless tiny multicolored LEDs
By the way I've included links to these LEDs down in the video description
But now in the comments tell me where you've already seen these LEDs or where you could put them to use
If we try to connect this LED to this 9-volt battery it will immediately burn out
Inside the LED is a thin wire
The battery sends so many electrons through this wire that it simply burns out
We also use a resistor to reduce the flow of electrons
You can learn more about it in my video explaining how resistors work
The resistance removes energy from the circuit to protect the LED
To do this he literally converts electrical energy into heat
The battery supplies 9 volts the resistor drops the voltage by about 7 volts and the LED takes the remaining 2 volts
The resistor sets the current level in the circuit
We can adjust the current to control the brightness of the LED
And if we change the supply voltage the current also changes
The manufacturer's datasheet provides us with the rated voltage and rated current
This LED is rated for 20 mA but we can go slightly above or below that and it will still work perfectly
The lower the voltage the dimmer the LED shines
But if we set the voltage too high the LED will be damaged
That's why LED drivers are found in light bulbs as well as in dedicated devices for powering light strips
This lamp operates at 230 volts
The rectifier converts alternating current into direct current
And the capacitor smooths out this fluctuation This chip
supplies the LEDs with a steady current so they don't flicker
This USB light bar is incredibly easy to use
This USB port has a 5-volt rail and a ground
rail Between them are only a resistor and an LED
Each set is wired in parallel meaning we can cut it to almost any desired length
The more LEDs we remove the lower the current becomes
When we look at an LED we see that there are two metal leads connected to the casing
The longest lead is the anode and the shortest lead is the cathode
The housing is made of epoxy resin often colored to make it easier to identify the LED light's color
On the side of the housing is a flat edge indicating the cathode side
When looking inside the LED housing we see that both the anode and cathode leads end in metal plates separated by a small gap
The plates prevent the terminal posts from twisting
The larger plate also indicates the cathode side
Typically a cone is located on the cathode plate containing a small piece of semiconductor material composed of an N-type layer topped by a P-type layer
This forms a P-N junction
A thin wire then runs between the anode terminal and the P-type material to complete the circuit
When the LED is powered photons are emitted from the semiconductor's P-N junction producing the colored light
The conical shape helps reflect light from the upper part of the LED housing
The color of the light depends on the wavelength of the photon emitted by the semiconductor
And in turn this depends on the material used
Electricity is the flow of electrons
Electrons flow easily through electrical conductors like copper but they flow only with difficulty through insulators like rubber
The N-layer contains many free electrons
The P-layer is missing a few electrons but it has many holes where electrons could reside
Electrons are negatively charged so the letter N simply indicates which side carries a negative charge
Since electrons are negative we treat holes as positive so we use the letter P
To make a semiconductor for a standard diode we simply use silicon
It has four electrons in its outer shell and atoms share these to achieve maximum stability
So where do the electrons and holes
come from Well the silicon is doped
This means we add impurities such as phosphorus which has five electrons in its valence shell that share with silicon atoms
But in the process one electron remains behind and this electron is now free to move among other atoms
This is our N-layer
For the P-layer we add a small amount of aluminum as a dopant which has only three electrons in its valence shell
Moreover it's not enough to share with all its neighboring atoms
Thus a hole is created into which an electron can move
We now have one layer with too many electrons and another layer with too few electrons
This junction forms the P-N junction
At this transition a poverty-stricken area forms known as the barrier layer
Some of the electrons move over to fill the holes while part of the holes migrate over as well
This creates a barrier with a slightly positively charged region and a slightly negatively charged region
This creates an electric field that prevents additional electrons from moving across
When we connect a battery electrons flow and we call this the forward direction
But if the voltage is too low we won't be able to overcome the depletion layer
The breakdown voltage of a typical diode is around 0.5 to 0.7 volts
This is the minimum voltage required for current to flow
However for a red LED it is much higher at 1.7 volts
The manufacturer provides a graph like this illustrating the forward current at a specific forward voltage
We can see that it starts at around 1.7 volts
We see that at 2 volts we should have a current of about 20
milliamps and that is precisely what we observe in our example here
Now let's examine a simple Bohr model of an atom
At the center is the nucleus containing all the protons and neutrons
Thus we have a series of orbital shells where electrons can reside
Each shell can hold a specific number of electrons and the electrons must have a particular energy level to be accommodated in the shell
The farther the shell is from the nucleus the more energy it requires
The outermost shell is the valence band
Right behind it lies the conduction band
Electrons that reach this band can escape from the atom
In a conductor like copper the conduction band lies very close allowing electrons to move into it easily
In an insulator like rubber however the conduction band is too far away for electrons to escape the valence band
However in a semiconductor like silicon the conduction band is not far away so it typically behaves like an insulator
But if we apply a voltage the electron can break free from the valence shell
In a silicon semiconductor such as a diode the electron jumps from the N-conduction band to the P-valence band
The valence band has lower energy than the conduction band so electrons must lose some energy to be absorbed into the lower valence band
They do so by releasing a photon
In silicon it must lose about 1.1 electronvolts to be absorbed
The energy of this photon corresponds to a wavelength of approximately 1127 nanometers
I'll show you how to calculate it right away
This means that silicon diodes emit light in the near-infrared range which humans cannot see
Instead of silicon scientists mixed gallium and arsenic to form the semiconductor
Then they added some impurities to form the N- and P-layers
This semiconductor has a wider band gap of approximately 1.424 electronvolts and produces a wavelength of 870 nanometers
That's better but still too high
Then they tried gallium phosphite which has a band gap of 2.26 electronvolts
This corresponds to a wavelength of 548 nanometers which is ideal because the human eye can perceive it
And we perceive it as green
Then the scientists realized they could achieve any color between those two points by mixing gallium arsenide and gallium phosphide
Mixing 60% gallium and arsenic with 40% gallium phosphide yields approximately 1.7 electronvolts
We can convert this using the formula into a wavelength
So we plug in this number and obtain the following equation
This results in a wavelength of approximately 705 nanometers producing red light
If were to mix 15% gallium arsenide with 85% gallium phosphide we would obtain 2.13 electronvolts
corresponding to a wavelength of 580 nanometers giving us yellow light
Mixing different materials together to form a semiconductor produces light of various colors
Once red green and blue could be produced these colors could be mixed to create any desired hue
White light as well
And once white light became possible that was the green light for the widespread adoption of LED bulbs
Want to learn more Check out one of the videos displayed here to dive deeper into electronics
And we'll see each other again in the next lesson
Don't forget to follow us on Facebook Twitter LinkedIn Instagram TikTok and theengineeringmindset com See
you next time