Beiträge von Ben Clarke

    Hi, I'm at a bit of a loss - I can't figure out what's wrong with my setup.


    I have a Raspberry Pi 3B+ with LibreELEC 9.0.1 installed, powered via micro USB
    Hyperion version 1.03.4 installed through HyperCon
    I have an Arduino Uno connected to the Pi via USB
    Arduino connected to 180 WS2812B LEDs,
    LEDs powered from both ends with 5V 10A DC, ground connected to Arduino


    Eventually intending to use a screen grabber (which seems to work - I can get screenshots through HyperCon) to control my LEDs but have got stuck at this hurdle... to be clear this is plugged in the videos but not being used. I have also tried unplugging this - no change in behaviour.


    Hyperion config file here: [MEDIA=pastebin]mEcM12bb[/MEDIA]
    Ardunio code here: [MEDIA=pastebin]P6YjKmzw[/MEDIA]
    Hyperion log here: [MEDIA=pastebin]NAhWaJNw[/MEDIA]


    The way the Arduino is interpreting the colour codes that Hyperion is sending appears to be changing every time a colour code is sent. Except for when intensity is full (one or all colour values are 255).


    Video examples:
    Arduino just plugged into laptop: https://photos.app.goo.gl/NcFimgqvgNfivbTW8
    Arduino booting up plugged into Pi running Hyperion (WARNING strobe-like): https://photos.app.goo.gl/bmNueNBpomyPgeDj6
    Testing through HyperCon colour wheel: https://photos.app.goo.gl/jgzwn1YxgLZv9S276


    The fist video is the "INITIAL_LED_TEST" running without the Arduino being connected to he Pi.
    Second video is the same thing connected to the Pi.
    In the third video I set the colour to 255 blue and click a few times - no change - working fine.
    I then set the value to ~135 blue and click repeatedly - you can see the intensity changes every time I click and sometimes the colour changes. Not sure how to correct. I'm guessing there's either something wrong with the way I've set Hyperion up or the Arduino code for interpreting the Adalight "Magic Word".


    Have tried messing around with baud rate to no avail. And changing pin on the Arduino. And changing rgb order in arduino and hyperion configuration files. I've run loads of fast-LED examples just from the Arduino and some custom ones myself sending the same colour loads of times in a row and they all work fine so I don't think there's anything wrong with the Uno.


    Have been stuck troubleshooting for ages now so any help would be greatly appreciated! I'm quite new to this so may be doing something stupid but I can't find anything...


    Cheers,
    Ben