Elektrik

  • Home
  • Privacy Policy
  • About
  • Related

Tuesday, 7 July 2015

Bipolar LED Driver Circuit

 dvbot     00:22     Bipolar LED, LED, LED circuit, LED driver     No comments   

A Bi color LED is a special type of LED consists of two diodes connected in inverse direction to each other inside a package. A bi color LED generally consists of three terminals- a common pin and two separate pins. 


 
The common pin can be connected to ground if it is a common anode LED or connected to +5V supply, if it is a common cathode. However there is another type of bi color LED with two terminals. The device functions as per the positive signal given to one of the terminals. For instance for a green and red bi color LED, a positive signal at the green terminal and negative signal at red terminal ensures the green LED to be forward biased and red LED to be reverse biased. This causes the green light to flash. Same is the case for the red LED. However if both the terminals are given negative signals, neither of the diodes would conduct and the device would remain off.  If positive signal is applied to both the terminals, a different color, based on the combination of the LED colors, would flash.

Here, we are designing a simple bi color LED driver circuit using a Microcontroller. The LED used here has a forward voltage drop of 2.2V and hence can be biased using a 5V supply. The control is done by the microcontroller program, based on the inputs given from two push buttons.

Principle Behind Bi-Polar LED Driver Circuit:

The circuit uses a microcontroller to drive the bipolar LED. The input command is given from the three push buttons and based on the inputs; the microcontroller is accordingly programmed to send appropriate signals to the two output pins. These output pins are connected to the terminals of the bi-polar LED.

Bipolar LED Driver Circuit Diagram:


 Bipolar LED Driver Circuit Design:

It is a simple circuit and the design mainly involves designing the interfacing of Microcontroller, designing the oscillator and reset circuits for the microcontroller and selection of the LED resistor.
The microcontroller interfacing is accomplished by connecting two push button switches to port P1 and connecting the two terminals of bi color LED to port P2.
The oscillator design is done by selecting two 10pF ceramic capacitors in order to provide stability. The clock signal is generated using an 11MHz Crystal Oscillator. The reset circuit is designed by selecting an electrolyte capacitor of 10uF and a resistor of 10K to achieve a reset pulse width of 100ms. The voltage drop across the resistor is kept around 1.2V.
The first part of design involves writing the code for the microcontroller. This involves the following steps.
  1. Create a new project in the Keil window.
  2. Select the target device for the project. Here we select AT89C51 from Atmel.
  3. Create a new file such that a blank text field appears.
  4. Write the code. The code is written, keeping in mind the following algorithm,
  5. Assign a variable to the input and output port.
  6. Check if one of the inputs is active low.
  7. In case one of the inputs is at logic low, assign a logic high signal to one of the LED terminals.
  8. In case none are at logic low, make sure the LED is switched off.
  9. Save the code with .c extension.
  10. Add the code to the source folder under target folder.
  11. Create a Hex file by clicking the ‘Configure Flash Tools’ under ‘Flash’ menu.
The second part involves drawing the circuit on simulation software. Here we use Proteus. The circuit is drawn based on the design method described above.

The third part involves simulating the circuit. This is done by first adding the hex file to the microcontroller and then clicking on the run button.

Working of Bipolar LED Driver Circuit

Once the circuit is switched on, the microcontroller continuously scans the input pins at port P1. Suppose the first button is pressed, the microcontroller receives a low logic signal at the corresponding input pin and accordingly the compiler assigns a high logic signal to pin P0.0 and low logic signal to pin P0.1. This causes the red light of the LED to glow.
Now when the second button is pressed, the compiler will accordingly assign a low logic signal to the pin P0.0 and a high logic signal to pin P0.1. This causes the green light to glow. On pressing the third button, low logic signals will be assigned to both the output pins and the LED will be switched off. In the meanwhile a low logic signal is always given to the common pin.

Bipolar LED Driver Applications:

  1. This circuit can be used for indication purposes.
  2. This circuit can be used at applications where flashing of light is required, as in beacon flashing.
Limitations of Bipolar LED Driver Circuit:
  1. This is a theoretical circuit and may require changes for practical implementations.
  2. Most of the bi color LEDs requires higher supply voltage than 5V because of their higher forward voltage rate and this circuit only provides 5V supply voltage to the LED.
  3. The LED resistor provides a voltage drop which decreases the biasing voltage of the LED.
  
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Email ThisBlogThis!Share to XShare to Facebook
Newer Post Older Post Home

0 comments:

Post a Comment

Popular Posts

  • Simple +-400Watt Amplifier using TDA7294 or TDA7293 + Power Transistors 2SC5200 and 2SA1943
    This additional part can be added to the traditional chip amp made using TDA7294 or TDA7293 to gain extra power in output. The traditional c...
  • Audio Amplifier - 2N3055 MJ2955
    Here is A amplifier with 2n3055 transistors on its output for those of you that are looking at doing a bang for buck amplifier with all tho...
  • Stun Gun Circuit Diagram using 555 timer IC
    CAUTION: Before going to explain about this circuit, we are going to strictly suggest that DO NOT TRY TO IMPLEMENT IT PRACTICALLY AS IT PR...
  • A simple 12V battery charger schematic using LM317
    This is a simple 12Volt Battery Charger Circuit which can be made using less components. This circuit can be modified using the formulas giv...
  • Simple 3 Watt and 5 Watt LED Driver Circuit Using IC 338
    The IC LM338 as we probably are aware, is a profoundly adaptable gadget with regards to controlling voltages and current levels. In the pres...
  • Lead Acid Battery Charger Circuit
    To successfully charge a battery, it should be supplied with DC current and not AC. This circuit shows how you can use DC voltage to regulat...
  • Simple 150 Watt amplifier circuit using transistors
    This is the cheapest 150 Watt amplifier circuit you can make,I think.Based on two Darlington power transistors TIP 142 and TIP 147 ,this c...
  • How to easily repair Momentary Switches used in boats
    Momentary switches make generators and motors begin at the push of a catch. In any case, when they don't begin, consider the switch as o...
  • Simple Car Audio Amplifier Circuit
    A straightforward low power car stereo amplifier circuit taking into account TDA 2003 is showed here. The circuit utilizes low cost, promptl...
  • All the new content will be added to new blog - http://elektriktech.blogspot.com/
    Please visit the new blog http://elektriktech.blogspot.com/ for new content. Apologies for the inconvenience.     http://elektrikte...

Pages

  • Home

Blog Archive

  • ►  2016 (2)
    • ►  August (2)
  • ▼  2015 (23)
    • ►  December (1)
    • ►  November (2)
    • ►  October (2)
    • ►  September (2)
    • ►  August (4)
    • ▼  July (10)
      • Audio Clipping Peak Indicator using IC TL062
      • How to make a 2 Watt audio amplifier from discrete...
      • How to make your own simple 5pf Capacitor
      • Simple 150 Watt amplifier circuit using transistors
      • A Simple Day Light Sensor Circuit using cheap comp...
      • Cheapest High power LED driver circuit schematic
      • Simple and Cheap 100W Inverter Circuit
      • Lead Acid Battery Charger Circuit
      • Bipolar LED Driver Circuit
      • Simple audio amplifier using LM386.
    • ►  June (2)
  • ►  2013 (1)
    • ►  July (1)
  • ►  2011 (3)
    • ►  August (3)

Dear Visitor

Please visit the new blog http://elektriktech.blogspot.com/ for latest and updated content.

Contact Form

Name

Email *

Message *

About Me

dvbot
View my complete profile

UPDATE!

Please visit the new blog http://elektriktech.blogspot.com/ for all new contents.

Translate

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © Elektrik
Distributed By My Blogger Themes | Blogger Theme By NewBloggerThemes