gkaindl / ambi-tv

a flexible ambilight clone for embedded linux
296 stars 85 forks source link

32 or 52 leds? #15

Open ema1972 opened 10 years ago

ema1972 commented 10 years ago

Hi, the RGB 52 LED STRIP LPD8806 works like the 32 led?

Thanks you

BR

Emanuele

sn00zerman commented 10 years ago

Yes, I don't see why they would work different. I'm using the 52 LED/m strips btw ...

benskigomez commented 10 years ago

Where do you find the 52 led/m strips?

SchruteRampage commented 10 years ago

Ebay has them.

benskigomez commented 10 years ago

would these be compatible?

http://www.ebay.com/itm/181197454322?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1423.l2649

fuchst commented 10 years ago

Those are looking good. You might have to swap colours in code but that's easily done.

fsuffin commented 10 years ago

Hi. I followed the ebay link from benskigomez and can confirm that they work very well with this project and seller ships very fast. I paid $109US for 5M, and I am driving 15' of lights (for a 65" TV) with a 4a/5v PS.

Oddly, the current listing in eBay now shows a price of $309. Maybe a typo?

Phil1988 commented 10 years ago

outch!... I'm glad my 5m WS2812B stripe cost 34$ incl. shipping from china to germany.. also they are "just" 30pcs/m... the price was hot ^^

fsuffin commented 10 years ago

Just a note on using LED lights with the LPD8806 chipset.

When I connected my LPD8806 lights with 52 lights/m to the RPi and ran the stock ambi-tv program in edge mode, I could see that the red areas looked pretty normal, and the white looked normal, but blue and green and any color that needed some blue and/or green were messed up. Specifically, blues were green and greens were blue.

My fix for this was to edit lines 75 and 76 of src/video-fmt.c (nano video-fmt.c), so that these lines look like: b = (unsigned char)rgb[1]; g = (unsigned char)rgb[2];

then go back to the ambi-tv-master directory and run the make command to recompile ambi-tv. Looks good now :)

amroibrahim commented 10 years ago

I have a problem with the 52 version, and I hope some one could help me. I bought this one
http://www.ebay.com/itm/52-LEDs-meter-1M-LPD8806-RGB-LED-strip-IP67-waterproof-USA-shipping-/160906910627?pt=LH_DefaultDomain_0&hash=item2576cc9ba3 and it keeps giving random color, I noticed that i should send the colors in BRG format not GRB as usual. I did download some python script to just try and get it working correctly but I never seem to be able to make it working giving out the correct colors. I have also tried lower the clk speed but that didn't fix the problem. Any hints?

amroibrahim commented 10 years ago

I was able to figure it out and fix my problem, in short the flickering I had was because I have to connect the 5V+ and the GRD that power the the led strip to the RPI to the 5+ and ground. as the link show http://learn.adafruit.com/system/assets/assets/000/001/589/medium800/diagram.png?1344878827