Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

USB interface with leds

Status
Not open for further replies.
It is an opamp (operational amplifier), check post #16
R1=5K ohm
R2=1K ohm
R3=10 ohm
and the LED resistors are 1 ohm (other values can be used too), these resistors are used there to ensure that the current is equally shared between the leds, not to limit the current.
The current that will go to the leds is 80mA so if it is shared equally to 8 leds each one will get 10mA, if you want more or less then R1/R2 or R3 have to be changed.

Alex
 

right,
so, the opamp has a specific value, like ohms or something, or I just buy a 8 pin one?
how about the pot, is it ok to use a 10k pot?
 

A 10K pow will work fine, connect the two ends to +5v and gnd so that the center tap gives 0-5v depending on the position.
The opamp in an integrated circuit , it is described by a model number , the one I have used is LM358 (**broken link removed**) which is cheap enough and is widely available but many others can be used.

The transistor I have used is BD139 but you can use a much smaller one like 2n2222 because the powers consumption on the transistor will be very low (less than 1/4 watt)

Alex
 

right, the transistor. I thought it was the potentiometer in the scheme, misunderstood the symbol.

where'd u put the pot in the scheme?
 

I have made you a new schematic to see the components better

led_constant-current2.gif
I have also added R11

Alex
 

right, thanks. I got a BD139 instead of the 2n2222a, any problems?
also am I really going to need the R11?
 

You can use BD139 or any other available NPN transistor without problem
You can remove R11, the circuit will work fine.

Alex
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top