ws2812b not working

So i got myself a 5m long ws2812b strip with 300leds but im struggling making it respond to anything.
I have a 5v 10a power supply with an arduino uno and obviously the ws2812b, i have the data pin in pin 6 the 5v to the +v on the power supply and the - in the -v on the power supply.

when i first plugged it in i think i didnt wire it the correct way ( i still dont know if it is correct now ) the first 5 or so leds were shining full brightness but it didnt respond to the code i was putting in (just the colorpallete example from the fastled library) but now after a lot of troubleshooting its still not working, currently there are 2 random leds that are turned on (one blue one red) but none of the code im uploading to the arduino changes anything. even removing the data pin doesnt change anything.

here are some pitures of the wiring and the strip

https://imgshare.io/image/QYiJp
https://imgshare.io/image/QYdXX

what am i doing wrong?

and the - in the -v on the power supply.

Have the LEDs and Arduino also got a common GND connection ?

UKHeliBob:
Have the LEDs and Arduino also got a common GND connection ?

Hi, thank you for your response.

iam not really into electrician stuff and im not 100% sure what you mean by that.
Im using the GND from the strip and connected it to the -V on my psu. i tried putting it in the gnd port in the arduino but that didnt work.

I am suspicious of your 5V power supply when you refer to connections to +V and -V. Are you sure that the voltage between them is 5V ?

If it is then connect GND on the Arduino to -V on the power supply so that both the LEDs and Arduino have a common point of reference for voltage levels

UKHeliBob:
I am suspicious of your 5V power supply when you refer to connections to +V and -V. Are you sure that the voltage between them is 5V ?

If it is then connect GND on the Arduino to -V on the power supply so that both the LEDs and Arduino have a common point of reference for voltage levels

If i understood you correctly i have to connect a wire from the arduino GND to psu -V

i just did it and nothing has changed.

What is the voltage between +V and -V on the power supply ?

UKHeliBob:
What is the voltage between +V and -V on the power supply ?

it says its 5v 10a but i dont have any tools to make sure it does.

its brand new i bought it with the strip & arduino.

The label can say what it likes but that does not make it true

It also appears from the label that the output voltage is adjustable

My advice would be to get a digital multimeter before you do any more work with this project. A cheap and cheerful meter will be good enough for your immediate needs. Do you perhaps know someone who has one ?

UKHeliBob:
The label can say what it likes but that does not make it true

It also appears from the label that the output voltage is adjustable

My advice would be to get a digital multimeter before you do any more work with this project. A cheap and cheerful meter will be good enough for your immediate needs. Do you perhaps know someone who has one ?

ill ask a couple of friends if they have one laying around, thanks for the help and ill make another comment once i measured the voltage.

also yes it is adjustable i turned the knob on the right all the way to the right and it didnt change anything.

sembloemberg:
also yes it is adjustable i turned the knob on the right all the way to the right and it didn't change anything.

:astonished: :astonished: :astonished:

Beware the magic smoke being lost! :wink:

Connect it like you have in your picture, except connect the extra white wire to the ground pin of the arduino. To me, it looks like your connections aren’t very good at the arduino so i would consider getting some male dupont jumper cables and either soldering the wires to the dupont cable or getting scotch locks to connect one end of the dupont connector to the wires from the strip.

After you have done that, and if it isn’t working, post your code. Meanwell makes good power supplies, so i highly doubt it is the supply.

Im really new to this as well and am interested because at some point ill be dealing with a lot of leds...

I read somewhere that each led can pull 50mA - doesnt that mean that 300 would need 15a?

I read somewhere what each led can pull 50mA - doesnt that mean that 300 would need 15a?

That's correct, but I thought it was 60mA (20mA per LED per color).

That's "worst case" at all-white at full brightness, but It's good practice to design for worst case, even if you won't expect to see that condition.