Posts by dendemeier

    Here I am again and looking at solutions.

    I trief the steps for using spidev test. But there seems some problems:

    I´m running

    Code
    wget https://raw.githubusercontent.com/torvalds/linux/master/tools/spi/spidev_test.c
    gcc -o spidev_test spidev_test.c

    With the first one, spedev_test.c is downloaded. But with running the second command I´m getting an error

    When I´m trying to start the program with

    Code
    ./spidev_test -D /dev/spidev0.0 -v

    the command line is returning

    Code
    -bash: ./spidev_test: No such file or directory 

    I don´t know, if I am doing something wrong or the program is outdated.

    Afterwards i tried

    Code
    lsmod | grep spi
    
    and 
    
     lsmod | grep spi

    The results:

    So, SPI should be activated? But to be honest, i don´t know, what the "2" after spidev 20480 means.


    Succuess :)

    I tested my second Raspberry PI. And what should I say.. It´s working :)

    So, the problem all the time wasn´t any configuration or problem with hyperion. It was the Pi itself.

    Now I can install the stripe to the TV and connect everything. When it´s dark, i can calibrate Hyperion and the colors.

    A first test with the xbox and the Netflix app was successfull. I got concerns that the colors aren´t showing correct, becaus of DRM Content and HDR for Xbxo itself. But at a first view it is working.

    But at the Second view, in the Xbox settings is shown, that HDR isn´t supported.

    But for that i should have installed HyerHDR?

    But nevertheless.. I´m really happy that it´s working now :)

    In retrospect I should have tested the other Pi before, but to be honest i didn´t think that the Pi itself was the problem .

    So, a big thank you to you @Ambient_theater77 for your help and patience :)

    Thank you :)

    I searched for it and found a solution for testing SPI with a jumper cable as a loopback test with a program called spidev-test

    Einfacher spi Test ohne Messgeräte mit einem jumper Kabel - Deutsches Raspberry Pi Forum
    http://www.netzmafia.de/skripten/hardware/RasPi/RasPi_SPI.html Scheint SARS-CoV-2 bedingt in letzter Zeit viele Ambilight Probleme zu geben. Viele…
    forum-raspberrypi.de

    I will try that at first.

    For testing the strip with python i found this solution: https://tutorials-raspberrypi.de/raspberry-pi-a…python-steuern/

    Is it correct?

    After checking both things I can use an other raspberry, because I got a 2nd one at home.

    I don´t have time today, so I will do this tomorrow.

    I really appreciate your help :) Thank you so far :)

    With the settings for SK9882 I disconnected the power for the PI and for the Stripes as well and put the power back on.

    The stripes won´t turn on again :(

    My logfile

    Edit: alright, my bad. I double checked the connection pins. I accidently swapped them. Now the LED are just white again.

    I will try the SPI 1.0 :)


    Okay, next step..

    I tried it with SPI 1.0. Nothing again..

    The LED were only ligthening up, when i changed the connections the the GPIOs when the PI was turned on.

    When i´m disconnecting the power and switching the power back on, the stripes wont turn on again.


    I connected my old APA102 again. And the LED also wont turn on.

    I´m at a loss :/

    But thank you for your help so far :)

    So, there is a first success.

    I pressed a littlte bit the beginning of the stripe, where connections are. The lights went on and they are working.

    I set everything up in the WebUI and connected the stripe with the PI Over Pin 19 and 23 just to check and did restart the pi.

    The LED stay white.

    My settings so far:

    With

    Code
    sudo nano /boot/config.txt

    I wanted to check the file. But there it says :

    Maybe that´s the problem?


    in the /firmware/config.txt SPI is activated


    Somewhere I did read adding

    Code
    force_turbo=1
    arm_freq=900
    dtparam=audio=off

    can help. But I try this later, also your new settings. This is just for checking, if everything is correct so far.

    Edit:

    I added

    Code
    dtoverlay=spi1-3cs

    to the config.txt in /firmware. Under the WebUI i can now access the other SPI-Devices. So the firmware/config.txt is correct.

    Alright. Thank you for your Help so far :)

    I got an APA102 stripe as well. The LEDs didnt light Up either. The soldering Connections seemed fine, but the stripe ist old. That's why i bought a new stripe, Just to bei sure.

    I can try it with the old stripe again tomorrow.

    But otherwise i'm a little bit helpless. I tried it also with Libreelec before and Just with the internal picture of Kodi, and with some other tutorials I found.

    But its allways the problem that the Led stripe wont light up, even with wrong colors.

    Yes, spi is activated. I looked it up by connecting the sd-card to the pc and reading out the config file.

    I reinstalled Hyberbian. But now i only connected the led stripe to the pi after installing Hyperbian. Now 4 LEDs are lighting up. but that´s it.

    Your configuration doesn´t work either.

    Is it correct, that I have to manuelly login to the pi after rebooting and the hyperion status is stopped?

    Hello,

    i have had an working ambientlight with Libreelec 9.8.2 a long time ago.

    Since then i changed my TV to a bigger one with 4k, but i didn´t install my ambientlight.

    But i want to do it now.

    I had an old setup with the Logilink Videograbber and APA102 Stripes. I tested it, but the LED wouldn´t turn on. So I bought some new parts:

    Splitter: Feintech VSP01202

    Grabber: HDTV Video Caputure Videoaufnahmekarte Capture Streaming Rekorder Live Streaming hdmi USB

    Raspberry Pi3b

    SK9822 LED Stripes

    Power Supply: https://www.amazon.de/dp/B00MWQF08C?tag=hyperioforum-21

    I installed Hyperbian to the Raspberry as told in the guide and in the following video:

    Make Your Room Come Alive with This DIY Ambilight System - Wow!
    Hey everyone, in todays video I'll be showing you all how to make your own ambilight tv to use with your gaming systems using the program Hyperion on a raspb...
    www.youtube.com

    I change the user to root.

    Unfortunately my LED stripe stays black, even after the first start of hyperion.

    My Pin Connection is:

    GND: Pin 6

    CI: Pin 23

    DI :Pin 19

    So it´s like for an APA102 stripe

    Of course i connected the stripe with the power supply.

    Under the Webinterface i did load the profile for my stripes and after that for the APA102 again. But with both profiles the LED stays black.

    The grabber is working. Under Live-View the Screen Caputure of my Xbox is showing.

    I dont know, why the LED won´t turn on. Maybe the GPIO are wrong, or aren´t used. Because like I said they won´t turn on even after the first start.

    A second problem is, that after starting the PI i have to login manually by myself. But at first i want the LED to work.

    Could anybody help me?

    I´m right before giving up and buying an external solution. But anyhow it should work. But how?


    My logfile is attached.

    Hallöchen,

    ich habe vor Ewigkeiten ein Ambilight mit Libreelec 9.8.2 gehabt, das damals auch funktioniert hat.

    Mittlerweile habe ich einen größeren TV,, der 4k fähig ist, auf den ich das Ambilight jetzt endlich mal umsetzen möchte.

    Leider hat sich beim selben Aufbau nichts mehr getan. Egal, was ich getan habe, die LED sind nicht mehr angegangen.

    Ich hab jetzt einige Komponten einige Komponenten neu gekauft und mein Setup sieht jetzt so aus:

    Splitter: Feintech VSP01202

    Grabber: HDTV Video Caputure Videoaufnahmekarte Capture Streaming Rekorder Live Streaming hdmi USB

    Raspberry Pi3b

    SK9822 LED Streifen

    Netzteil: https://www.amazon.de/dp/B00MWQF08C?tag=hyperioforum-21

    Für die Installation habe ich HyperBian genommen und alles eingerichtet wie beschrieben, und auch im folgenden Video erklärt:

    Make Your Room Come Alive with This DIY Ambilight System - Wow!
    Hey everyone, in todays video I'll be showing you all how to make your own ambilight tv to use with your gaming systems using the program Hyperion on a raspb...
    www.youtube.com

    User habe ich zu root gewechselt.

    Leider tut sich beim Start von HyperBian nichts und die LED Streifen bleiben komplett schwarz. Ich hab mir sogar noch ein neues Netzteil gekauft.

    Die Pins habe ich wie folgt belegt:

    GND: Pin 6

    CI: Pin 23

    DI :Pin 19

    Also wie für z.B. APA102 LED-Streifen beschrieben.

    Der Streifen ist natürlich ans Netzteil angeschlossen. Zum Testen erstmal nur am Beginn.

    Unter der Weboberfläche hab ich als LED Streifen erst die SK9822 Streifen geladen. Als das nicht ging auch nochmal die APA 102. Aber bei beidem bleiben die Lichter aus.

    Den Grabber habe ich eingestellt, unter Live-View bekomm ich auch ein Bild.

    Aber es muss ja vorher schon was nicht funktionieren, da ich die LED eigentlich nach dem ersten Start von Hyperion ja schon leuchten müssten? Entweder werden die Pins doch nicht angesteuert, oder irgendwas anderes.


    Ein zweites Problem gibt es bei mir auch noch: Nach dem Start des Pis muss ich mich über Putty nochmal manuelll anmelden, eine automatische Anmeldung erfolgt nicht.

    Aber ich möchte erstmal die LED zum leuchten bekommen.

    Kann mir da jemand helfen? Ich bin kurz dafür mir eine fertige Lösung zu kaufen, aber irgendwie muss es ja funktionieren :)

    Meine Log-Datei:

    logfile.txt