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.
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
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.
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.