![]() |
![]() |
![]() |
|
|
|||||||
| General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion? |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
|
|
|
|
|
|
|
(permalink) |
|
Hi,
Both the schematics are correct. The first one turns the LEDs on when the base is driven low while the second one turns the LEDs on when the base is driven high, i.e. when the transistor is turned on. You can increase the number of LED, provided that the voltage drop of the LEDs are not higher or equal than the supply voltage. The supply voltage must be higher than the total series voltage drop of the LED. What color of LED are you using? Different color LED has different voltage drop. You can put them in parallel too. Something like, a few parallel of series pairs. *EDIT: The load is on the collector usually, so the answer is yes
__________________
Superman returns..
Last edited by bananasiong; 4th July 2008 at 01:54 PM. |
|
|
|
|
|
|
(permalink) |
|
thank you bananasiong,
i tested that schematics. but when i used two LEDs (serial or parallel), the intensity of LEDs was low. so i can't use some LEDs in serial or parallel. another question: in my project, i have used PIC16F84 and 12 LEDs. colors of LEDs are various such as blue, green or red (for example 6 blue, 4 red, 2 green). for estability of voltag i've used regulator 7805. my question is, what do you prefer about connecting LEDs to forward of regulator (12LED * 30mA = 360mA) or backward of regulator (that i have 14V)? |
|
|
|
|
|
|
(permalink) | |
|
Hi,
For series connection, assume the voltage drop for each LED is 1.8 V. So 3.6 V for 2 LEDs. If the supply voltage is 5 V, the voltage across the resistor is 1.4 V. Ohms law, 1.4 V/330 I don't get these: Quote:
__________________
Superman returns..
|
||
|
|
|
|
|
(permalink) |
|
schematic of my project is:
![]() i have used 12 LEDs that connects to each pin of PIC seperatly. you think that wich of thees is better? 1) as you see in the schematic picture i connect anode of LEDs to VCC (5 volt) or node2. 2) or i connect anode of LEDs to 12 volt (node1) if i connect anode of each LEDs to 12 volt and voltag drop of 1.8v, the voltage across the resistor is 10.2v. so 10.2/330=30mA i think if i connect each colector to 12v the intensity and brightnes are higer. what you think so? |
|
|
|
|
|
|
(permalink) |
|
Hi,
For driving only the LED, transistor is not needed. The PIC is capable of sourcing 25 mA on each output pin. Just connect the LED directly via a resistor.
__________________
Superman returns..
|
|
|
|
|
|
|
(permalink) |
|
if i eliminate transistors and driving LEDs with PIC, won't Regulator overhit ?
|
|
|
|
|
|
|
(permalink) |
|
No Becuse the transistors are still coneted to the regulator output and this will use the same if not more curent than directly powering them from the pic. and the regulator will not get hot
Last edited by matk95; 4th July 2008 at 05:16 PM. |
|
|
|
|
|
|
(permalink) |
|
The PIC will burn out in your original circuit because the max allowed current from a PIC output is 25mA but without current-limiting resistors the current into the base of each transistor will try to be 60mA and the PIC will overheat.
With an output current into an LED of 25mA an output from a PIC will have about a 1V loss.
__________________
Uncle $crooge Last edited by audioguru; 4th July 2008 at 11:50 PM. |
|
|
|
|
|
|
(permalink) |
|
Hi,
The maximum allowed current for each pin of the PIC is 25 mA, but according to the datasheet, if the whole PORT is used for sourcing or sinking, 200 mA is shared by 2 PORTs, so average each pin sources or sinks around 12.5 mA. That is still enough for the LED.
__________________
Superman returns..
|
|
|
|
|
|
|
(permalink) |
|
|
|
|
|
|
|
|
(permalink) |
|
I thought AudioGuru suggested you put current limit resistors on the bases of your transistors. Maybe I was wrong.
|
|
|
|
|
|
|
(permalink) |
|
If you don't use current-limiting resistors in series with the base of each transistor (the transistors are not needed) then the micro-controller will burn up and die.
__________________
Uncle $crooge |
|
|
|
|
|
|
(permalink) |
|
What about using a couple of ULN2803's?
__________________
Spency. PIC Micro's - Your mind is the limit PIC's and interfacing with other devices - a PIC Basic Guide @ digital-diy.net |
|
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| collector output | sreeram_kasyapa | General Electronics Chat | 5 | 2nd May 2006 11:56 AM |
| Open collector concept. | tkvenki | Electronic Projects Design/Ideas/Reviews | 2 | 3rd April 2006 09:44 AM |
| Commom-Collector saturation | patroclus | General Electronics Chat | 8 | 3rd February 2006 08:27 AM |
| open collector | jcaluma | General Electronics Chat | 1 | 6th May 2004 10:16 PM |
| open collector | blibala | General Electronics Chat | 9 | 4th December 2003 10:23 PM |