Hi Russ,
The transistors are still working.
With this circuit the LEDs are always ON.
NPN BC546
http://www.fairchildsemi.com/ds/BC/BC546.pdf
PNP BC558
http://www.fairchildsemi.com/ds/BC/BC558.pdf
Best regards,
Luciano
Hi Russ,
The transistors are still working.
With this circuit the LEDs are always ON.
NPN BC546
http://www.fairchildsemi.com/ds/BC/BC546.pdf
PNP BC558
http://www.fairchildsemi.com/ds/BC/BC558.pdf
Best regards,
Luciano
Hi Russ,
My interest was to find a solution for the LEDs board that Roger has already made.
If there is no solution for the original LED board, then a new board with I/O port
expanders ICs + transistors is in my opinion the way to go.
(One I/O + 1 transistor for each 50mA LED). That way all the LEDs can be
ON at the same time and each LED can be individually controlled.
Best regards,
Luciano
Well, that's good news!
If you have a few extra minutes, try the circuit this way:
<IMG SRC="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=1992&stc=1&d=118928211 2">
Let us know how that comes out. You may want to tinker with the values for Rcl, maybe starting with something between 100 and 150 ohms.
Do you have some small-signal P-channel and N-channel MOSFETs laying around?
Last edited by RussMartin; - 8th September 2007 at 21:33.
Russ
N0EVC, xWB6ONT, xWN6ONT
"Easy to use" is easy to say.
Scratch this post.
Last edited by RussMartin; - 8th September 2007 at 21:54.
Russ
N0EVC, xWB6ONT, xWN6ONT
"Easy to use" is easy to say.
Hi Russ,
These are the test results. I have used the old transistors
and also new transitors but the results are the same. The
picture below is with the new transistors.
The picture shows the two LEDs ON with about 25% luminous intensity.
Best regards,
Luciano
Hi,
With the circuits we are exploring here, the two LEDs are turned OFF by setting
the I/O of the PIC as input. (Input tristated). When the I/O is set as input,
the voltage present on the I/O pin must be recognized as logic LOW or as a
logic HIGH. Undefined voltage levels are dangerous for the input buffer of the I/O.
Floating inputs on digital pins are a no-no.
Best regards,
Luciano
Thanks for an excellent result! (And the photo!) And thanks for bearing with me . . . I'm doing this on paper, not on a breadboard. I don't know what your LEDs are, so I'm having to guess at the Vf (I'm using 1.6 V) and assuming an If of 20 mA.
If you please, try increasing both Rcl's each by the same amount until the LEDs just go out, then test high and low at Rb again.
I appreciate your concern about floating inputs, but we can deal with that next. (I have something in mind.)
Last edited by RussMartin; - 9th September 2007 at 00:39.
Russ
N0EVC, xWB6ONT, xWN6ONT
"Easy to use" is easy to say.
Just to throw a little confusion in the mix, .... how bout ....
<table border=1><tr><td><img src="http://picbasic.co.uk/forum/attachment.php?attachmentid=1994&stc=1&d=118930280 7"></td><td>
Or, it may need a normal NPN
<img src="http://picbasic.co.uk/forum/attachment.php?attachmentid=1995&stc=1&d=118930343 1"></td></tr></table>
Also just on paper
<br>
Last edited by Darrel Taylor; - 9th September 2007 at 03:06. Reason: Normal NPN
DT
Bookmarks