Using 2 cloned rows

  • Hi,

    First things first: many thanks for this great project! This is something I wanted to do for ages, and particularly for my PC and video games immersion.


    I'm testing Hyperion on my pc. Here is my setup:
    - Hyperion on Windows with DXGI DDA grabber

    - Arduino Nano connected to PC via USB

    - Adalight based sketch on the Arduino

    - WS2812B based ledstrip with 104 leds

    - Meanwell RS-50-5 power transformer


    It actually work pretty well.
    I modified the Adalight sketch from https://github.com/hyperion-pr…ino/adalight/adalight.ino, so I can :
    - use the leds as a normal lamp when PC is off (serial not detected)

    - modified the startup animation to a constant breathing one untill serial connection is up

    - react to button presses to change between modes (hyperion or lamp etc.)


    However, I found that my ledstrip is not very shiny, so using it as a lamp is not great.

    My idea is to double the ledstrip, so I'll have aproximately 200 leds.
    I would have 2 rows emitting the same color, with the inner row a bit less longer than the outer one.


    I could do to data copy from the arduino sketch, but I was wondering if I could achieve the same using hyperion configuration.

    Ledstrips will be connected in series.

    Is this possible? or do I really need to this from arduino's code?


    Thanks

    • Official Post

    This could work with a suitable LED layout.

    Advanced · Hyperion documentation

    You'd have to assemble the layout yourself.

    Create a layout for each of the 104 and 96 LEDs and combine them accordingly.


    Unfortunately, Arduino cannot be operated with the baudrate (800000) required for WS2812B.


    regards pclin

  • would have 2 rows emitting the same color, with the inner row a bit less longer than the outer one.

    hey. I am thinking you talking about parallel connection of 2 ledstrips.


    in that case you dont have to change the code, you can use more than 1 ledstrip parallel. I did that with Raspi3b on GPIO so I think it should also work on arduino?

  • Thanks for your answers.

    Quote

    hey. I am thinking you talking about parallel connection of 2 ledstrips.


    in that case you dont have to change the code, you can use more than 1 ledstrip parallel. I did that with Raspi3b on GPIO so I think it should also work on arduino?

    I thought about this, but the 2 ledstrips won't have the same length, so that may not properly reflect exactly what's on the screen.


    pclin I'm sorry I don't really understand how I can achieve this with the advanced layout config. An example would really help.


    and, I'm sure to understand: is the nano very limited with my setup (~200 leds)? should I move to an ESP? I don't want a wifi module, serial connection sounds better to me. Currently it's working ok, I did a few tests and didn't noticed a delay or a refresh problem.

    • Official Post

    Create the layout for the first row and copy it into an editor in two tabs. I suspect the second row will have one fewer LED in each corner, for a total of 8 LEDs.

    It's best to also provide more information, LED left, right, top and bottom and starting points for both rows.



    In the second tab, remove the 8 LEDs. Then add the second tab to the end of the first tab. Pay attention to parentheses and commas.

    In Hyperion, set the total number of LEDs, copy it from the editor into the text field, and click "Save Layout."


    Advanced · Hyperion documentation · LED Layout


    regards pclin

    • Official Post

    If you're happy with Arduino, there's no reason to switch.

    200 LEDs will only work at low FPS, otherwise, in addition to the baudrate issue, your CPU and memory will also reach their limits.

    ESP works via WiFi, LAN, and serial connections. For very high baud rates, use HyperSerialESP32.

    Alternatively, use the RP2040.


    regards pclin

    • Official Post

    There are also better LEDs than WS2812B, the successor SK6812 RGBW is much brighter and has better colors.


    regards pclin

  • I think I'm hitting hardware limits: the color change is perceptible between the screen and the leds, the arduino seems to have reached its limit, pushing fps or baudrate makes hyperion or the arduino crash.


    Plus, you're right about the ledstrip I have, not enough bright and blueish at full white. I didn't know about this SK6812 RGBW, and now I have 10 meters of WS2812B :D
    I may switch, or not ahah. I need to think about it.


    Many thanks for all these precious advices.


    Do you recommend a particular ESP32? ESP32-C3 maybe?

    The WROOM are not recommended anymore by espressif for new projects.

    But I've also read on the WLED documentation that the newer models like the C3 are not fully supported by WLED.
    I actually don't know if I'll use WLED, but that make me doubt.

    Edited once, last by bebR: Merged a post created by bebR into this post. ().

    • Official Post

    The bluish white really bothers me, too. I only have WS2812B in a lamp with 256 LEDs.


    regards pclin

    • Official Post

    In Hyperion you can improve the result a little with brightness gain, saturation gain and the gamma values.


    regards pclin

    Dreambox ONE / TWO

    dreamOS OE2.6

    Amlogic S922X - 53.000 DMIPS - 2 GB RAM - 16 GB Flash - Twin-DVB-S2X Tuner - HDR10 - HLG
    -
    AudioDSP: miniDSP 2x4HD - Amp: Pentagon - Lautsprecher ELAC / ARENDAL
    LG OLED65BX9LB (PicCap, hyperion.NG webOS)

    FireTV 4K max

    -
    hyperion (classic) & Plugin HyperionControl | hyperion-ng 2.0.16-beta.1 (dreamOS)
    Hyperion-ng (Debian bullseye)
    -
    6 x ESP32/Wemos D1 mini - WLED - SK6812 RGBW-NW 60 LEDs/m
    FeinTech VSP01201 - Grabber Macrosilicon

    LG TV Hyperion webOS & PicCap


    Ambilight for ever

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!