Saturday 26 July 2014

Transistors

Any discussion of semiconductor devices isnt complete without mentioning the "Transistors". The transistor is the fundamental building block of modern electronic devices, and is ubiquitous in modern electronic systems.

transistor is a semiconductor device used to amplify and switch electronic signals and electrical power. It is composed of semiconductor material with at least three terminals for connection to an external circuit. A voltage or current applied to one pair of the transistor's terminals changes the current through another pair of terminals. Because the controlled (output) power can be higher than the controlling (input) power, a transistor can amplify a signal. Today, some transistors are packaged individually, but many more are found embedded in integrated circuits.


Importance


The transistor is the key active component in practically all modern electronics. Many consider it to be one of the greatest inventions of the 20th century. Its importance in today's society rests on its ability to be mass-produced using a highly automated process (semiconductor device fabrication) that achieves astonishingly low per-transistor costs. The invention of the first transistor at Bell Labs was named an IEEE Milestone in 2009.
Although several companies each produce over a billion individually packaged (known as discrete) transistors every year, the vast majority of transistors are now produced in integrated circuits (often shortened to IC,microchips or simply chips), along with diodes, resistors, capacitors and other electronic components, to produce complete electronic circuits. A logic gate consists of up to about twenty transistors whereas an advanced microprocessor, as of 2009, can use as many as 3 billion transistors (MOSFETs)


Transistors are manufactured in different shapes but they have three leads (legs). 
The BASE - which is the lead responsible for activating the transistor.
The COLLECTOR - which is the positive lead.
The EMITTER - which is the negative lead.
The diagram below shows the symbol of an NPN transistor. They are not always set out as shown in the diagrams to the left and right, although the ‘tab’ on the type shown to the left is usually next to the ‘emitter’.

Working:

The design of a transistor allows it to function as an amplifier or a switch. This is accomplished by using a small amount of electricity to control a gate on a much larger supply of electricity, much like turning a valve to control a supply of water. Transistor terminalsTransistors are composed of three parts – a base, a collector, and an emitter. The base is the gate controller device for the larger electrical supply. The collector is the larger electrical supply, and the emitter is the outlet for that supply. By sending varying levels of current from the base, the amount of current flowing through the gate from the collector may be regulated. In this way, a very small amount of current may be used to control a large amount of current, as in an amplifier. The same process is used to create the binary code for the digital processors but in this case a voltage threshold of five volts is needed to open the collector gate. In this way, the transistor is being used as a switch with a binary function: five volts – ON, less than five volts – OFF. 

Types of transistors :

1. JUNCTION TRANSISTORS 

PNP and NPN transistorsA junction transistor consists of a thin piece of one type of semiconductor material between two thicker layers of the opposite type. For example, if the middle layer is p-type, the outside layers must be n-type. Such a transistor is an NPN transistor. One of the outside layers is called the emitter, and the other is known as the collector. The middle layer is the base. The places where the emitter joins the base and the base joins the collector are called junctions. 

The layers of an NPN transistor must have the proper voltage connected across them. The voltage of the base must be more positive than that of the emitter. The voltage of the collector, in turn, must be more positive than that of the base. The voltages are supplied by a battery or some other source of direct current. The emitter supplies electrons. The base pulls these electrons from the emitter because it has a more positive voltage than does the emitter. This movement of electrons creates a flow of electricity through the transistor. 

The current passes from the emitter to the collector through the base. Changes in the voltage connected to the base modify the flow of the current by changing the number of electrons in the base. In this way, small changes in the base voltage can cause large changes in the current flowing out of the collector. 

2. FIELD EFFECT TRANSISTORS 

Field-effect transistorA field effect transistor has only two layers of semiconductor material, one on top of the other. Electricity flows through one of the layers, called the channel. A voltage connected to the other layer, called the gate, interferes with the current flowing in the channel. Thus, the voltage connected to the gate controls the strength of the current in the channel. There are two basic varieties of field effect transistors-the junction field effect transistor(JFET) and the metal oxide semiconductor field effect transistor (MOSFET). Most of the transistors contained in today's integrated circuits are MOSFETS's. 


Thursday 17 July 2014

Light Emitting Diodes

What is a LED ?

light-emitting diode (LED) is a two-lead semiconductor light source. It resembles a basic pn-junction diode, which emits light when activated. When a fitting voltage is applied to the leads, electrons are able to recombine with electron holes within the device, releasing energy in the form of photons. This effect is called electroluminescence, and the color of the light (corresponding to the energy of the photon) is determined by the energy band gap of the semiconductor.


A LED
LEDs are so common, they come in dozens of different shapes and sizes. The LEDs you are most likely to use are the through hole LEDs with two legs. There are lots of LEDs that are small and hard to solder but these are easy to use with a breadboard because they have long wires we can stick in. The clear or clear-ish bulb is what protects the light emitter (thats where the magic happens). In fact, the first two letters of LED stand for Light Emitting.
A really nice thing about LEDs is that they are very simple. Unlike some chips that have dozens of pins with names and special uses, LEDs have only two wires. One wire is the anode (positive) and another is the cathode (negative). The two wires have different names because LEDs only work in one direction and we need to keep track of which pin is which. One goes to the positive voltage and the other goes to the negative voltage. Electronic parts that only work in 'one direction' like this are called Diodes, thats what the last letter of LED stands for.
leds_ledac.png
  • The longer lead goes to the more-positive voltage
  • Current goes in one direction, from the anode (positive) to the cathode(negative)
  • LEDs that are 'backwards' won't work - but they won't break either
It's all a little confusing - we often have to think about which is which. So to make it easy, there's only one thing you need to remember and that's the LED wont light up if you put it in backwards. If you're ever having LED problems where they are not lighting, just flip it around. Its very hard to damage an LED by putting it in backwards so don't be scared if you do.


What are LEDs used for?

LEDs are mostly used for two things: illumination and indication. These are technical words but are good to understand because if you want an LED for one thing and you buy the wrong thing you'll be pretty bummed.
leds_2005_winter_road_full_beam.jpg
Illumination means to "shine light onto something" - like a flashlight or headlights. You want your headlights to be bright as heck.
leds_taillight.jpg
Brake lights should be bright enough to see, but don't need to light up the road!
Indication mean to "point something out" - like a turn signal or brake lights on a car. You don't want your car's turn signal to blind people!
If you get the wrong type you could end up with a DIY flashlight that is dim, or a control panel that burns people's eyes!
Diffused LEDs are really good at indication, they look soft and uniform and you can see them well from any angle.
Clear LEDs are really good at illumination, the light is direct and powerful - but you can't see them well from an angle because the light is only going forward.

How Can a Diode Produce Light?


Light is a form of energy that can be released by an atom. It is made up of many small particle-like packets that have energy and momentum but no mass. These particles, called photons, are the most basic units of light.
Photons are released as a result of moving electrons. In an atom, electrons move in orbitals around the nucleus. Electrons in different orbitals have different amounts of energy. Generally speaking, electrons with greater energy move in orbitals farther away from the nucleus.
For an electron to jump from a lower orbital to a higher orbital, something has to boost its energy level. Conversely, an electron releases energy when it drops from a higher orbital to a lower one. This energy is released in the form of a photon. A greater energy drop releases a higher-energy photon, which is characterized by a higher frequency. 
As we saw in the last section, free electrons moving across a diode can fall into empty holes from the P-type layer. This involves a drop from the conduction band to a lower orbital, so the electrons release energy in the form of photons. This happens in any diode, but you can only see the photons when the diode is composed of certain material. The atoms in a standard silicon diode, for example, are arranged in such a way that the electron drops a relatively short distance. As a result, the photon's frequency is so low that it is invisible to the human eye -- it is in the infrared portion of the light spectrum. This isn't necessarily a bad thing, of course: Infrared LEDs are ideal for remote controls, among other things.
Visible light-emitting diodes (VLEDs), such as the ones that light up numbers in a digital clock, are made of materials characterized by a wider gap between the conduction band and the lower orbitals. The size of the gap determines the frequency of the photon -- in other words, it determines the color of the light. While LEDs are used in everything from remote controls to the digital displays on electronics, visible LEDs are growing in popularity and use thanks to their long lifetimes and miniature size. Depending on the materials used in LEDs, they can be built to shine in infrared, ultraviolet, and all the colors of the visible spectrum in between.

Sunday 6 July 2014

LM 358

In today's post we will talk about the IC LM358. The LM358 IC is commonly used in making IR sensor modules and is one of its major component.

Description:

Pin configuration of LM358
The LM358 contains two independent high gain operational amplifiers with internal frequency compensation. The two op- amps operate over a wide voltage range from a single pow- er supply. Also use a split power supply. The device has low power supply current drain, regardless of the power supply voltage. The low power drain also makes the LM358 a good choice for battery operation.
When your project calls for a traditional op-amp function, now you can streamline your design with a simple single power supply. Use ordinary +5VDC common to practice any digital system or personal computer application, without requiring an extra 15V power supply just to have the interface electronics you need.
The LM358 is a versatile, rugged workhorse with a thousand- and-one uses, from amplifying signals from a variety of transducers to DC gain blocks, or any op-amp function. 
[Amplifier] The LM358 Operational Amplifier Pinout Schematic Diagram: LM358 op-amp pinout schematic













LM358 can be used to construct a stable amplifier, an inverting amplifier and a non-inverting one since there are two op amps on each LM358 chip. The herein picture shows the pinout schematic diagram of the LM358.

Features :
Internally frequency compensated for unity gain
Large DC voltage gain: 100dB
Wide bandwidth (unity gain): 1 MHz (temperature-compensated)
Wide power supply range: 
 Single supply:3VDC to 32 VDC
 Dual supplies:+1.5VDC to +16VDC
Input common-mode voltage range includes ground
Large output voltage swing: 0V DC to VCC-1.5V DC
Power drain suitable for battery operation
Low input offset voltage and offset current

Differential input voltage range equal to the power supply voltage