1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help with led brightness (ws2801+arduino uno+Rpi3)

Discussion in 'Hyperion General' started by tushark2, 10 June 2017.

  1. tushark2

    tushark2 New Member

    Messages:
    5
    Hardware:
    RPi3, 32/64bit, +Arduino
    Hello,
    i am new to this forum.. i have already completed building ambilight for any HDMI source but i have a problem with led brightness. ihave read somewhere tht you can increase brightness without effecting your gamma and color

    Things: Raspberry pi 3 with hyperion installed
    - arduino uno r3 connected to raspberry via usb
    - ws2801 5050 (total 69leds) led powered by 5v 8A power supply connected to arduino

    i have 4 hdmi input
    1.STB
    2. PS3
    3. RPI3
    4. My laptop
    all these are connected to 5 port hdmi switcher and the output goes to 2 port hdmi spliter

    2 port hdmi splitter - one output goes to tv and another one goes to hdmi2av
    from hdmi2av - one video rc cable to easycap video grabber and grabber usb to raspberry pi

    i have set gamma and color correction in hyperion
    the only problem is led brightness

    my arduino sketch :-

     
    Last edited: 10 June 2017
  2. tushark2

    tushark2 New Member

    Messages:
    5
    Hardware:
    RPi3, 32/64bit, +Arduino
    Can someone plz help me ..

    Should i add :
    #define MAX_BRIGHTNESS 255

    To sketch?
     
  3. tushark2

    tushark2 New Member

    Messages:
    5
    Hardware:
    RPi3, 32/64bit, +Arduino
    no one to help ?
     
  4. penfold42

    penfold42 Moderator Developer

    Messages:
    750
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    Adding max_brightness won't help - I don't think anything else in the sketch acres about it.

    I can't see how you can adjust brightness separate from gamma and colour correction - I'm no vision expert but aren't they fairly interdependent ?

    Do you get sufficient brightness on effects and setting solid colours ?
     
  5. tushark2

    tushark2 New Member

    Messages:
    5
    Hardware:
    RPi3, 32/64bit, +Arduino
  6. penfold42

    penfold42 Moderator Developer

    Messages:
    750
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    How did you fix it ?
     
  7. tushark2

    tushark2 New Member

    Messages:
    5
    Hardware:
    RPi3, 32/64bit, +Arduino
    I added
    #define BRIGHTNESS 255
    And
    // Adjust brightness to maximum possible while keeping the same hue.
    leds.maximizeBrightness(200);

    This will make led brighter without effecting colors