And Another topic about Flickering leds

  • Well as i don't want to steal some one else their topic i start one here.


    Finally after 2 months i got everthing working now, leds respond frame grabber grabs the frame, but i got only one problem and thats flickering leds..


    How i connected everything by power


    20A 5v psu i connected a + - line to the leds and one to the pi both have a transistor on it 1000uF both on the same + and - of the PSU.
    So i got a central point where my pi and leds ( - ) come together from there it goes to the PSU
    Then i got another ground from the psu to the pi and a separet + .


    Does this flickering happen because the pi gpio is 3,3V and the leds DATA 5v?
    already ordered a level shifter so have to wait for that

  • which leds? config please



    I got WS2801 leds 5v+, Data input, Data Output and GND


    here is my config but that is oke for sure
    I think i need a level shifter.. i got one now i connect Data line from the leds to the level shifter but does the Data output wire also need on the level shifter?or only the data line?




    • Offizieller Beitrag

    Ok, then the connections should have no issues....


    give the smoothing option a try and reduce the frequency


    // SMOOTHING CONFIG
    "smoothing" :
    {
    "type" : "linear",
    "time_ms" : 200,
    "updateFrequency" : 60.0000,
    "updateDelay" : 0
    }


  • I lowered the value to 20,000 , the flickering is less but it's stil noticeble,

  • I got this with this code



    and got this video


    https://drive.google.com/open?…FHzbcAe0FIAzxaI99PTeXuAyC

  • ok which grabber do you have?


    ut0007 when i connect the hdmi to av to av tv the source is good!


    or could be a resistor on the data output line be a pottential issue? the same as on the data input


    ______________________________________________


    So i disabled the black border detection and it when little less flickering... but still



    So been playing some little bit and after changing this in the code it now only flickers once a seconds but i don't think this is right... it's on 1hz but flickers every 1 sec, so whats going on here??


    Code
    // FRAME GRABBER CONFIG
        "framegrabber" :
        {
            "width" : 64,
            "height" : 64,
            "frequency_Hz" : 1.0,
            "priority" : 900
        },



    My level shifter is connected exectly like this, is this correct?


    Edit again...


    When i disable this peace of code the flickering stops...


    Code
    // FRAME GRABBER CONFIG
    //    "framegrabber" :
    //    {
    //        "width" : 64,
    //        "height" : 64,
    //        "frequency_Hz" : 20.0,
    //        "priority" : 890
    //    },



    SO I FINALLY GOT IT WORKING NOW!!!
    but one question.. i think by my opinion that there are to much leds in comparison with the colors the produce from the screen...
    So how can i setup so that 2 leds have the same surface to pick the same colours so the smoothing is better...


    • Offizieller Beitrag

    "leds" :
    [
    {
    "index" : 0,
    "hscan" : { "minimum" : 0.9600, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.9581, "maximum" : 1.0000 }
    },
    {
    "index" : 1,
    "hscan" : { "minimum" : 0.9600, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.9165, "maximum" : 0.9585 }
    },




    copy the hscan/vscan values from the leds you want to double...


    like this


    "leds" :
    [
    {
    "index" : 0,
    "hscan" : { "minimum" : 0.9600, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.9581, "maximum" : 1.0000 }
    },
    {
    "index" : 1,
    "hscan" : { "minimum" : 0.9600, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.9581, "maximum" : 1.0000 }
    },


  • Something like this?


    before
    {
    "index" : 0,
    "hscan" : { "minimum" : 0.3846, "maximum" : 0.4103 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 1,
    "hscan" : { "minimum" : 0.3846, "maximum" : 0.4103 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 2,
    "hscan" : { "minimum" : 0.3846, "maximum" : 0.4103 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 3,
    "hscan" : { "minimum" : 0.3846, "maximum" : 0.4103 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }


    after


    {
    "index" : 0,
    "hscan" : { "minimum" : 0.3846, "maximum" : 0.4103 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 1,
    "hscan" : { "minimum" : 0.3846, "maximum" : 0.4103 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 2,
    "hscan" : { "minimum" : 0.3846, "maximum" : 0.4103 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 3,
    "hscan" : { "minimum" : 0.3846, "maximum" : 0.4103 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }

  • Btw Do you experience no detection when playing video's in netflix on a xbox one... when i'm in the menu of the xbox it grabs.. but starting netflix it stops... kinda weird...

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!