this post was submitted on 12 Jul 2024
48 points (98.0% liked)

Ask Lemmy

26664 readers
1670 users here now

A Fediverse community for open-ended, thought provoking questions


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 1 year ago
MODERATORS
 

Greetings fellow lemmings! I have a problem and i was hoping your smart brains could help me solve it. I want to use an arduino and some addressable LED strips as an „ambilight“ upgrade for my pc. I soldered everything according to some instructions on the webz. I also provide enough electricity for the strips via a 12v charger. When I power them on (no matter if the arduino is turned on or not), they just blink randomly. Only a few led on the 4 strips I connected (to make corners for my monitor). The data input from pin 5 on my arduino is completely ignored when it is turned on. So I think it’s a wiring problem. But I don’t see the issue. On the picture you see the input connections i soldered. The strips are just connected together by wires. Ground to ground, data to data, power to power. Is my dumb smooth brain keeping me from my plans, or is there something broken? I only have replacement led strips, but I don’t know why the arduino or the power supply should be broken

update for everyone who cares: A friend of mine and me were troubleshooting (he has a multimeter and another arduino), and we came to the conclusion that I need an even stronger power supply. The leds on the new strips are much more powerhungry than the old ones. So I’ll try to get a more reasonable power supply (we did the math and I need one with 5V and 20 Amps, the current one is 12V with 1.4 Amps) and I will post another update.

Thank you so much for your help, everyone!

next update: With a lab power supply we measured, that the strips need much less power than it says in the description of the LED strip. It works flawlessly with a 5v and 4a power supply. My connections were right, but not the power delivery.

Thank you again everybody! I learned quite a lot 😊

you are viewing a single comment's thread
view the rest of the comments
[–] Cheradenine@sh.itjust.works 6 points 3 months ago (1 children)

Have you verified that the power supply wiring is correct? Red = + Black = -. I have had supplies where the red and black were reversed during manufacture, I have also had led strips where the labeling was reversed.

That might account for the behavior.

Is the arduino getting power in this situation? It looks like it is only connected to data and ground. I have no experience with arduinos, but I would think you would have 3 wires connecting to it. +, -, and data.

You say 12v for the lights, but input on the strips says +5v

[–] SirBucksworth@lemmy.world 2 points 3 months ago

Thank you for your answer!

Have you verified that the power supply wiring is correct? Red = + Black = -. I have had supplies where the red and black were reversed during manufacture, I have also had led strips where the labeling was reversed.

I have not, that’s a good point! I‘ll see if I can find a way to Check that.

Is the arduino getting power in this situation? It looks like it is only connected to data and ground. I have no experience with arduinos, but I would think you would have 3 wires connecting to it. +, -, and data.

I disconnected the cables when making the picture, so you can see the wiring I soldered. I connected +5v with the red wire of the power supply, data with pad5 on my arduino and ground to the black wire of the supply and ground on the arduino.

You say 12v for the lights, but input on the strips says +5v

The supply was already in work as an ambulatory supply before, i just got new LED strips with even more LEDs (got a new, bigger screen). In the online Tutorials they also use 12v supplies. Unfortunately I have no weaker ones to try out