Quantcast
[ 3 / biz / cgl / ck / diy / fa / g / ic / jp / lit / sci / tg / vr ] [ index / top / reports / report a bug ] [ 4plebs / archived.moe / rbt ]

If you can see this message, the SSL certificate expiration has been fixed.
Become a Patron!

/diy/ - Do-It-Yourself


View post   

[ Toggle deleted replies ]
File: 120 KB, 970x728, 1138-00.jpg [View same] [iqdb] [saucenao] [google] [report]
1060170 No.1060170 [Reply] [Original] [archived.moe]

Discuss synced lights to music projects here. I'll start--

Basically I'm using these three main things:
>Neopixel Adafruit: light strip (specs included at the bottom of the link's page)
https://www.adafruit.com/product/1138

>Raspberry pi
acts as my controller for power

>LightShowPi (a python based program that commands the light strip to turn off and on)
http://lightshowpi.org/getting-started/

My issue is I am not sure how to hook up all the wires on my bread board. I understand that the pins on my Pi acts as channels and that I can turn on and off channels 0-7, but my lights never react to the way I hook them up.

>Pin map for raspberry pi
http://popoklopsi.github.io/RaspberryPi-LedStrip/img/rgb/small/gpio.png

>> No.1060172
File: 14 KB, 1085x416, general garbage.png [View same] [iqdb] [saucenao] [google] [report]
1060172

currently I've been plugging in my 5V power source into the 5V power Pin for the Pi. I figured this would "power up" the other pins, or am I wrong to assume this? I tried running diodes over other pins to see if anything was flowing through and it doesnt look like it is. Is it possible my software was just set up incorrectly? I feel as though I just dont know how to physically lay a circuit out-- which is part of the reason I'm doing this project.

>> No.1060176

>>1060172
Have you tried lighting one channel at a time to see what corresponding lights actually light? I get wires crossed like that all the time

>> No.1060177

>>1060172
What's Max channels on that? I have a gemmy light show, does a pretty good job for the price, but only 6 channels, and not expandable

>> No.1060178

>>1060177
again here's the raspberry pi pins map

http://popoklopsi.github.io/RaspberryPi-LedStrip/img/rgb/small/gpio.png

>>1060176

I'll try doing this and test it in the morning, too tired to work on it now

>> No.1060182

>>1060178
Looks like 26, that's pretty impressive.

Gonna read through your links, I've been wanting to make something like this.

I always thought after the pi, it needs additional power, to power lights, animation, etc. But that's one of the key concepts I don't have a grasp on yet

>> No.1060317
File: 1.29 MB, 2048x1536, 20150927_145728.jpg [View same] [iqdb] [saucenao] [google] [report]
1060317

>>1060172

If your Pi is anything like the Arduino then you can't put that many amps through it. The LEDs need to be powered separately by a high amperage source.

The only pins that should be used by your Pi are one digital pin and the ground pin in common with the LEDs and the Pi.

Source: I'm a light autist.

>> No.1060520

>>1060317
Tell me more of this high amp source.

I'd want it to power motors, as well as light sources. .

>> No.1060922
File: 2.97 MB, 480x270, output_QQzhUp.gif [View same] [iqdb] [saucenao] [google] [report]
1060922

>>1060520

>power motors

Check out stepper drivers. If you need to up the voltage as well look at darlington drivers.

You can't run a high amp signal through most, if not all, microcontrollers. The max output on a digital pin on the arduino is like 500mA, which won't come close to lighting a 5m strip or being able to power a motor.

>> No.1062398

>>1060922
right, althought my strip isnt 5 meters long. Still I dont think that is enough current, anyway I could just build these myself?

>> No.1062467
File: 2.42 MB, 380x214, TrumpShrine.gif [View same] [iqdb] [saucenao] [google] [report]
1062467

>>1062398

Build what? The lights or the power supply? Yes to both, although the power supply you should have an oscilloscope.

>> No.1062832

>>1062467
are these all yours?

I meant build a voltage multiplier if I needed 5V, should ramp up the current that way too, right?

>> No.1062836
File: 1.23 MB, 2048x1536, 20150828_152104.jpg [View same] [iqdb] [saucenao] [google] [report]
1062836

>>1062832

Yeah, lighting and electronics/programming are my hobbies. If I were you I would buy a 5V 10-20 amp power supply depending on the length of lights. 5m needs 20A at max brightness, you can use less amperage for less lights.

>> No.1062989

>>1062836
I actually already own that 5v power supply in that pic. I have no idea how to integrate it into the circuit though.

>> No.1063026

>>1062989

Which power supply? Post pics, I'll help.

>> No.1063929
File: 3.47 MB, 3264x2448, IMG_20161002_004341[1].jpg [View same] [iqdb] [saucenao] [google] [report]
1063929

>>1063026
not him but you seem to know what you are doing
I have a cheap knockoff arduino, a 5V 30A power supply and 6 meter of WS2812B lds 60/m so a total of 300
and i cant for the love of god get it to light up

this might seem like a dumb request but could you maybe post a arduino code for me to copy and paste to check if they even work ?
i really have no clue

>> No.1064021

>>1063929

post your wiring diagram

>> No.1064033

>>1063929

Your wiring looks fine except that you shouldn't have the 5V from the arduino hooked up. A resistor between the digital out and the led strip would be ok protection for your arduino. The LED strips should have a capacitor on the 5V to absorb over voltages. Otherwise looks alright.

If you're using the Adafruit library use the example code in there. The only things you need to change with the example code is how many LEDs are in the strip and which digital pin you're using.

>> No.1064037
File: 2.84 MB, 4128x2322, 20161002_002420.jpg [View same] [iqdb] [saucenao] [google] [report]
1064037

>>1064033

Sorry, meant resistor on the ground wire.

Here's the setup. Red is power, white is ground on the strip, blue is digital, the shrink wrapped wire is ground to the arduino which has a resistor on it.

>> No.1064127
File: 83 KB, 1000x398, 51f1a42fce395f8520000001.png [View same] [iqdb] [saucenao] [google] [report]
1064127

>>1064037
alright ill add those two components and try it again with the arduino getting power over usb
>>1064021
pic related

Thanks for the imput guys ill post if it worked once i get home

>> No.1064818

>>1063929

Also, it doesn't look like you're powering your arduino here. Make sure it's getting power from some source.

>>
Name (leave empty)
Comment (leave empty)
Name
E-mail
Subject
Comment
Password [?]Password used for file deletion.
Captcha
Action