Monday, December 31, 2012

LED Torch with adjustable brightness

LM3914 is used as the basis of a 10 step variable brightness current-regulated white LED torch. This circuit has only four components in the control and regulation circuit: R1,R2, VR1 and LM3914.




Part List

1. IC - LM3914
2. LED1-10 - 10 white led
3. R1 - 620 ohm
4. R2 - 100 ohm
5. VR1 - 100 k pot
6. C 1 - 10 uf 16 v
7. Power - 3-4.5 volt
8. Suitable cabinet and a general purpose PCB.



Saturday, November 3, 2012

Mains Powered LED Lights

Mains powered single LED




Figure1
A single LED can be illuminated by using a 100n or 220n capacitor with a rating of 400v
  • The power diode in the first diagram is designed to discharge the 220n during one half of the cycle so that the capacitor will charge during the other half-cycle and deliver energy to the LED. The 1k resistor limits the peak in-rush current when the circuit is first turned on and the main happens to be at a peak.    
  • Two LEDs can be driven from the same circuit as one LED will be illuminated during the first half cycle and the other LED will be driven during the second half of the cycle.


Mains Powered Multiple LED's

When 50 to 80 white LEDs are connected in series, a resistor can be used. For 50 white LEDs, use a 4k7 2watt resistor to provide 10mA average current.For 100 white LEDs, use a 2k2 1watt resistor to provide 10mA average current.


Figure 2



The above circuit can be modified with a bridge rectifier to provide DC input to LED. This will prevent from flickering or strobing. 




Mains light with 10 LED

The following circuit illuminates a column of 10 white LEDs. The 10u and 100 R prevents flicker.




Wednesday, October 31, 2012

Audio Amplifier using LM386


Audio amplifier - LM386


LM386 is a power amplifier designed to be used in low voltage consumer applications. Typical applications are like portable AM/FM amplifier, TV sound systems. It requires minimum external parts and operate from wide range of voltage starting from as low as 4 volt.

Below is the version of the circuit designed by me in one of my projects. It has a Gain of 50 with Bass boost.



LM 386 Amplifier

Part list
1. C1 - 100 µf 
2. C2 - 10 µf
3. C3 - 0.01 µf
4. C4 - 0.1 µf
5. C5 - 0.01 µf
6. C6 - 220 µf
7. R1 - 10 K
8. R2 - 1.2 K
9. R3 - 10 
10. VR1 - 10 K
11. 9 volt Battery
12. IC - LM386 

C3 and C4 can be replaced by 0.05 or 0.047 µf capacitor. 

This amplifier is ideal for Ipod and cell phones and can be assembled in small box. 



Wednesday, October 24, 2012

White LED on 1.5 v Supply

2 White LED on 1.5 v Supply

Parts
T1 - BC338
R1 - 2.7 K
C1 - 10 n
D1,D2 - Super bright LED
Transformer - 60 T, 40 T
S1 - On/off Switch
Battery 1.5 V


White LED Flasher


Parts
T1 - BC338
T2 - 2N2222
R1 - 2.7 K
R2 - 47 R
R3 - 330 R - 1K
C1 - 10 n
C2 - 100 
D2 - 1N4148

Battery 1.5 v

Tuesday, October 23, 2012

1 Watt Audio Amplifier

Audio Amplifier


Parts

Q1 Transistor - MPSW45A
R1- 50 ohms
R2- 10 K
R3,R4 - 100 K

9 volt battery and Speaker

Friday, October 19, 2012

Flashing LED

Alternate red and green flashing LED using 9 volt battery






Part list 
  1. R1,R2 - 100 Ohm
  2. R3,R4 - 105 K
  3. C1,C2 - 10 μF 25 Volt
  4. T1-T2 - BC 548
  5. D1-D5 - Red LED
  6. D6-D10 - Green LED
  7. 9 Volt Battery
  8.  

Thursday, October 18, 2012

Dark Sensor

Dark sensor using 2 transistor BC547


When light falls on LDR, its low resistance drives the transistor T1 into conduction. This keeps transistor T2 cut-off due to low base bias. The LED does not get power as long  as ambient light falls on it.

Parts list
  1. T1 and T2 - BC 547
  2. LDR  -1 nos
  3. Resistance  R1 - 1k
  4. R2 & R3 - 330 Ohms
  5. 6 volt battery
Modifying the above circuit to use with Relay and switch on / off


You can also modify the above circuit in controlling AC appliances. Remove R2 and LED from the circuit and also remove the positive connection to Pole of the relay. Connect the AC bulb or any other appliance as shown



.



Monday, September 3, 2012

Electrical Appliance Protection

This is a simple circuit to protect your electrical appliance during irregular power supply. Normally when power goes off we forget switching off our appliances.Especially in India where power cuts are very frequent we tend to leave our appliances on. In such case there are very high chance of getting it damages by high voltage surge.

The circuit below helps in this and does not switch on unless we press reset button.

Image

Components

  1. Diode 1N4007 - 3

  2. Capacitor C1 - 1000 25v

  3. Relay - 6 V 100

  4. Step Down Transformer = 6-0-6 300mA

  5. Push to On Switch - 1


Very-short-duration interruptions or fluctuations will  not affect the circuit because of presence of largevalue capacitor. Thus the circuit provides suitable safety against erratic power supply conditions.

Sunday, August 5, 2012

LED Flasher using NE555

LED Flasher circuit using NE555 timer IC

LED FLasher

  • R1, R2, C1 and the supply voltage determine the flash rate. For a variable flash rate, replace R1 with a 1 MΩ pot in series with a 22k resistor.

  • The purpose of R3 and R4 is to limit current through the LEDs to the maximum they can handle (usually 20 milliamps). 470 ohms works well with a supply voltage of 9-12 volts.

  • The duty cycle of the circuit (the percentage of the time LED 1 is on to the time it is off during each cycle) is deterimed by the ratio of R1 to R2. If the value of R1 is low in relationship to R2, the duty cycle will be near 50 percent.

  • The NE555 timer chip can be damaged by reverse polarity voltage being applied to it. You can make the circuit fool proof by placing a diode in series with the supply leads.

USB Reading Lamp

USB Reading Lamp


USB reading lamp is powered using USB port. The USB port provide 5 v and 100mA which is sufficient for this circuit. Cut the one end of the USB cable and use RED(pin1) and Black(pin4) for 5v positive and negative respectively.

USB Lamp

Parts
  1. c1,c2 - 100 mF 25 v
  2. Zener diode - 4.7v 400m
  3. R1- 220 r
  4. R2- 100 r
  5. T1 - SL100
  6. White LED - 5 nos.
  7. USB Cable

Thursday, August 2, 2012

Basic Electronics - Resistor Combinations

RESISTOR COMBINATIONS



  • When we do not get specific resistor values we have to either use variable resistors such as potentiometers or presets to obtain such precise values. Pots are too expensive to use forevery case.

  • Another scheme is to combine two or more resistors to obtain the necessary precise values.Such resistor combinations can cost as little as 50p or so only.

  • Then the question arises as to how one should combine these resistors, because, they can be combined in two different ways.

  • These are called “Series” and “Parallel” combinations.


Series Combinations


R Total= R1+ R2  Series Resistors


    • Calculating values for two or more resistors in series is simple, add all the values up.

    • The connection ensures that the SAME current flows through all resistors.

    • In this type of connection RT will always be GREATER than any of the included resistors.



Even if we have more than two resistors the total resistance is the sum of all the resistors connected in series:


R Total= R1+ R2+ R3 +•••••





    • Total Applied voltage is divided by two resistors

    • Current in the circuit is  I = V/(R1+R2)

    • Voltage across R1 and R2 are from OHMS law.



V1= I*R1


V2=I* R2


Total voltage V=V1+V2


For Example if V=12v and the 2 resistors are 1k each, then the current in the circuit is


12/2k=6mA


The voltage across each resistor is 6v


Thus the series combination is characterized by





    • The same current flows through all the resistors connected in series.

    • The resultant resistor is SUM of all the resistors in series

    • Series resistors divide the total voltage proportional to their magnitude.



Resistors in Parallel


In Parallel combination, 2 paths are available for current, hence the current divides but the voltage across the resistors is same.


1/R total =1/R1 + 1/R2   or


R total = (R1*R2) / R1 + R2





    • If the two resistors are equal, the current will divide equally and total resistance will be exactly half.

    • For example if voltage is 12v and there are 2 resistance for 1k each,



The current through each resistance will be 12v/1k= 12 mA. Hence the total current is 12 mA.


Effective resistance is 0.5k


Thus the parallel connection is characterized by





    • The same voltage exists across all the resistors connected in parallel, and

    • The reciprocal of resultant resistor is the sum of reciprocals of all resistors in parallel, and

    • Parallel resistors divide the total current in an inverse proportion to their magnitude.



Potential Divider


Since series resistors divide voltage, this idea can be used to get smaller voltage from a power supply output. For example, we have a power supply with 10V fixed output. But we want only 5V from it.

Vout= Vin(R2/(R+R2)) PotentialDivider





    • The Current I=Vin/R1+R2

    • Since the current I flows through R2, voltage developed across it from Ohm’s law is Vo=I*R2=( Vin/R1+R2) * R2                                                                                                   Vo = (R2/R1+R2) Vi





    • If R1=R2, then Vo=Vi/2

    • R1 and R2 cab be 100k or 100 ohm. Which one to be used?



If we need more current through load then R1 must be small. But too small a value will cause energy drain on the power supply. So the value must be chosen very carefully.



Note:



  • When two resistors are in parallel then their overall power rating is increased.

  • If both resistors are the same value and same power rating, then the total power rating is doubled. If parallel resistances are not equal, then the resistors with smaller values will be required to handle more power.

  • Four identical 0.25W resistors can be wired in parallel to give a resistor with one fourth the value in ohms, but four times the power rating. (1.0W). This is most useful when we require higher power handling, but don't want to go out and buy more expensive (and physically larger) resistors.

  • We have already seen earlier, that the power (in watts) can be calculated by multiplying voltage by current. P=V * I

  • By using ohms law, the parallel or series resistor formulas and the above formula, a minimum power rating for a certain resistor can be calculated. If this is exceeded the resistor is likely to get hot and hopefully quietly breakdown.

Tuesday, July 31, 2012

10 Stage LED Sequencer

Circuit diagram

Simple LED Chaser


Components

  1. IC1- CD4017

  2. IC2- NE555

  3. C1 - 1μ

  4. C2- 0.01 μ

  5. R1 - 470 Ω

  6. R2 - 100 KΩ

  7. R3- 100 Ω

  8. LED1-10 - RED LED

  9. 9volt DC power supply.


For power supply you can use 9volt battery or can design separate power supply using step down transformer and 1N4007 diodes.

Saturday, July 21, 2012

Variable DC Power Supply using LM317

Variable Power Supply Using LM317


Below is the circuit for variable dc power supply



R1- 240 Ω

R2- 5K VR

R2 can be replaced by fixed value resistor for fixed power supply. Following formula can be used to calculate output voltage.

Vo=1.25(1+R2/R1)

Output voltage should be2 voltage greater than input.

Parts for current setup
     
  • D1, D2 - 1N4001
  • C1-0.1 μ
  • C2 - 10 μ 50v
  • voltage regulator - LM317
  •  

Sunday, July 15, 2012

20 Watt Inverter

This circuit will drive a 40 watt fluorescent or two 20-watt tubes in series. The transformer is wound on a ferrite rod 10mm dia and 8cm long. The wire diameters is 0.61mm wire for the primary and 0.28mm wire for the secondary and feedback winding.

The circuit will take approx. 1.5amp on 12v, making it more efficient than running the tubes from the mains. A normal fluorescent takes 20 watts for the tube and about 15 watts for the ballast.

Note: Do not remove the tube when the circuit is operating as the spikes produced by the transformer will damage the transistor
20 Watt Inverter

Parts list

  1. Transistor – BC338 and TIP 3055

  2. Resistance – 47 K, 47 R, 180 R, 2R2

  3. Variable Resistance – 100k

  4. Capacitors – 100u 16v, 100n

  5. On/Off Switch

  6.  1 ferrite rod 10mm in 8mm long

  7. 30 m winding wire .28mm dia

  8. 4 m winding wire .61mm dia

  9. 2* 20 watt tube or 1* 40 watt tube

  10. 12 v DC power supply

Saturday, July 7, 2012

Lamp Dimmer

12v LAMP Dimmer


[caption id="attachment_82" align="aligncenter" width="308"]Dimmer 12v Lamp Dimmer[/caption]

Parts

  1. IC 1 – NE555

  2. Transistor – 2N2955 -1

  3. Resistance – 1k(2 no.), 100 Ω

  4. Variable Resistance – 50k

  5. Capacitor – 0.1 µF

  6. Diode – 1N4001 – 3

  7.  12v 2 amp Bulb


Input Voltage is 12v. To create your own bench top power supply use the circuit shown in http://electronichobbyist.wordpress.com/2012/06/17/regulated-dc-power-supply-circuit/

Wednesday, June 27, 2012

LED Basics

Today LED has become an integral part of consumer electronics.

LED TV, LED Display, LED Lights and so on. These are becoming very popular because of there low power consumption.

What is LED?
LED stands for Light emitting diode.

A light emitting diode is essentially a PN junction semiconductor diode that emits a monochromatic(single) colour light when operated in a forward biased direction.
For detail in technical evolution refer the following url

http://en.wikipedia.org/wiki/Light-emitting_diode

Early LEDs were only bright enough to be used as indicators, or in the displays of early calculators and digital watches. More recently they have been starting to appear in higher brightness applications.

Characteristics voltage drop


When a LED is connected around the correct way in a circuit it develops a voltage across

it called the CHARACTERISTIC VOLTAGE DROP. A LED must be supplied with a voltage that is higher than its "CHARACTERISTIC VOLTAGE"  via a resistor - called a VOLTAGE DROPPING RESISTOR or CURRENT LIMITING RESISTOR

How LED works?

LED and resistor are placed in series and connected to a voltage.As the voltage rises from 0v, nothing happens until the voltage reaches about 1.7v. At this voltage a red LED just starts to glow. As the voltage increases, the voltage across the LED remains at 1.7v but the current through the LED increases and it gets brighter. As the current increases to 5mA, 10mA, 15mA, 20mA the brightness will increase and at 25mA, it will be a maximum.

This is just a simple example as each LED has a different CHARACTERISTIC VOLTAGE DROP and a different maximum current.

In the diagram below we see a LED on a 3v supply, 9v supply and 12v supply. The current-limiting resistors are different and the first circuit takes 6mA, the second takes 15mA and the third takes 31mA. But the voltage across the red LED is the same in all cases.

Characteristics Voltage Drop



Head Voltage


As the supply-voltage increases, the voltage across the LED will be constant at 1.7v (for a red LED) and the excess voltage will be dropped across the resistor. The supply can be any voltage from 2v to 12 or more. The resistor will drop 0.3v to 10.3v. This is called HEAD VOLTAGE.

The voltage dropped across this resistor, combined with the current, constitutes wasted energy and should be kept to a minimum.

Head Voltage

Most supplies are derived from batteries and the voltage will drop as the cells are used.

Here is an example of a problem:
Supply voltage: 12v
7 red LEDs in series = 11.9v
Dropper resistor = 0.1v
As soon as the supply drops to 11.8v, no LEDs will be illuminated.
Example 2:
Supply voltage 12v
5 green LEDs in series @ 2.1v = 10.5v
Dropper resistor = 1.5v
The battery voltage can drop to 10.5v
Suppose the current @ 12v = 25mA.
As the voltage drops, the current will drop.
At 11.5v, the current will be 17mA
At 11v, the current will be 9mA
At 10.5v, the current will be zero

Many batteries drop 1v and still have over 80% of their energy remaining. That's why you should design your circuit to have a large HEAD VOLTAGE.

Some Basic circuits using LED


1. Polarity Tester



2. Continuity Tester



3. USB Reading Lamp

http://electronichobbyist.wordpress.com/2012/08/04/usb-reading-lamp/

Sunday, June 17, 2012

Regulated DC Power Supply Circuit

Below is the regulated DC power supply( 12, 8, 5 v) circuit. This circuit can be customized by adding 9v and 6v voltage regulator.

Also, the 4 diodes can be replaced by bridge rectifier.



If you are looking for a variable power supply then click here

Basic Power Supply Circuits - Part 2

Simplest DC power supply circuit using 78XX is shown below.



Parts

D1, D2, D3, D4 - 1N4007

IC1 - 7812

IC2 - 7805

C1 – 1000 mf

C2 – 330 mf

C3 – 10 mf

T1 - 12 v Step down transformer, 1 A.

Friday, June 15, 2012

Laptop Audio Amplifier

Laptop Audio Amplifier.

Basic Power supply circuits Part 1

To understand power supply circuits, we need to understand rectifiers.

A rectifier converts AC or alternating current to DC direct current. Rectifiers are used in Power supply circuits which we will discuss in detail.

The process of converting AC to DC is called Rectification.

Half wave rectification.

It requires only single diode. Only positive cycle of the current is passed through the diode i.e only half of the AC wave is passed and hence the name half wave.

[caption id="attachment_29" align="aligncenter" width="300"] Half wave rectifier[/caption]

Full Wave rectification

It requires 2 diodes or 4 diodes. In this both positive and negative AC cycle is passed through the diode alternatively.



Bridge Rectifier

Bridge rectifier also produces same output as full wave rectifier.



The four diodes D1-D4 are arranged in series pair with only 2 diodes conducting current during each positive half cycle.
During the positive half cycle of the supply, diode D1 and D2 conduct in series while diodes D3 and D4 are reverse biased.



During the negative half cycle of the supply, diode D3 and D4 conduct while D1 and D2 are reverse biased.



In the next article I will show how to use rectifiers to build DC power supply circuits.

Friday, March 2, 2012

Basic Electronics - 2

Passive Components

RESISTORS


To oppose the flow of electrons ( current). The symbols are shown below.

Resistance is measured in units called “Ohm”. 1000 ohms is shown as 1k ohm (103 ohm) and 1000 k ohm is shown as M.ohms (106ohm).

Resistors can be broadly of two types.

• Fixed Resistors and Variable Resistors.

Fixed Resistors:


Carbon Film (5%, 10% tolerance) and Metal Film Resistors (1%,2% tolerances) and wire wound

resistors. A fixed resistor is one for which the value of its resistance is specified and cannot be varied in general.

Resistance Value


The resistance value is displayed using the color code ( the colored bars/the colored stripes), because the average resistor is too small to have the value printed on it with numbers. The resistance value is a discrete value.

For example, the values [1], [2.2], [4.7] and [10] are used in a typical situation.

Types of Resistance



CARBON FILM RESISTORS


This is the most general purpose, cheap resistor. Usually the tolerance of the resistance value is ±5%. Power ratings of 1/8W, 1/4W and 1/2W are frequently used. The disadvantage of using carbon film resistors is that they tend to be electrically noisy.

METAL FILM RESISTORS


Metal film resistors are used when a higher tolerance (more accurate value) is needed. Nichrome(Ni-Cr) is generally used for the material of resistor. They are much more accurate in value than carbon

film resistors. They have about ±0.05% tolerance.

OTHER RESISTORS


There is another type of resistor called the wire wound resistor. A wire wound resistor is made of metal

resistance wire, and because of this, they can be manufactured to precise values. Also, high-wattage resistors can be made by using a thick wire material. Wire wound resistors cannot be used for high-frequency circuits.

Ceramic Resistor


Another type of resistor is the Ceramic resistor. These are wire wound resistors in a ceramic case, strengthened with a special cement. They have very high power ratings, from 1 or 2 watts to dozens of watts. These resistors can become extremely hot when used for high power applications, and this must be taken into account when designing the circuit.

SINGLE-IN LINE NETWORK RESISTORS


It is made with many resistors of the same value, all in one package. One side of each resistor is connected with one side of all the other resistors inside. One example of its use would be to control the current in a circuit powering many light emitting diodes (LEDs). The face value of the resistance is printed.

4S-RESISTOR NETWORK


The 4S indicates that the package contains 4 independent resistors that are not wired together inside. The housing has eight leads instead of nine.

VARIABLE RESISTORS


There are two general ways in which variable resistors are used. One is the variable resistor whose value is easily changed, like the volume adjustment of Radio. The other is semi-fixed resistor that is not meant to be adjusted by anyone but a technician. It is used to adjust the operating condition of the circuit by the technician.

Semi-fixed resistors are used to compensate for the inaccuracies of the resistors, and to fine-tune a circuit. The rotation angle of the variable resistor is usually about 300 degrees. Some variable resistors must be turned many times( multi-turn Pot) to use the whole range of resistance they offer.

This allows for very precise adjustments of their value. These are called "Potentiometers" or "Trimmer Potentiometers” or “presets”.

LIGHT DEPENDENT RESISTANCE (LDR)


Some components can change resistance value by changes in the amount of light falling on them. One type is the Cadmium Sulfide Photocell. It is a kind of resistor, whose value depends on the amount of light falling on it. When in darkness its resistance if very large and as more and more light falls on it its resistance becomes smaller and smaller.

There are many types of these devices. They vary according to light sensitivity, size,  resistance value etc.

THERMISTOR


They are thermally sensitive resistor. The resistance value of the thermistor changes according to temperature. They are used as a temperature sensor. There are generally two types of thermistors, with Negative Temperature Coefficient(NTC) Positive Temperature Coefficient(PTC). The resistance of NTC thermistors decreases on heating while that of PTC thermistors increases.

ELECTRIC POWER RATING


For example, to power a 3V circuit using a 12V supply, using only a resistor, then we need to calculate the power rating of the resistor as well as the resistance value. The current consumed by the 5V circuit needs to be known.

Assume the current consumed is 250 mA (milliamps) in the above example. That means 9V (=12-3 V) must be dropped with the resistor. The resistance value of the resistor becomes 9V / 0.25A = 36(ohm).

The consumption of electric power for this resistor becomes 0.25A x 0.25A x 36ohm = 2.25W. Thus the selection of resistors depends on two factors namely tolerance and electric power ratings.

OHM’S LAW


Important and useful law.The current(I) flowing through a conductor is proportional to the voltage (V) applied across its ends. This can be written in algebraic form as V ∝ I Or V = IR where R is the proportionality constant. R is called Resistance and is measured in ‘Ohms’ ( Ω ).

Usually resistors are also specified in circuits in kilo Ohms(kΩ) and Mega Ohms(MΩ). The other useful relationships are V = RI, and R=V/I.

Saturday, February 18, 2012

Basic Electronics - 1

Introduction

Electronic component can be divided into 2 types: Active and Passive components

Resistors and Capacitors etc. are known as passive components because they can only attenuate the electrical voltage and signals and cannot amplify.

Devices like transistors and operational amplifier(op Amps)can amplify or increase the amplitude and energy associated with the signals and so are termed as Active components.

Apart from components and circuits we must also have familiarity with some of the essential electronic measuring instruments like multimeter, regulated power supplies, function generators and oscilloscopes etc.