Beiträge von Ambientheater77

    Hoi ik nog eens. Ik ga de tread op solved zetten. Heb alleen nog 1 vraagje telkens als er donkere stukken in het scherm komen of zwarte balken dan denkt hyperion dat er geen signaal is. Nu heb hier al veel rond gekeken en ik kom tot de conclusie dat het volgens mij aan de grabber ligt. Ik werk met een onkyo receiver Tx-nr 720. Heeft iemand een voorstel voor een grabber liefst 1 waar ik niet met splitter moet werken.



    staat je blackbar detectie niet te ruim ( teveel frames voordat detectie plaatsvind) en signaal detectie niet "veel te strak" afgesteld?
    dus je black bar wat strakker zetten en je signaal detectie op default Vmin Hmin 0.25 en Vmax Hmax 0.75 juist wat ruimer zetten?
    daar heb ik eigenlijk nooit problemen mee of veranderd.
    Red Green Blue treshold op 15



    dan nog eens testen?

    hello new guest, welcome here.
    indeed there is a lot of info floating around.


    The Hyperion software is capable of sending a lot of protocols trough (GPIO/ USB serial) or PROTO buffer for sending images over ethernet port 19445
    i don't know what you all can do with them but if you run Hyperion screengrabber on windows you can make diffrent screen grab rules.


    For only one monitor screengrab in windows its quite easy to set up, and you can set up more with each monitor a diffrent IP > however the software end > raspi or Hyperion.NG on windows can only make one ledstrip setting per instance ( you can make more instances, lets say for every ledstrip ) you can run them all in once MAYBE but GPIO is not capable for that on the raspi.


    what you can do is each monitor you want to grab in Windows and Hyperion you run on Windows > send to a diffrent nodeMCU ( ip adres) which has is own GPIO and ledstrip connected to it.
    its going to be a hassle and expensive !


    Adalight is a ledprotocol that is sended by Hyperion used for Arduino.


    for the rest ask others.
    goodluck.

    you just need to create the command to send and then click it. I have commands setup to do all kinds of things to the server without ever having to open a computer.


    thats really nice, do you have those commands that we need to execute in Hyperion.Ng ?
    i like the option to just turn something ON/OFF in SSH instead on WebUI


    i made it before with Raspberry SSH lite app but only 2 buttons were allowed without a membership/purchase.

    the shame in this is that i don't have an PI4 to test with at home so my advice in this would be basic and in mind of experience of other setups.
    However what Davieboy says makes sense, i believe that USB port should be capable of running without a smartcharger/device attached.


    for everybody, in either way if you decide to only 1 PSU in your setup or go for 2 separate ones...


    -remember the schematics TPmodding made for 1 PSU setup (page 1)
    -remember my schematics for 2 separate PSU setup. (page 2)



    and everybody in this thread should be able to make the ambilight work without hickups. ( excluded the software parts ofcourse)

    What is the reason for additionally having the LEDs connected with the ground pins on the pi board and (b) what is the reason to have the 18A PSU 5V+ connected to the 3.3V of the Pi board (i thought the Pi is now being powered by its own charger)?


    the reason is that you never can have to much grounds, the more the better.


    The PI is not being powered on PIN1 but it powers up the logic level shifter on LV input.
    the converter then "knows" what it has to do with the channels you can say. Between LV and HV the converter sets his output on the channel.
    A level converter you can also use to increase instead of decrease data lines, just connect the device at the other end. Its called bi-directional.


    What is the reason people here do not recommend to have the Pi powered by the same PSU as the LED's. Ideally I would still like to work with just the one PSU. What Pins on the Pi would i need to hook up with a positive and negative wire from the PSU to power the Pi without the USBC charger (just for my own understanding)?


    I doesn't really matter that much and its more a preference to power individually or everything together.
    Most important thing is this; especially when used more then one PSU then grounding becomes life important between the devices and the PSU's.
    ledstrips are really sensitive for bad grounding or bad PSU's and connections


    your last question is a good one, yes you can power the PI directly on the powerPIN 5volt and GND on the PI, u can use PIN 2/4 for 5volts and 6/9/20/25 and so on for GND. Should u power the PI like this? thats a good question because in this way you evade the electronical circuit that protects the PI for shortage/mallfunctioning and and such. Do i think this is a good way to go? yes and no, first i would try with original USB power port of the PI>> if that would all fail then yes then i would use directly the power PIN.


    I have it connected with only one really powerfull PSU of 35 Amps on 5volts, using the original USB port of the PI3b on that same PSU.
    the only problem is now that with the PI4 the USB port expects' a high current it can draw, so when thats not possible because of using bad PSU or whatever then you get undervoltage warnings and a PI4 that wouldn't run good.
    For this i make an exception and say then yes, power the PI4 on USB-C with a SEPARATE PSU :rolleyes:

    If I use the raspberries own USBC PSU in addition can I not loose any wires in tpmoddings diagram since his wiring setup also has the pi4 powered from the same source? I do not want any unnecessary wires.


    only leave out the 5volts PIN 2 and PIN 4 from the PI to PSU and logic shifter HV, you dont need that wires



    instead, then connect HV solderpoint to your big PSU 18Amps +5volts


    connect;


    PIN1 3.3volts to LV
    PSU +5volt to HV
    2 ground PINs from PI to low voltage side of GND logic converter
    1 GND high voltage side to ledstrip and PSU
    HV to +5volts VCC ledstrip



    data and clock according schematics of TPmodding, so PIN 19 and 23 in and out of logic level shifter.
    LV to HV direction and you should be fine

    I thought I Def need a level shifter for the data wires.?


    no, you only need this when the ledstrip doesn't want to fire up :)


    It has to do with a dataline that is to low sometimes from GPIO to the ledstrip to recognize,
    mostly you can correct this/undermine this problem with a good/clean and steady DC PSU.
    APA102 normally don't really need a levelshifter so if possible and you don't need it in your setup then leave it out i would say.


    it can't do harm if you use it or don't use it, just a precaution making sure dataflo is coming from GPIO to the ledstrip. thats all :classy::bigsmile:

    This has resolved it for me


    In my /etc/modprobe.d/raspi-blacklist.conf I added the following:


    blacklist snd_bcm2835
    blacklist i2c-bcm2708



    so it has to do with PWM because this is also a audio PIN, ledstrip data is picking up audio noise.


    nice work!


    maybe this is also the sollution for more then one problem with GPIO18/PWM and Hyperion 2.09
    i read a lot of problems of this

    Thanks guys for all the good answers. I must admit though I'm a bit overwhelmed with guidance in written form as how to best wire my pi4 with the level shifter and apa102 strip.



    okay, in short.


    1. use the ledstrip WITHOUT levelshifter, connect PIN 19 to Data and 23 to CLK on the ledstrip ( works most of the times.)
    if not follow 2....




    2. use the ledstrip WITH levelshifter schematics from TPmodding, connect everything the same and
    use the PI4 own PSU with USB-C connector.

    Thanks jeroen, that basically sounds like the first setup I had (that TPmodding posted above and reattached here). Would you say this is what I need? It seem to work. However, under Librec Kodi it shows the lightning symbol in top right corner which indicates the board does not get enough power. I have a 5V, 18A PSU so this is why i was inquiring here above alternative wiring. Any idea what causes this? I am using common breadboard jumper cables which i thought should be sufficient to power the Pi4? When plugging in an USB C power adapter in addition the lightning symbol disappears but ideally I like to run both LED's and the board from my 18A PSU. ANy help is much appreciated as I am quiet a novice when it comes to this things.