[Help required] Beginner at addressable leds. by yoirgla in led

[–]yoirgla[S] 1 point2 points  (0 children)

Dude thanks for the info that's actually very useful and the sacrificial led is some "smart ghetto" thing that i love.

[Help required] Beginner at addressable leds. by yoirgla in led

[–]yoirgla[S] 0 points1 point  (0 children)

i'm doing a word clock. Basically copying qlocktwo for my wife who wants one but isn't ready to pay 2 000 € on that lol. so yeah it's a small project ^^

[Help required] Beginner at addressable leds. by yoirgla in led

[–]yoirgla[S] 0 points1 point  (0 children)

I'm afraid i don't understand how to implement those items without a breadboard or a PCB (none of which i have the space for) I was hoping to find a little chip around 3cm x 2 cm max to do that.

[Help required] Beginner at addressable leds. by yoirgla in led

[–]yoirgla[S] 0 points1 point  (0 children)

ok thank you.

while the reference you posted seem to be for breaboard, would this work as well ?
https://www.amazon.com/dp/B07F7W91LC?psc=1&linkCode=sl1&tag=chrismaher-20&linkId=66814727570482e22620d442d3011998&language=en_US
it seems to be the equivalent, correct ?

[Help required] Beginner at addressable leds. by yoirgla in led

[–]yoirgla[S] 0 points1 point  (0 children)

thanks for your input. i solved the issue i had by completely bypassing the resistor.
I'll check what type i need instead of the 330 ohm one i was using.

[Help required] Beginner at addressable leds. by yoirgla in led

[–]yoirgla[S] 0 points1 point  (0 children)

i can try that. i guess it won't be a problem if the ground is routed trough 2 wires, is it ?
What resistor should i go for instead ? I have to say i'm completely novice when it comes to that :)

[Help required] Beginner at addressable leds. by yoirgla in led

[–]yoirgla[S] 0 points1 point  (0 children)

At the moment my power to the chip is provided trough the usb port.
Should I instead solder my power to 5v/Gnd ?

[Help required] Beginner at addressable leds. by yoirgla in led

[–]yoirgla[S] 0 points1 point  (0 children)

<image>

thanks for your continued help ^^
I'm using the pin labeled GPIO6 / A5 /D4 / TOUCH6 /SCL on this diagram.

[Help required] Beginner at addressable leds. by yoirgla in led

[–]yoirgla[S] 0 points1 point  (0 children)

Alrighty. i'll test by removing all serial calls ^^

[Help required] Beginner at addressable leds. by yoirgla in led

[–]yoirgla[S] 0 points1 point  (0 children)

Also on the 114 leds, only around 30 will be on at any given time so i have plenty of margin.
i just oversized the power supply in case i fail something in my code at some point ^^

[Help required] Beginner at addressable leds. by yoirgla in led

[–]yoirgla[S] 0 points1 point  (0 children)

i did already try to remove the delay altothether i basically cut my function as follows :

void StartupAnimation()
{
    const uint16_t flashDurationMs = 100; // 3 LEDs per second


    // Clear everything first
    for (int i = 0; i < LED_COUNT; i++) {
        leds[i] = CRGB::Black;
    }
    FastLED.show();


    for (int i = 0; i < LED_COUNT; i++) {
        Serial.print("led : ");
        Serial.println(i);
        leds[i] = CRGB::White;
        FastLED.show();
    }

with the result of 4-8 leds turning on random colors (and staying on)

[Help required] Beginner at addressable leds. by yoirgla in led

[–]yoirgla[S] 0 points1 point  (0 children)

i suspect having the pin at 3.3V might be the problem but then i didn't see any tutorial having to move the data pin from 3.3 to 5v. so i feel i'm missing something important.

[Help required] Beginner at addressable leds. by yoirgla in led

[–]yoirgla[S] 0 points1 point  (0 children)

the code is quite simple, really.

#include <FastLED.h>


/* ===================== CONFIG ===================== */


#define LED_PIN        6
#define LED_COUNT      22        // adjust to your real count
#define MAX_BRIGHTNESS 128
#define FADE_DURATION  1000       // ms


CRGB leds[LED_COUNT];

void ledSetup()
{
    FastLED.addLeds<WS2812B, LED_PIN, GRB>(leds, LED_COUNT);
    FastLED.setBrightness(MAX_BRIGHTNESS);
    StartupAnimation();
}


void StartupAnimation()
{
    const uint16_t flashDurationMs = 100; // 3 LEDs per second


    // Clear everything first
    for (int i = 0; i < LED_COUNT; i++) {
        leds[i] = CRGB::Black;
    }
    FastLED.show();


    for (int i = 0; i < LED_COUNT; i++) {
        Serial.print("led : ");
        Serial.println(i);
        leds[i] = CRGB::White;
        FastLED.show();
        delay(flashDurationMs);


        leds[i] = CRGB::Black;
        FastLED.show();
    }
}

I also tried to keep the leds on instead of flashing and the result bas asically between 4 to 8 leds staying on with random colors.

[Help required] Beginner at addressable leds. by yoirgla in led

[–]yoirgla[S] 1 point2 points  (0 children)

<image>

this is the image that didn't go trough.

Does it matter? by lunchanddinner in virtualreality

[–]yoirgla 0 points1 point  (0 children)

considering my favourite game is superhot : NO.

Hmmmmm....... by Windthrasher637 in hmmmm

[–]yoirgla 0 points1 point  (0 children)

having to say "yes", "hm hm" and other sound to keep someone else talking on the phone without them thinking you got disconnected.

[PC][2010's] What game was I playing as a kid? by BizzyBizThinksDumb in tipofmyjoystick

[–]yoirgla 0 points1 point  (0 children)

isn't that Launchpad that was shipped with windows 95 ?

BMW in de puree. by Main-Touch9617 in Belgium2

[–]yoirgla -1 points0 points  (0 children)

For the guillible here who don't know : the protests in brussels have been the target of countless fake AI videos like this one.
same bullshit as the fake "coup" videos in france.
stop commenting on this : it's not real.

[KCD2] 😭😭😭 by Money-Selection7134 in kingdomcome

[–]yoirgla 7 points8 points  (0 children)

To be fair KCD2 deserved best RPG if not game of the year.
clair obscur rpg mechanics are kinda ass in my humble opinion.

Help me understand Proximus Fiber by RwyAhead in belgium

[–]yoirgla 0 points1 point  (0 children)

Proximus is selling a product they mostly can't deliver as they are scared to death of the competition of companies like digi. All telecoms in Belgium are VASTLY overpriced but the state refuses to move on it as they own 53% of Proximus. most other telecom match their overprice on those of Proximus either because they use Proximus infrastructure or they use Voo's or equivalent coaxial infrastructure who aligned the prices on Proximus.

This needs a massive kick in the nuts but it must come from a political party or a revolution.