Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 11th September 2008, 05:14 PM   (permalink)
Default Current limiting resistor for led on 7408 gate output

I am building a 2 to 4 decoder with 7408 And gates and need to put LED's on the output as indicators, active high. 2 questions

1. Would I put a current limiting resistor in series with the LED to ground or put the resistor and LED from the gate output to Vcc?

2. The LED draws 30mA at 2V, would I use the worst case Vo of the gate to calculate the required R value?

Thanks
Ald is offline  
Old 11th September 2008, 07:19 PM   (permalink)
Default

If you read the 7408 data sheet (I realize that's asking a lot) it shows that the maximum low (sink) output current is 16mA at 0.4V output voltage and the maximum high (source) output current is only 0.4mA. Thus you would need to connect the diode to the +5V and the maximum diode current would be 16ma. The series resistor required is (5-0.4-2)/16mA=162 ohms (use 170-180 ohms for margin).

This connection lights the LED when the gate output is low which is opposite to what you want. To invert the signal you could use a 7400 Nand gate which has a low output when both inputs are high. If you need a high output for other purposes you could add a 7405 inverter at each output.

If you want to operate the LED with 30mA then you could use a 7406 buffer/ inverter at each AND gates output to drive the LED. The 7406 can sink 40mA maximum.
__________________
Carl
crutschow is offline  
Old 12th September 2008, 01:41 AM   (permalink)
Default

Use a small power transistor with a low base current to be controlled by the ICs output. Connecting an LED with or without current limiting resistor will cause problems if the output signal is used to control other IC-inputs.

A BC547 will do the job nicely.

Boncuk
__________________
Proper Planning Prevents Piss Poor Performance
Boncuk is offline  
Old 12th September 2008, 06:16 PM   (permalink)
Default

To confuse matters, it turns out I need to have active high outputs.

I only have available a 7410 Nand (I need 3 inputs) I was going to place a 7404 inverter (all I have available) on the output to get active high output.

I would like the LED to light up when output is High. Circuits are a 2 to 4 and 3 to 8 decoder.

How will the inverter change anything in terms of driving the led's?
Ald is offline  
Old 12th September 2008, 06:34 PM   (permalink)
Default

You can drive the LEDs as well as the 7404 inverter from the Nand output. Standard TTL outputs will sink a maximum of 16mA. The 7404 input will require 1.6mA, thus leaving about 14mA to drive the LEDs. Will that be bright enough for your requirement?
__________________
Carl
crutschow is offline  
Old 12th September 2008, 07:14 PM   (permalink)
Default

So will I put the diode/resistor branch on the output of the inverter to Vcc? I want to LED to light when the output is high.

Also I only have 150 or 200 ohm resistors available, which side should I error on?

I think I was able to attach an image of the circuit?
Attached Images
File Type: jpg 301 Lab 3 2_to_4 Decoder Landscape 3.jpg (40.8 KB, 6 views)
Ald is offline  
Old 12th September 2008, 07:43 PM   (permalink)
Default

Quote:
Originally Posted by Ald View Post
So will I put the diode/resistor branch on the output of the inverter to Vcc? I want to LED to light when the output is high.
No. If you connect the LEDs to the inverter outputs as you show, then they will light when the inverter's output is low. When the output is high there's no voltage across the diodes and thus no current flows.

If you want the diodes to light when the inverter output is high, then you need to connect them to the Nand output (inverter input). That way when the Nand gate is low (inverter output high) there will be voltage across the diode and it's resistor, and the diode will light.
Quote:
Originally Posted by Ald View Post
Also I only have 150 or 200 ohm resistors available, which side should I error on?
If you have only those two resistor values available, use the 200 ohm. It will give about 13-14mA though the LED when on.
__________________
Carl
crutschow is offline  
Old 12th September 2008, 07:59 PM   (permalink)
Default

Thanks a lot for your help, you've taught me a lot.
Ald is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Need for current limiting resistor with LED? ghall426 Electronic Projects Design/Ideas/Reviews 6 18th December 2006 06:52 PM
Limiting current output DSGarcia Electronic Projects Design/Ideas/Reviews 17 11th November 2006 09:11 PM
Current limiting resistor zachtheterrible General Electronics Chat 12 25th May 2006 03:16 AM
Driving LED without current limiting resistor eblc1388 Micro Controllers 11 12th June 2005 08:14 AM
Current limiting resistor for LEDs. RayH General Electronics Chat 16 20th April 2005 10:44 AM



All times are GMT. The time now is 01:47 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker