2 LEDs and one pin left


Closed Thread
Results 1 to 40 of 54

Hybrid View

  1. #1
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    704


    Did you find this post helpful? Yes | No

    Default

    Yes, after I posted that attachment I realized it was wrong. The correct value for the resistors should be between 100 and 330 ohms depending on the brightness that you want. I'm sorry for the confusion.

    Robert
    "No one is completely worthless. They can always serve as a bad example."

    Anonymous

  2. #2
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    I am using this technique with 6K8 resistors on 3.1V/1500mcd LEDs.
    Vdd is 5.0V.

    I am using one pin to simulate TX and RX transmission with two LEDs inside Hserin and Hserout routines.
    The light level is more than good enough for the purpose.
    I am %100 satisfied with the result.

    __________________________
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  3. #3
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869


    Did you find this post helpful? Yes | No

    Default did some tests today

    here was the setup:

    5Vdc->R1->2.2vF LED->1.9vF LED->R2->GND
    R1=R2
    first tried 240 ohm, Great brightness for each, pretty bright with no input
    next up 1K, simular results just dimmer
    last 4.7K, No real output for off, bright enough to see with input, but not really enough for an indicator in this app.

    So my opinion is everybody in this thread is correct in some respect.

    I feel like the best solution is to use a 3.3V supply. that way there is NO way to light both, and each can be nice and bright. Now, question for the masses: can we use a voltage divider to get this 3.3 from 5? This seems to me to be the least costly answer. Just 2 resistors and off we go. Hang a resistor inline with the signal pin and life is good. My perticular application will have 6 sets of LED's so if 1 from each set were on at once, could be 120mA.droping 1.7 volts, that would be 1.7*.12=.2W. That part doesn't seem too bad. Of course they could be strobed so there would never be more than 1 on at a time, then it would be 1.7*.02=.034W
    -Bert

    The glass is not half full or half empty, Its twice as big as needed for the job!

    http://foamcasualty.com/ - Warbird R/C scratch building with foam!

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    can we use a voltage divider to get this 3.3 from 5?
    And run the whole thing? Nope.

    Using 5 volts with 470 resistors the thing I posted works fine.
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869


    Did you find this post helpful? Yes | No

    Default well its my DOH!!

    Dave thank you! I actually intended to hook it up this way, but somewhere between yesterday and today I got myself turned around. I even drew it up this way in my schmatic. double DOH! So 470 both sides, makes sense to me!

    Prolly the only size sips I didn't order.
    -Bert

    The glass is not half full or half empty, Its twice as big as needed for the job!

    http://foamcasualty.com/ - Warbird R/C scratch building with foam!

  6. #6
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    I want to get a better idea of how these LED circuits will work.

    So let's take a look at how the DOH! circuit will perform ...

    <OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" WIDTH="820" HEIGHT="620" ><PARAM NAME="MOVIE" VALUE="http://www.pbpgroup.com\files\2LED\LED-470.swf"><PARAM NAME="PLAY" VALUE="true"><PARAM NAME="LOOP" VALUE="true"><PARAM NAME="QUALITY" VALUE="high"><EMBED SRC="http://www.pbpgroup.com\files\2LED\LED-470.swf" WIDTH="820" HEIGHT="620" PLAY="true" LOOP="true" WMODE="opaque" QUALITY="high" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>


    It's more significant since you will be using 3 sets of 2-LEDs.
    DT

  7. #7
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    cncmachineguy, The only problem with this circuit arrangement is there will always be current flowing in the circuit even if the LED's are supposedly off...

    Dave Purola,
    N8NTA

  8. #8
    Join Date
    Aug 2008
    Location
    Portugal
    Posts
    240


    Did you find this post helpful? Yes | No

    Default Flash Animations form Proteus

    Quote Originally Posted by Darrel Taylor View Post

    <OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" WIDTH="820" HEIGHT="620" ><PARAM NAME="MOVIE" VALUE="http://www.pbpgroup.com\files\2LED\LED-470.swf"><PARAM NAME="PLAY" VALUE="true"><PARAM NAME="LOOP" VALUE="true"><PARAM NAME="QUALITY" VALUE="high"><EMBED SRC="http://www.pbpgroup.com\files\2LED\LED-470.swf" WIDTH="820" HEIGHT="620" PLAY="true" LOOP="true" WMODE="opaque" QUALITY="high" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>

    Hi, everyone;

    Can somebody teach me how to do this flash animations, from Proteus?
    I have the Proteus 7.7 SP2.

    Thanks in advance
    Thanks and Regards;
    Gadelhas

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts