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

Wemos D1 Mini und die WS2801

Discussion in 'German Talk' started by Cupra-Bo, 1 December 2018.

  1. Cupra-Bo

    Cupra-Bo New Member

    Messages:
    7
    Hardware:
    RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    Servus jungs,, hab hier noch 50 WS2801 liegen die ich gerne mit Hyperion verwenden würde !

    Hab auch noch 1-2 Wemos D1 mini hier liegen leider will das nicht so !

    Ich hab in der Config

    Code:
    #define CONFIG_LED_SPI_CHIPSET WS2801 //Comment out for clockless
    //#define CONFIG_LED_CLOCKLESS_CHIPSET WS2812B //Comment in for clockless
    //#define FASTLED_ALLOW_INTERRUPTS 0 //Comment in if clockless stripe (ex. WS2812B) is flickering
    //#define CONFIG_LED_PWM 1 //Comment in if PWM Stripe
    
    #define CONFIG_LED_DATAPIN  D1 //Comment out for PWM
    #define CONFIG_LED_CLOCKPIN D2 //Comment out for clockless / PWM
    //#define CONFIG_LED_PWM_RED D1 //Comment in for PWM
    //#define CONFIG_LED_PWM_GREEN D2 //Comment in for PWM
    //#define CONFIG_LED_PWM_BLUE D3 //Comment in for PWM
    
    //Pin order, see FastLED doc. NodeMCU should work with FASTLED_ESP8266_RAW_PIN_ORDER
    //#define FASTLED_ESP8266_RAW_PIN_ORDER
    //#define FASTLED_ESP8266_NODEMCU_PIN_ORDER
    #define FASTLED_ESP8266_D1_PIN_ORDER
    
    Wo ist mein Fehler ?

    Gruß
     
  2. Akriss

    Akriss Active Member

    Messages:
    378
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    Try this:
    Code:
    #define CONFIG_LED_SPI_CHIPSET WS2801 //Comment out for clockless
    //#define CONFIG_LED_CLOCKLESS_CHIPSET WS2812B //Comment in for clockless
    //#define FASTLED_ALLOW_INTERRUPTS 0 //Comment in if clockless stripe (ex. WS2812B) is flickering
    //#define CONFIG_LED_PWM 1 //Comment in if PWM Stripe
    
    #define CONFIG_LED_DATAPIN  D7 //Comment out for PWM  <<
    #define CONFIG_LED_CLOCKPIN D5 //Comment out for clockless / PWM   <<
    
    //#define CONFIG_LED_PWM_RED D1 //Comment in for PWM
    //#define CONFIG_LED_PWM_GREEN D2 //Comment in for PWM
    //#define CONFIG_LED_PWM_BLUE D3 //Comment in for PWM
    
    //Pin order, see FastLED doc. NodeMCU should work with FASTLED_ESP8266_RAW_PIN_ORDER
    
    #define FASTLED_ESP8266_RAW_PIN_ORDER  //<<<
    
    //#define FASTLED_ESP8266_NODEMCU_PIN_ORDER
    //#define FASTLED_ESP8266_D1_PIN_ORDER
    On the Wemos's I use those settings for WS2801 and APA102 as well. just need to change the led type.

    Hope it is of help.
     
  3. Cupra-Bo

    Cupra-Bo New Member

    Messages:
    7
    Hardware:
    RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    Thanks

    yellow D1
    Green D2

    or D5 and D7 on the board

    EDIT: Dont work on D1 and D2

    Dont Work on D5 and D7 :(
     
    Last edited: 2 December 2018
  4. Akriss

    Akriss Active Member

    Messages:
    378
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    wemos.png + the above sketch config. works for me.
    Might need a level shifter/buffer for long strings.
     
  5. Cupra-Bo

    Cupra-Bo New Member

    Messages:
    7
    Hardware:
    RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    I do not have a stripe I have normal LEDs 50 pieces

    With an Arduino Uno go the LED's -.-
     
  6. Cupra-Bo

    Cupra-Bo New Member

    Messages:
    7
    Hardware:
    RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    Can i test your complete Sketch?
     
  7. Akriss

    Akriss Active Member

    Messages:
    378
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    Sorry, no. the sketch has unique settings for my network.

    However, if you download the original from ( https://github.com/SciLor/Hyperion_LED-Controller ). And add the changes I posted earlier you well be good to go.
     
  8. Cupra-Bo

    Cupra-Bo New Member

    Messages:
    7
    Hardware:
    RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    Unfortunately, I'm not now ordered a shifter