gkaindl / ambi-tv

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

Flickering LED's On left hand side of TV others working fine! #44

Open lukefoster197 opened 10 years ago

lukefoster197 commented 10 years ago

Hi,

I've got the software up and running currently (Great work by the way). But im having a slight issue with the LEDS on the left hand side of my tv. Flickering and randomly adjusting, all other three sides are working fine it's really distracting when watching.. I'm sure it's just a setting that I've overlooked but if anyone has had the same issue or advice I'm happy to hear it.

Thanks Luke

amroibrahim commented 10 years ago

did you find what is the issue? I have similar issue and I think that a new power supply with more amp could fix it. please share how u fixed it if you did

Phil1988 commented 10 years ago

I dont have a solution but a similar problem with WS2812B LEDs... My stripe ist starting from left to top, right, bottom - and the LEDs become more and more flickering...

Power supply has enought amp for it...

amroibrahim commented 10 years ago

I would recommend to run some other software to see if the cause of the problem is due to ambi-tv code or hardware related issue, there are some python scripts with lots of samples (search github for RPi-LPD8806) run few of them and see if the full strip works fine.
let me know how this go for you

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

r3vO88 commented 10 years ago

Hi Amroibrahim, do you use 2 diffrent Power Supplies?

Phil1988 commented 10 years ago

My problem is also solved...the Flickering was not caused by the PI but by a µC I use...

But I still have some flickering as you can see here http://www.youtube.com/watch?v=5zYz_Vd1VEM

The first mode in the video is average ambilight... then moodlight and until 0:14 the first time "real" edge ambilight. Video source is my computer with black background and some icons on the desktop... there is nothing moving in it so the LEDs should normally be stabil (not flickering) any ideas what could solve this?

r3vO88 commented 10 years ago

Hi Phil, when you have a Solution, then i really like to hear from you. I have LPD8806 but similar Problems. And what do you mean with uC?

lukefoster197 commented 10 years ago

Sorry its been so long guys, I've been very busy.

My issue has been fixed, it was down to how the image was being seen.

I cropped the edges off and it works a lot better now, if anyone knows how to view the live video image on the Pi it would be great, just so I can see what going on.

r3vO88 commented 10 years ago

How did you Fix it?

amroibrahim commented 10 years ago

@r3vO88 yes and that was the causing of the problem, I found out the hard way, you cant have 2 power supplies, the one that is powering the LEDs should also go in to the VCC and +5V gipo pins in the RPI

Phil1988 commented 10 years ago

Can someone have a look at my config?

I still have this anoying "overall flickering" http://www.youtube.com/watch?v=5zYz_Vd1VEM (have a look at 0:14)

v4l2-grab-source { name v4l2-video video-device /dev/video0 buffers 1 crop-left 4 crop-top 1 crop-right 4 crop-bottom 1 autocrop-luminance-threshold 8 }

timer-source { name timer-30fps millis 33 }

lpd8806-spidev-sink { name led-frame spi-device /dev/spidev0.0 spi-speed-hz 2500000 leds-top 18-46 # left-to-right leds-bottom 93-65 # left-to-right leds-left 17-0 # top-to-bottom leds-right 47-64 # top-to-bottom led-inset-top 0.0 led-inset-bottom 0.0 led-inset-left 0.0 led-inset-right 0.0 blended-frames 3 gamma-red 1.55 gamma-green 1.6 gamma-blue 1.5 }

r3vO88 commented 10 years ago

Try This:

crop-left 20 crop-top 20 crop-right 20 crop-bottom 20 autocrop-luminance-threshold 25

blended-frames 6

Phil1988 commented 10 years ago

I thank you r3vO88!

This setting ist much more stable. But I still have some flickering in dark scenes....

Has anyone an idea how I can make this also working stable?

Thanks a lot!

r3vO88 commented 10 years ago

And when you use also these: led-inset-top 3 led-inset-bottom 3.8 led-inset-left 3 led-inset-right 3.5

I have also sometimes flickering, but its not very often.

Phil1988 commented 10 years ago

for what I understand this is for matching LED stripe size to the screen size..

I have the flickering in every dark screen/szene and the flickering is really hard at that... On brighter screens there is no flickering at all.

mnorthfield commented 10 years ago

I can tell you here that it can also be the videograbber that is crap. I had a problem with black screens/flickering leds, changed the videograbber and form that it has worked perfect!