Jump to content
 

2 Bi-Colour LEDs in parallel: One only works while the other is shorted.


Recommended Posts

I'm wiring up a pair of bi-colour LEDs to use in lamps. I know it's not technically correct but I want the LEDs to show red or white depending on the direction of travel, regardless of whether the loco is running light engine.

 

I'm using a remote control system which has two outputs - when the loco is in forward, the orange wire is at +3v and the green wire is at 0v. When in reverse, the opposite is true.

 

image.png.5aac94263c52f34fa025f801a33cdf85.png

 

This is what is expected to happen.

 

What I am ACTUALLY getting though, is nothing at all unless I short out the contacts on the opposite LED. Both LEDs work as expected individually, changing colour as required, etc. when the other is shorted, but not together simultaneously.

 

I feel like this is a really obvious fix but my brain just can't work it out - can anyone help please?

Link to post
Share on other sites

  • RMweb Premium

You have wired them in series, in opposing directions. LEDs are diodes so they block reverse current, so if you wire two opposed in series then no current will get though.

I think you meant to wire them in parallel. Join a long leg to a short leg on each side.

 

Don't forget the resistor!

Link to post
Share on other sites

8 minutes ago, Lacathedrale said:

I feel like this is a really obvious fix but my brain just can't work it out - can anyone help please?

 

LEDs only conduct in one direction and the only electrical path that you have between Green and Orange passes through both one in the correct direction and the other in the opposite direction.  As such, I'm not surprised that it doesn't work if you've wired it as per your diagram.

 

I think you need to get rid of the blue wires and make sure that both LEDs are connected to both Orange and Green directly.

  • Agree 2
Link to post
Share on other sites

Posted (edited)

Resistor is there @Mol_PMB ! 330R

 

I see my mistake now thank you both @Dungrange, so now I have both LEDs connected to the orange/green  (orange to LED1 cathode and LED2 anode, and vice versa) and I'm getting the most peculiar result:

 

The red comes on and can be toggled between LEDs by direction switch, but the white doesn't come on at all. I'm getting 1.5v across the legs of the unlit LED (as expected, splitting 3v)

 

If I swap the wires over on one LED then I get both lights changing from white to red depending on the direction switch.

 

Am I being thick!?

Edited by Lacathedrale
Link to post
Share on other sites

Are these the type of bi-colour LEDs which change colour with reverse current?  If so the circuit as drawn should work but would need more than 3V (it would need at least the total of the red and white voltage drops).  

 

I suggest you wire them in parallel but put a separate resistor in series with each LED.  

Link to post
Share on other sites

  • RMweb Gold

Do you have two resistors? Put one in series with each LED and the both resistor/led pairs in parallel. Then it will work as you want

 

Andi

Link to post
Share on other sites

Posted (edited)

The red will swamp the white unless you use separate resistors of appropriate value. The simple way is to use 3-legged bi-colours leds making sure they are positive common anode if for DCC use.

Edit as above - senior moment, brain failure.

Edited by RAF96
To correct error.
Link to post
Share on other sites

  • RMweb Premium
Posted (edited)
2 hours ago, RAF96 said:

The red will swamp the white unless you use separate resistors of appropriate value. The simple way is to use 3-legged bi-colours leds making sure they are positive anode if for DCC use.

For the avoidance of doubt, I think you mean common anode?

Edited by spamcan61
Link to post
Share on other sites

Posted (edited)

@Dagworth they are currently in parallel:

 

image.png.695ceb7228f9825fee1338b6289801e9.png

 

Although, I wonder if I need to move the LEDs to be on the cathode side of the wire join? I can't see how that would matter though!

 

EDIT: I moved the resistors to the supply-side of the join and it seems to work fine now - my brain hurts.

Edited by Lacathedrale
Link to post
Share on other sites

  • RMweb Premium

Each LED sees both resistors in series in your last drawing, which almost certainly isn't what you intended.

 

In your first post you wrote:

19 hours ago, Lacathedrale said:

Both LEDs work as expected individually, changing colour as required, etc. when the other is shorted, but not together simultaneously.

Did you have any resistors in circuit then? If not, then I suggest you remove the resistors in your latest circuit and see if this gives you enough voltage to power the white LEDs (or perhaps first remove one resistor, then if that doesn't work, remove the second one)

 

What voltage does the supplier recommend? Do they say anything about resistors?

 

The trouble with these two-leg dual colour LEDs is that you can't add separate resistors to the individual LEDs in each pair, which might be a problem if there is a large mismatch between the two colours. In fact, your original idea of connecting them in series wasn't a bad one, since the circuit would then always contain one red LED in series with one white LED, but you'd probably need something like a 5V power supply to drive it.

Link to post
Share on other sites

The solution is to wire them in parallel with one forward biased (for red) and the other reverses biased (for red). They should be controlled by a DPDT switch, which appears to be the case (OP: 'I'm using a remote control system which has two outputs - when the loco is in forward, the orange wire is at +3v and the green wire is at 0v. When in reverse, the opposite is true' so it looks like some sort of DPDT switch is already in circuit). Given that the voltage is 3v then there might not be a requirement for any resistor.

 

bi-colourLEDs.png.25b11884485afbcd64b7e26d85d0b2ba.png

The only 2 lead Red-White bi-colour LEDs I have been able to find on the web run at 12v, presumably because they have some sort of voltage dropping device built in. Do you have a any technical specification for the particular bi-colour LED you are using or a link to the supplier's site?

Link to post
Share on other sites

43 minutes ago, MartinRS said:

The solution is to wire them in parallel with one forward biased (for red) and the other reverses biased (for red). They should be controlled by a DPDT switch, which appears to be the case (OP: 'I'm using a remote control system which has two outputs - when the loco is in forward, the orange wire is at +3v and the green wire is at 0v. When in reverse, the opposite is true' so it looks like some sort of DPDT switch is already in circuit). Given that the voltage is 3v then there might not be a requirement for any resistor.

 

bi-colourLEDs.png.25b11884485afbcd64b7e26d85d0b2ba.png

The only 2 lead Red-White bi-colour LEDs I have been able to find on the web run at 12v, presumably because they have some sort of voltage dropping device built in. Do you have a any technical specification for the particular bi-colour LED you are using or a link to the supplier's site?

I think that will result in just the red lighting up, as it will light at a lower voltage than the white and prevent the voltage rising any higher. You need a resistor in series with each LED to deal with that (between one side of the LED and the connection to the blue wire).  

  • Agree 1
Link to post
Share on other sites

  • RMweb Gold

This is what it needs to be, one resistor in series with each LED and the each resistor/LED pair in parallel.

image.png.695ceb7228f9825fee1338b6289801e9.png.738df29ce400fd58c1058ab7ea1d88e0.png

This prevents the lower voltage requirement of one colour from preventing the higher voltage colour reaching the voltage it needs.

 

Andi

 

Link to post
Share on other sites

What you did originally would work with a bit more voltage.  If you have 6V available (rather than 3V) and a 40R resistor in series you will probably find that it will work.

  • Agree 1
Link to post
Share on other sites

You are using the wrong sort of Bi-colour LED. You need to use a three legged type so that you can tune each colour to the intensity you want. Also you ALWAYS need a resistor in series. It's there to limit current as well as drop voltage.

Link to post
Share on other sites

This is what happens when the OP is left open to interpretation.

 

Do you really mean two bi-colour LEDs or do you mean a red one and a white one?

 

Either way, 3V is not enough and one LED is always reverse biassed so no current will flow.

 

If they are bicolour LEDs that need 12 V then it will never work, unless you can arrange a higher supply voltage.

 

If they are individual LEDS then the crucial point is that the LEDs need to be connected in "reverse parallel" anode-cathode and cathode-anode.

 

One will light and the other will be reverse biased and will do nothing.

 

There is no problem with them having different forward voltages, and one preventing the other from working. The Vf of the both is less than the max reverse voltage of the other.

 

MartinRS has it, but omitted the resistors.

 

Dagworth almost gets the prize, except you will almost certainly want to use different resistors for each LED, due to the different Vf.

 

The final problem is that 3V is on the low side for a typical white LED.

  • Like 2
  • Agree 1
Link to post
Share on other sites

  • RMweb Gold
6 hours ago, Crosland said:

Dagworth almost gets the prize, except you will almost certainly want to use different resistors for each LED, due to the different Vf.

I took it as being a pair of red/white bicolours.

 

Andi

  • Agree 1
Link to post
Share on other sites

  • RMweb Premium
Posted (edited)
33 minutes ago, Dagworth said:

I took it as being a pair of red/white bicolours.

 

Andi

So did I. In which case you have two pairs of inversely connected LEDs

Edited by melmerby
Link to post
Share on other sites

I mean two bi-colour LEDs, - I already updated to say that switching the resistors to the cathode side of each split feed resulted in success.

 

the red/white colours in my diagram were just illustrative.

 

Link to post
Share on other sites

On 04/07/2024 at 12:00, spamcan61 said:

For the avoidance of doubt, I think you mean common anode?

Brain fade - yes of course it should be common. I will amend my. post accordingly.

Link to post
Share on other sites

On 06/07/2024 at 13:35, Lacathedrale said:

I mean two bi-colour LEDs, - I already updated to say that switching the resistors to the cathode side of each split feed resulted in success.

 

the red/white colours in my diagram were just illustrative.

 

 

Something like these https://www.rapidonline.com/truopto-osrwp23132a-3mm-red-white-bi-colour-led-2-pin-diffused-76-0018 ?

 

Note that the forward voltage for the white is 3.1V.

 

Your wiring diagram is correct, apart from lacking a current limiting resistor, with a red and a white in series in each direction. The problem is your 3V supply. If you short out the red in one, the white in the other may light but when the red is in series as well, the supply voltage is too low.

 

 

Link to post
Share on other sites

16 minutes ago, Crosland said:

 

Something like these https://www.rapidonline.com/truopto-osrwp23132a-3mm-red-white-bi-colour-led-2-pin-diffused-76-0018 ?

 

Note that the forward voltage for the white is 3.1V.

 

Your wiring diagram is correct, apart from lacking a current limiting resistor, with a red and a white in series in each direction. The problem is your 3V supply. If you short out the red in one, the white in the other may light but when the red is in series as well, the supply voltage is too low.

 

 

The OP posted a diagram last Thursday at 13:59  (edited) and reports that the problem is solved, something I missed.

  • Like 1
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...