Scale-N

Scale-N

Arduino

Componenten

Rollend Materieel

Naslag

Onderdelen

Wissels

Basis Electronica

Symbols Electronica

Programming Arduino

DCC++

DR5000

Products

Link

Stats













































WS2812B Power Consumption

Length1m
LCD RGB (individually addressable)30 pcs

Simple test code:
#include <FastLED.h>
#define LED_PIN     2
#define NUM_LEDS    30
#define BRIGHTNESS  255 //1..255
CRGB leds[NUM_LEDS];
void setup() {
  FastLED.addLeds<WS2812, LED_PIN, GRB>(leds, NUM_LEDS);
  FastLED.setBrightness(BRIGHTNESS ); 
}
void loop() {
  for(int i=0; i<30; i++)
  {
    leds[i] =CRGB::Red;
    FastLED.show();
    delay(10);
  }
  delay(30000);

  for(int i=0; i<30; i++)
  {
    leds[i] =CRGB::Green;
    FastLED.show();
    delay(10);
  }
  delay(30000);
  
  for(int i=0; i<30; i++)
  {
    leds[i] =CRGB::Blue;
    FastLED.show();
    delay(10);
  }
  delay(30000);
  
  for(int i=0; i<30; i++)
  {
    leds[i] =CRGB::White;
    FastLED.show();
    delay(10);
  }
  delay(30000);

  for(int i=0; i<30; i++)
  {
    leds[i] =CRGB::Black;
    FastLED.show();
    delay(10);
  }
  delay(30000);
}

Red30 sec0.30 amp
Green 30 sec 0.19 amp 
Blue30 sec0.32 amp
White30 sec0.61 amp
Black30 sec0.03 amp