Made a small update. Bought for my Raspberry 4 a new grabber on USB3 https://aliexpress.ru/item/400…395-1170447613.1597860134. Works much faster than USB2. The following values were 720x480p
Beiträge von AdReD
-
-
Moin moin,
ich brauch mal eure Hilfe ob das alles so klappt wie ich mir das denke.
Erstmal zu den Eckdaten:
TV: 55" 4k HDR
Netzteil: 5V 20A
Stripes: ws2812b mit 60 LED's / Meter
Stripe Länge: alle 4 Seiten, zusammen ca 3,76m - längster Stripe ca. 1,20mDie Stromversorgung wollte ich in jede Ecke legen so das die Stripes auch von beiden Seiten Strom bekommen. So könnte ich doch dünnere Kabel verwenden, oder? Denn die Kabel müssten so im längsten Fall (60cm=36LED's + 35cm=21LED's | max. 3,42A) aushalten. Reichen dort 0,75mm² Kabel?
Ich hab mal meine Paint Skills unter Beweis gestellt und hab ein schönes Schaubild gemalt wie ich mir das vorgestellt habe
.
+ no need to connect to the raspberry, only ground. -
ah la vache, javais pas vu ..
j'ai celui ci :
https://fr.aliexpress.com/item…042311.0.0.5a576c37d2WKXMje vais en commander un autre du coup si celui la va pas.
un consiel pour le bon grabber a acheter ?Better to buy such a grabber. https://aliexpress.ru/item/400…95786339183-04912-_ePNSNV
He's the best I've ever had. -
Code
Alles anzeigen#include "FastLED.h" // How many leds in your strip? #define NUM_LEDS 226 // For led chips like Neopixels, which have a data line, ground, and power, you just // need to define DATA_PIN. For led chipsets that are SPI based (four wires - data, clock, // ground, and power), like the LPD8806 define both DATA_PIN and CLOCK_PIN #define DATA_PIN 13 //#define CLOCK_PIN 6 #define COLOR_ORDER RGB // Adalight sends a "Magic Word" (defined in /etc/boblight.conf) before sending the pixel data uint8_t prefix[] = {'A', 'd', 'a'}, hi, lo, chk, i; // Baudrate, higher rate allows faster refresh rate and more LEDs (defined in /etc/boblight.conf) #define serialRate 500000 // Define the array of leds CRGB leds[NUM_LEDS]; void setup() { // Uncomment/edit one of the following lines for your leds arrangement. // FastLED.addLeds<TM1803, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<TM1804, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<TM1809, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<WS2811, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<WS2812, DATA_PIN, RGB>(leds, NUM_LEDS); FastLED.addLeds<WS2801, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS); // FastLED.addLeds<UCS1903, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<UCS1903B, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<GW6205, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<GW6205_400, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<WS2801, RGB>(leds, NUM_LEDS); // FastLED.addLeds<SM16716, RGB>(leds, NUM_LEDS); // FastLED.addLeds<LPD8806, RGB>(leds, NUM_LEDS); // FastLED.addLeds<WS2801, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<SM16716, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<LPD8806, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS); // initial RGB flash LEDS.showColor(CRGB(255, 0, 0)); delay(500); LEDS.showColor(CRGB(0, 255, 0)); delay(500); LEDS.showColor(CRGB(0, 0, 255)); delay(500); LEDS.showColor(CRGB(0, 0, 0)); Serial.begin(serialRate); Serial.print("Ada\n"); // Send "Magic Word" string to host } void loop() { // wait for first byte of Magic Word for(i = 0; i < sizeof prefix; ++i) { waitLoop: while (!Serial.available()) ;; // Check next byte in Magic Word if(prefix[i] == Serial.read()) continue; // otherwise, start over i = 0; goto waitLoop; } // Hi, Lo, Checksum while (!Serial.available()) ;; hi=Serial.read(); while (!Serial.available()) ;; lo=Serial.read(); while (!Serial.available()) ;; chk=Serial.read(); // if checksum does not match go back to wait if (chk != (hi ^ lo ^ 0x55)) { i=0; goto waitLoop; } memset(leds, 0, NUM_LEDS * sizeof(struct CRGB)); // read the transmission data and set LED values for (uint8_t i = 0; i < NUM_LEDS; i++) { byte r, g, b; while(!Serial.available()); r = Serial.read(); while(!Serial.available()); g = Serial.read(); while(!Serial.available()); b = Serial.read(); leds[i].r = r; leds[i].g = g; leds[i].b = b; } // shows new values FastLED.show();
You need a new sketch Arduino.
In the line "#define NUM_LEDS" put your number of LEDs.
In the line "//#define CLOCK_PIN" put your pin number Arduino.
In Hyperion's settings LED Hardware -->.Baudrate --->change 500 000.
This should work. -
Je viens de recevoir le mien, le même que toi donc, pourrais tu me donner ta config EDID pour avoir 4k sur une sortie et 1080 sur l'autre ? je ne suis pas certain de bien comprendre les instructions sur le boitier et je n'ai pas eu de manuel avec.
Autre chose, j'ai commandé ça :
https://fr.aliexpress.com/item…042311.0.0.701b6c37QiJ8sP
Il me semble avoir compris que tu avais le même également, tu me confirmes que ça fonctionne sans souci ?Je ne peux pas tester pour le moment, j'attend mon Pi4 et surtout je n'ai pas (encore) de TV 4K, mais je prépare mon installation pour quand je vais y passer.
Merci !
Oh yeah. I have the same grabber. https://www.aliexpress.com/ite…042311.0.0.6f7c4c4diybjfy
And it works wonderfully. I just uploaded a video in the next thread where our grabber is used.
https://hyperion-project.org/t…bilight.10622/#post-26536 -
Hello! I shot a video of the test. All colors seem to display correctly. And some more videos from Netflix. I am very pleased with the result. Thanks to the developers Hyperion.ng.
Externer Inhalt www.youtube.comInhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.Durch die Aktivierung der externen Inhalte erklären Sie sich damit einverstanden, dass personenbezogene Daten an Drittplattformen übermittelt werden. Mehr Informationen dazu haben wir in unserer Datenschutzerklärung zur Verfügung gestellt.Externer Inhalt www.youtube.comInhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.Durch die Aktivierung der externen Inhalte erklären Sie sich damit einverstanden, dass personenbezogene Daten an Drittplattformen übermittelt werden. Mehr Informationen dazu haben wir in unserer Datenschutzerklärung zur Verfügung gestellt. -
@Allen B.
Please give me a link to the video that you want to test. I'll shoot a video again. -
Hello! And again, as promised, I am attaching a video with my Ambilight. Not very bright, because the wall is dark gray. But I even like that it is not brighter than TV. Realizing that every detail is important in the assembly, which affects the final result. Here are my build details.
NVIDIA SHIELD TV PRO
RPi3b+ with Raspbian
Arduino NANO
5m WS2812b 226 LEDs (60leds/m)
power supply 75W 12A
4K hdmi splitter with downscaler to 1080p
Video Capture Card USB 2.0 HDMI https://www.aliexpress.com/ite…042311.0.0.44c14c4duQrHRT
55" UHD 4K Smart TV NU7400 Series 7 2018There are slight speed delays. I think it has something to do with MicroSD on Raspberry. I will buy it more quickly and everything will be fine.
Externer Inhalt www.youtube.comInhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.Durch die Aktivierung der externen Inhalte erklären Sie sich damit einverstanden, dass personenbezogene Daten an Drittplattformen übermittelt werden. Mehr Informationen dazu haben wir in unserer Datenschutzerklärung zur Verfügung gestellt. -
In this thread
https://hyperion-project.org/t…ter-supposedly.631/page-7
they say, that the splitter doesn’t convert hdr to sdr on the 1080p output.
@AdReD Don‘t you have the washed out color problems mentioned in the other thread?
I'm not very technical 4K HDR and output two is 1080p SDR, but visually I like the work of my ambilight. And I have no green on a black background. Soon I will post a video, and you yourself will decide whether it shows the color correctly or not.
-
have you tried this Splitter?
Yes. I have a slightly different one.But they are the same. Only mine has more HDMI outputs. It's been two days since he arrived, and it works great! -
When I tried with HDR setting, it just didn’t work.
HDR will work with such HDMI Splitter. -
Got that installed & running but cannot get lights on apart from on boot up.
using arduino from last setup do i need to change any config ?
I have a WS2812 backlight and Exactly like this https://aliexpress.ru/item/400…3112-470956630.1577096002. Using this config on Arduino. The circuit works great!Code
Alles anzeigen#include "FastLED.h" // How many leds in your strip? #define NUM_LEDS 226 // For led chips like Neopixels, which have a data line, ground, and power, you just // need to define DATA_PIN. For led chipsets that are SPI based (four wires - data, clock, // ground, and power), like the LPD8806 define both DATA_PIN and CLOCK_PIN #define DATA_PIN 13 //#define CLOCK_PIN 13 #define COLOR_ORDER RGB // Adalight sends a "Magic Word" (defined in /etc/boblight.conf) before sending the pixel data uint8_t prefix[] = {'A', 'd', 'a'}, hi, lo, chk, i; // Baudrate, higher rate allows faster refresh rate and more LEDs (defined in /etc/boblight.conf) #define serialRate 500000 // Define the array of leds CRGB leds[NUM_LEDS]; void setup() { // Uncomment/edit one of the following lines for your leds arrangement. // FastLED.addLeds<TM1803, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<TM1804, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<TM1809, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<WS2811, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<WS2812, DATA_PIN, RGB>(leds, NUM_LEDS); FastLED.addLeds<WS2812B, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS); // FastLED.addLeds<UCS1903, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<UCS1903B, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<GW6205, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<GW6205_400, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<WS2801, RGB>(leds, NUM_LEDS); // FastLED.addLeds<SM16716, RGB>(leds, NUM_LEDS); // FastLED.addLeds<LPD8806, RGB>(leds, NUM_LEDS); // FastLED.addLeds<WS2801, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<SM16716, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<LPD8806, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS); // initial RGB flash LEDS.showColor(CRGB(255, 0, 0)); delay(500); LEDS.showColor(CRGB(0, 255, 0)); delay(500); LEDS.showColor(CRGB(0, 0, 255)); delay(500); LEDS.showColor(CRGB(0, 0, 0)); Serial.begin(serialRate); Serial.print("Ada\n"); // Send "Magic Word" string to host } void loop() { // wait for first byte of Magic Word for(i = 0; i < sizeof prefix; ++i) { waitLoop: while (!Serial.available()) ;; // Check next byte in Magic Word if(prefix[i] == Serial.read()) continue; // otherwise, start over i = 0; goto waitLoop; } // Hi, Lo, Checksum while (!Serial.available()) ;; hi=Serial.read(); while (!Serial.available()) ;; lo=Serial.read(); while (!Serial.available()) ;; chk=Serial.read(); // if checksum does not match go back to wait if (chk != (hi ^ lo ^ 0x55)) { i=0; goto waitLoop; } memset(leds, 0, NUM_LEDS * sizeof(struct CRGB)); // read the transmission data and set LED values for (uint8_t i = 0; i < NUM_LEDS; i++) { byte r, g, b; while(!Serial.available()); r = Serial.read(); while(!Serial.available()); g = Serial.read(); while(!Serial.available()); b = Serial.read(); leds[i].r = r; leds[i].g = g; leds[i].b = b; } // shows new values FastLED.show(); }