leds And resistors

Showing my ignorance again...

I know a resistor is necessary to protect LEDs from blowing. However I noticed on my breadboard that the resistor I was using made other LEDs further down the line much dimmer.

Is this normal and is there a way to get around it? Should I not be using different rated LEDs on the same circuit perhaps?

We don't know how the circuit is wired. We don't know the values of the resistors. We don't know the types of LEDs. Without more information, I don't see how we can give an intelligent answer. It does not sound normal. How to fix it depends on what it is supposed to do. We don't know that, either.

Hi, What are you using as a power supply? Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?

Can you post a picture of your circuit layout please?

Thanks.. Tom.. :)

Ok yes apologies for all the above.

I have one green “traditional” led that it was suggested I use a 400-1000 ohm resistor in line with to protect. I’m using a 1k resistor. Sorry I don’t have the ma rating for the led but I do remember the resistor suggestion accurately. I’m really just using it as an indicator to show thepower is on.

Further down the line are 8 ws2812b LEDs, wired onto individual breadboard breakers. It is these that appear dimmer than before I put the green led and resistor in.

Power is 5v, coming from an Arduino Trinket which is itself powered by @ rechargeable battery pack (like a phone charger). I’ve also used a bench power supply (it actually says 6v on the dial) To power everything on the breadboard. When I do this I just take the data from port 8 on the Arduino, I disconnect the power...but I get the same dimming effect.

Sorry as you’ll have gathered from my odd question I don’t do circuit diagrams yet...but I think I’ve answered all the requests for info ( that I should have included in the first place!)

Though even without the info your comment of “it doesn’t sound normal” is reassuring...

Further down the line are 8 ws2812b LEDs, wired onto individual breadboard breakers. It is these that appear dimmer than before I put the green led and resistor in.[/qutoe]Further down the line are 8 ws2812b LEDs, wired onto individual breadboard breakers. It is these that appear dimmer than before I put the green led and resistor in.

Something is wired wrong. Or, are you sure that's a 1K resistor?

If you have a multimeter check 1K resistor. And, check the power supply voltage to the ws2812b's... It shouldn't change when you connect the green LED.

Hi,

Can you please post a picture of your project so we can see your component layout?

Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?

Thanks.. Tom.. :)

Further down the line are 8 ws2812b LEDs, wired onto individual breadboard breakers.

It would probably be a real good idea to post a picture of the circuit you have because the quote above really doesn't make much sense. Do you have any idea what the limitations are of the trinket 5V regulator? I/O pins?

I'm still trying to work out what "individual breadboard breakers" might mean.

Steve

GreyArea: Sorry as you’ll have gathered from my odd question [u]I don’t do circuit diagrams yet[/u]...but I think I’ve answered all the requests for info ( that I should have included in the first place!)

Though even without the info your comment of “it doesn’t sound normal” is reassuring...

Now is a time to start, you are in troubleshooting mode now and you need to help us understand your circuit. At least some pictures will help. Do you have a DMM? Thanks..Tom.. :)

These...

https://www.adafruit.com/product/1312

I just use eight of them, wired exactly as in the pic here (but obviously another four) to test lighting patterns...the “ordinary” led is between the power rail of the breadboard and is just there to indicate I’ve remembered to connect power for when I get my Trinket programming wrong (often, see “newbie”) and the WS 2812 b LEDs don’t light up at all.

I noticed when I added the led and resistor, the ws2812bs seemed dimmer. The led and resistor are in series, on the +5v line, before any other components.

GreyArea: The led and resistor are in series, on the +5v line, before any other components.

Hmmm thats open to interpretation.

  • you have the led and resistor in series, one end of the series is connected to +5V and the other end of the series is connected to gnd.

OR

  • you have the led and resistor in series and you have disconnected the 5V from the WS2812 and placed one end of the series pair to +5V and the other to where the +5V was connected.

Please a picture of your component layout or a hand draw circuit.

Tom.. :)

GreyArea: the “ordinary” led is between the power rail of the breadboard

You can't be between one thing.

So one end of the led and its resistor is on the power rail; where's the other end?



TomGeorge: Please .... a hand draw circuit.

GreyArea: I don’t do circuit diagrams

Meant to say between power rail...and any other components. Ok, talk about careful what you wish for...

rubbish diagram here.

Yes I’m sure the 1k resistor is really1k. Can remember the led said use 400 to 1k as protection, but can’t remeber spec. Ws2812b LEDs are dimmer with green resistor in-line. Green line on drawing from Arduino to ws2812b is just data in. Arduino on usb power (not shared with power pack powering ws2812b LEDs).

All I can say about the diagram is...sorry. Reason for hesitancy is that while I can control my Parkinson’s well enough to solder, drawing and handwriting not so much. I know. Odd. It’s an unpredictable bugger of a condition as anyone who has it will tell you.

If you have wired it up like that it is a great way to damage your WS2812 LEDs. This is because the data signal from the Arduino will be much higher than the supply applied to the WS2812s.

WTF are you trying to do?

At over 100 posts you should know how to post an image or at least know to read the how to use this forum sticky post.

That diagram is fine and perfectly explains the problem. Your LED and resistor should not be inline IN the 5V line. Putting them there effectively "uses up" most of the 5V before it gets to the WS2812Bs.

If you just want to know that the 5V power is on then the LED and resistor should be connected between 5V and ground. Though if you want to know that the 5V is actually getting to the WS2812Bs they should be connected AFTER the switch.

Steve

But you should never turn off the power to a string of WS2812s when the data pin is connected up anyway or you will damage them. Also you have been told before that you have to use a series resistor in the data line and a large capacitor across the supply, these should be on the diagram, as well as the power and ground connections to the nano.

Here is how to post an image image guide

Hi,
You need to connect your LED like this, and as @Grumpy-Mike has said remove the switch.
3qWpMlDDVI0q.jpg

Tom… :slight_smile:

First…TomGeorge…thank you.

Second;

Grumpy_Mike:
But you should never turn off the power to a string of WS2812s when the data pin is connected up anyway or you will damage them.
Also you have been told before that you have to use a series resistor in the data line and a large capacitor across the supply, these should be on the diagram, as well as the power and ground connections to the nano.

Here is how to post an image image guide

Have a look at thread here

Conveniently, it contains all of;

  1. a suggestion to use imagebin
  2. The reason I’m using imagebin
  3. Two requests for the details on power surge protection, specifically resistors and capacitors.

The last one was never answered…maybe, just maybe because some people are too busy looking for everything that’s wrong with a post rather than making ANY attempt to be helpful.

I’m new. Telling me I need a resistor and a capacitor doesn’t help. I barely know what they do, but I’m vaguely aware they have different sizes.

Tom, again, thank you. Mike while I recognise your vast technical experience, it’s no use to me if you can’t deliver it without making me sit up and do tricks. I think it’s best you just ignore my posts, I won’t be offended.

Apologies to slipstick, also, thank you for the explanation.

Also apologies to Mike, seriously. Maybe it’s just that too many of your 54,000 posts have been to idiots like me and that Tom and slipstick just haven’t had their fill yet.

But the request stands...just ignore my posts eh? There are enough people on the forum who’ll tell me what I’ve missed out without you.

I assume if I take power from the Arduino +5v and GND pins the risk to the LEDs is removed? Again, this is my newness showing. I’m a chemist by training and for me if someone gave me two five gram bags of something I’d assume that 5g = 5g. I naively thought it would be the same with volts.

I assume if I take power from the Arduino +5v and GND pins the risk to the LEDs is removed?

What makes you assume that? What risk are you trying to mitigate? How is the Arduino powered?