Stream

Join this community to post or comment

Nick Barnes

Hardware Discussion  - 
 
I'm interested in building a wearable high-power LED system as part of a samba costume. It would need audio-in, so it could (for example) work as a "graphic equalizer" style of display. I'm thinking RPi + Wolfson audio card + colour LED strip + some sort of battery pack. Anyone out there made anything like this? Advice on power supplies? Has to be wearable, weatherproof, and good for a couple of hours on a charge.
1
Nick Barnes's profile photoPaul Barnett's profile photo
7 comments
 
Have fun, but be aware that the spectrum analyzer tutorial is based on a old version of LighShowPi, and the LPD8806 driver it references has been deprecated and superseded by BiblioPixel.  There's another posting in this forum about it:  https://plus.google.com/116168668537315290590/posts/cvRACjwCt7v

I did my own integration of BiblioPixel into the stable version of LightShowPi (https://plus.google.com/116458931923595367640/posts/WdNyuYJf2nj), only to find +Tom Enos had already done it.  So, instead of further duplicating his effort, we are now working together on LED strip support.

The important thing is to avoid an RGB LED strip with WS281X LEDs.  They use a single-wire protocol with significant constraints on data timing.  There is an RPi driver/library for them, but you may run into issues with doing the audio processing in real-time and meeting the timing constraints for the LEDs.
Add a comment...

Paul Barnett

Hardware Discussion  - 
 
Has anyone tried these SSRs?

http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Delectronics&field-keywords=hoymk+ssr

There are PCB style relays, and standalone relays with screw terminals.  

Depending on the model, the load can be DC, up to 65V and 25A.  Or, the load can be AC, up to 480V and 100A!  (no, that's not a typo).  There's even a 3 Phase version.

8 of them would be bigger than the SainSmart SSR:  at 62x45x26 (mm) each, vs. 138x71x25mm for the 8-channel.  But, I don't need 8 channels, and I'm considering a build that needs a 12VDC SSR + a 120VAC SSR.
1
Tom Enos's profile photoPaul Barnett's profile photo
2 comments
 
Just to clarify, I'm not planning to put THAT much load on one.  :-) I was just surprised to find them.

Unfortunately, finding a datasheet is difficult, at least in English.
Add a comment...

Jonathan Odom

Hardware Discussion  - 
 
I know this had probably been asked before but easier to ask again then scroll and read every post.
Is there a specific solid state board to get led's to fade?
another question
raspberry pi doesn't power on and gets warm to the touch around the micro usb port. had relay board and lights all wired up and went to power everything on and power light came on and faded off. should i give it a few days for the fuse to reset or should i just get another one? tried several cables and power supplies and usb from macbook i think my relay board is doing same thing haven't had the chance to test it with my arduino yet.
1
brad owen's profile photoJonathan Odom's profile photo
7 comments
 
+Alex Top +brad owen  relay board was fine tested with arduino and everything worked still nothing on RPi so will be getting a new one. will definitely get that board when i get the chance. 
Add a comment...

Paul Barnett

Hardware Discussion  - 
 
After confirming that my proof-of-concept works (see my posts in Developer and Lightshow forums), I'm starting to give some thought to a hardware build.

In order to provide enough power to a relatively long strip of RGB LEDs, I'm planning to put a ATX power supply in a weatherproof (and vented) box, along with a Pi 2 B+.   The box will be placed at the start of the combined LED strip, but close enough to separately power every set of 50 LEDs.

As I put together a list of all the pieces I needed, I realized that adding a set of SSR's would be relatively inexpensive, and allow me to control AC  lights and complement my plans for the RGB LED strip(s). However, I'm a bit concerned by the builds I've seen.

I didn't expect full compliance with the electrical code.  But, I was surprised by the use of exposed bus bars, and no apparent fusing for switched AC circuits that will likely be outdoors.

I know the relays tend to act as a fuse, but I'd really like to avoid that kind of failure.  But, I haven't found a way to fuse the AC side of the relays at a reasonable cost (and size, since it all has to fit into the weatherproof box).   Has anyone found a solution?

Fusing the 5V side is easy:  I'm planning to use 5A automotive fuses for loads that should never exceed 3A.  But, that won't scale to 120V.
2
Tom Enos's profile photoPaul Barnett's profile photo
7 comments
 
Yes, I'd like to help.  I have some ideas for preshow animations on the RGB LEDs, and I'd like to develop a plugin methodology for them.

I've also been experimenting with different light modulation techniques, like fading from red to green (Christmas colors) and red to white (candy cane colors that match existing Christmas lights on our house).  So, maybe we should consider a plugin methodology for that, too.

The flexibility of the RGB LEDs is giving me a lot of ideas, but I don't want the complexity to get out of control.   A plugin methodology could include a set of "pre-packaged" functions, but also allow code-slingers like me to write our own, without having to modify the base framework.

However, it will be a month or two before have any significant amount of hardware to test.
Add a comment...

Sanjay Jude D'Souza

Hardware Discussion  - 
 
I am using Bananapi.

I connected 8 LEDs to GPIO 0,2,3,4,5,6,10,11 which works. I wanted to extend to get more LEDs on the GPIO and so used 21 & 22. But these are not working. In default.cfg I edited to include the GPIOs and correctly connected based on output from "gpio readall".

Bananapi uses the same 40-pin GPIOs as in RaspberryPi. Do i need to edit any other file to increase from 8-channel for Lightshowpi to work. I connected 3V LEDs directly to the Pi which works for 8-channels.
1
Tom Enos's profile photoSanjay Jude D'Souza's profile photo
10 comments
 
Sorry. The audio works. I had changed some settings in my amp so the audio from that source was not working.
Add a comment...

Dee Layne

Hardware Discussion  - 
 
I have a 5v 2.5a power adapter I want to power a 8 channel Mechanical relay board and the raspberry pi 2 was just wondering if it was enough amps to power them both with no problem. 
1
Asdrubal R. Velasquez Lagrave's profile photoDee Layne's profile photo
4 comments
 
I making a light show set up for a friend I want to set it all up and not worry about it. (Power wise) will the raspberry pi2 running a 8 channel SSR board just with the GPIO pins and a 2a power adapter or should I run a separate power adapter for the relay board. I thought it was a 2.5a but its not. Trying to make it all in 1 small box for him. It will be running headless and no usb's
Add a comment...

Gary Webb

Hardware Discussion  - 
 
Hi hope you can help me i have just got a raspberry pi for xmas and have downloaded and now i need to configure the hardware but i was wondering if there is a diagram to show what pin etc and lights used as last thing i want is to put a wire on wrong GPIO and face the scorn of the lady of the house when i have blown everything 
1
1
kevin lucas's profile photoGary Webb's profile photoSam Martinez's profile photo
3 comments
 
Ok cheers Kevin will check it out thank you looking forward to a lightshow to remember 
Add a comment...

Richard Williams

Hardware Discussion  - 
1
chris usey's profile photoTom Enos's profile photo
4 comments
 
It's after Christmas.  There are a lot of listings on ebay for $13-18 with free shipping. 
Add a comment...

Daniil Ruditskiy

Hardware Discussion  - 
 
Hey all. I am in desperate, desperate need of some help. I am trying to use LightShow Pi for a NYE party TONIGHT to make party lights.

I have the Raspberry Pi  B with LightShow Pi already on there, ready to go. (Also, I bought a Canakit Ultimate Starter Kit, so I have a breadboard and a GPIO-to-Breadboard interface). I have a Sainsmart 8 Channel SSR to which I have daisy-chained the default arrangement of extension cords. 

Here is my problem. I need to connect the Pi to the SSR via the breadboard,  because I DO NOT have any female-to-female jumper wires. All guides online only show solutions with female jumper wires used, so I don't know what to do. I only have male-to-male jumper wires.

If someone could lay out a picture of how exactly to connect the SSR to the breadboard, you would absolutely be my hero. Thank you guys so so much in advance. Y'all are my only hope 
1
Ken B (K5ENB)'s profile photobrad owen's profile photo
6 comments
 
Let us know how your party went!  I'm curious how you will set it up.
Add a comment...

Caleb B

Hardware Discussion  - 
 
OK tried playing them in and all are working but the 8th channel
1
Timothy Lorens's profile photoCaleb B's profile photo
9 comments
Caleb B
 
I added extra wire coating from my higher grade wire to separate the Daisy chain from other wires
Add a comment...

John Mann (OneMaddMann)

Hardware Discussion  - 
1
Tom Enos's profile photo
 
lightshowpi does not support DMX
Add a comment...

Sanjay Jude D'Souza

Hardware Discussion  - 
 
Testing LED strip.

I received my 1 meter Addressable LED strip and want to use it for LED Spectrum with Lightshowpi. Followed the guide from https://learn.adafruit.com/raspberry-pi-spectrum-analyzer-display-on-rgb-led-strip

I can get the example.py working but when I try playing music file using the code http://www.instructables.com/files/orig/F8J/J4J8/HQCWG0FE/F8JJ4J8HQCWG0FE.py I get error on loading bootstrap import. I setup the env variables as per the guide.

synchronized_lights.py works fine but not synchronized_lights-LED-strip.py

The example.py code works from the installed directory /home/bananapi/RPi-LDP8806

I added PYTHONPATH=$PYTHONPATH:/home/bananapi/RPi-LPD8806 in /etc/environments and in /home/bananapi/.bashrc
Also in crontab -e

Lightshowpi is installed in /home/bananapi/lightshowpi and I can run from any directory without errors.

Can anyone help me with setting of environment variables. I am using Rasbian on Bananapi.

A Spectrum Analyzer shows the loudness of different frequency bands (low, mid, high) in real-time, letting you visualize music. Using a RasPi, RGB LED Strip and some wire, make yourself a dynamic display and media player. This project is based on some great python xmas light code from the ...
1
Tom Enos's profile photoSanjay Jude D'Souza's profile photo
20 comments
 
Thanks Tom,  atleast I got the LED strip working with some blinking lights.
Add a comment...

Richard Williams

Hardware Discussion  - 
 
I powered (2) SSRs with (1) 5V 2A power supply.  Will this cause any issues.
1
Tom Enos's profile photoRichard Williams's profile photo
2 comments
 
Thanks Tom
Add a comment...

Caleb B

Hardware Discussion  - 
1
1
Caleb B's profile photoRod Castor's profile photo
4 comments
Caleb B
 
Thanks for the awesome responses
Add a comment...

Richard Williams

Hardware Discussion  - 
 
Looks like a good piece of hardware for cheap.  http://www.monoprice.com/product?p_id=5296
Need a temporary fix for short power cables? Monoprice extension cables are the perfect solution. Available in lengths up to 100ft in a variety of gauges, we have cables that will help complete your power connections. Each cable is made from high quality copper wire and is designed to handle 125V power connections. Sturdy 3 prong connectors ensure a solid connection to your existing cable and your wall outlet.
1
Add a comment...

Kevin Aherne

Hardware Discussion  - 
 
Has anyone in the UK tried this yet ? If so, what relay did you use?
1
Alex Top's profile photoTom Enos's profile photo
3 comments
 
Most if not all of the relays mentioned in this community so far will work.  For example the sainsmart solid state relays that people are using will work with 75 to 264V AC (50/60Hz).  If in doubt read the datasheet for the relay it self.
https://www.openhacks.com/uploadsproductos/g3mb-ssr-datasheet.pdf
Add a comment...

Daniil Ruditskiy

Hardware Discussion  - 
 
Hey all,

My current set up is attached and I believe it to be correct but my relay's lights are not flickering when I play a song on LightShowPi. I'm using the default set up with GPIO 0-7, 2 grounds, and the VCC pin plugged into the 5V pin. Songs play just fine via the Pi but no LED's flicker on the relay.

Any suggestions on what to do? 
1
Ken B (K5ENB)'s profile photoDaniil Ruditskiy's profile photo
3 comments
 
+Tom Enos You figured it out, amigo. I actually got it working by mirroring the pin alignment and then plugging the jumper wires into the ribbon cable, but mirrored from the correct alignment. +Ken B , thank you for your assistance as well. Have a Happy New Year, everyone!
Add a comment...

Dave Masters

Hardware Discussion  - 
 
I had it in mind that I wanted to use the LightShow software and some low voltage LED string lights to make a little display at my desk during the holidays. Turns out the relay I got (and all I've looked at so far) seems to require a minimum voltage and can't switch a 3V load.

Are there low voltage relays that would suit my purpose or am I barking up the wrong tree?

Is there another way to do what I have in mind?
1
Dave Masters's profile photoTom Enos's profile photo
3 comments
 
Have a look at this
https://learn.adafruit.com/rgb-led-strips/usage

It is the same principle.  Switching DC current
Add a comment...

Joshua Gallant

Hardware Discussion  - 
 
Anyone buy SSRs directly from China?  Something like this:

http://www.aliexpress.com/item/Free-Shipping-5V-2-Channel-OMRON-SSR-High-Level-Solid-State-Relay-Module-250V-2A-for/32545392615.html

I'm wondering if I'd run into product quality issues.  It appears the actual relays are the same used in the Sainsmart SSRs.

I'd need a bunch of these for a project so retail US prices just won't cut it.
2
Tom Enos's profile photoJoshua Gallant's profile photo
12 comments
 
Thanks guys.  These should be sufficient for my needs.  I worked a deal with a seller on eBay to get 50 of these for $2.80 each.  Now to wait for them to get here...
Add a comment...

Caleb B

Hardware Discussion  - 
 
OK so can I run two 8 channel relay boards with no gpio expansion chip? I have Raspberry Pi 2
4
Caleb B's profile photoTom Enos's profile photo
8 comments
 
Merry Christmas +Caleb B 
Add a comment...