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

HyperionWiFi LED controller - interested ?

Discussion in 'Hyperion Hardware' started by penfold42, 6 June 2016.

  1. darkside40

    darkside40 New Member

    Messages:
    19
    Hardware:
    RPi1/Zero, 32/64bit, +nodeMCU/ESP8266
    Nearly everything has arrived, apart from the levelshifter.
     
  2. darkside40

    darkside40 New Member

    Messages:
    19
    Hardware:
    RPi1/Zero, 32/64bit, +nodeMCU/ESP8266
    Yipee all parts have arrived. I think i will have time at the weekend to assamble everything, in the first step with a rPi as receiver connected to the stripe. So i can see that everything is working before moving on to the ESP.
     
  3. tgbporter

    tgbporter New Member

    Messages:
    16
    Hardware:
    RPi2
  4. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    778
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino
    i have some ideas, i will contact you

    i draw some sketches on paper
     
  5. thommy86

    thommy86 Member

    Messages:
    36
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +PhilipsHue
    @penfold42
    I just flashed your .ino file from page 1 to a wemos d1 mini. I have several questions as I can get a connection to the device.

    - should wifi be preset?
    - how can I connect to it?
    - is your code ready for apa102?
    - if not, how can I make it work?

    I am using a levelshifter and the data pin is connected to the wemos on pin D1, the clock pin is connected to pin D2.
    Further I am running hyperion.ng. If all is working correctly I should set the led harware controller type to udpraw?

    edit:
    after a reflash I got "Not found: /" when going to the ip of the device in chrome.
     
  6. penfold42

    penfold42 Moderator Developer

    Messages:
    655
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    I've stopped development on that.

    Instead I've been working with
    https://github.com/forkineye/ESPixelStick

    There's a branch that does some SPI, but I haven't got any SPI devices.

    It works well with WS2812 led strips using DMX e.131 protocol which I added to Hyperion.ng
     
    • Like Like x 1
  7. thommy86

    thommy86 Member

    Messages:
    36
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +PhilipsHue
    To bad, I got everything setup to flash and I broke the Wemos. With my sleepy head I connected the 5v to the ground pin (and all the other pins 1 pin further). I also have a Goouuu s1 mini. Compiling and uploading is going fine, but no wifi test code is working.

    Also when verifying the ESPixelstick code, I get an error on missing E131Async.h. Is this normal? When sending the code with "ESP8266 Sketch Data Uploader" there is no error. But no result with the Goouuu.

    As I have to order a new device, what device do you advice with the apa102?
     
  8. penfold42

    penfold42 Moderator Developer

    Messages:
    655
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
  9. thommy86

    thommy86 Member

    Messages:
    36
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +PhilipsHue
    Yes, All the requirements for ESPixelstick were met.
     
  10. penfold42

    penfold42 Moderator Developer

    Messages:
    655
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    Hmmm.... if it can't find the header file I suspect the library was installed in the wrong place or maybe you didn't close all arduino GUI windows and restart arduino.

    If it doesn't successfully compile and upload, it won't work at all.
    The upload sketch data only places the HTML content - not the compiled code
     
  11. thommy86

    thommy86 Member

    Messages:
    36
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +PhilipsHue
    There where some strange dependencies. I downloaded the ESPixelstick sources again and tried to compile. Still no good results. Can't find a solution for the error below. Any tips?

    Code:
    C:\Users\Thommy\Documents\Arduino\libraries\ESPAsyncUDP-master\src\AsyncUDP.cpp: In member function 'bool AsyncUDP::listenMulticast(ip_addr_t*, uint16_t, uint8_t)':
    
    C:\Users\Thommy\Documents\Arduino\libraries\ESPAsyncUDP-master\src\AsyncUDP.cpp:248:57: error: 'udp_set_multicast_netif_addr' was not declared in this scope
    
         udp_set_multicast_netif_addr(_pcb, multicast_if_addr);
    
                                                             ^
    
    C:\Users\Thommy\Documents\Arduino\libraries\ESPAsyncUDP-master\src\AsyncUDP.cpp:249:36: error: 'udp_set_multicast_ttl' was not declared in this scope
    
         udp_set_multicast_ttl(_pcb, ttl);
    
                                        ^
    
    exit status 1
    Error compiling for board WeMos D1 R2 & mini.
     
  12. penfold42

    penfold42 Moderator Developer

    Messages:
    655
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
  13. thommy86

    thommy86 Member

    Messages:
    36
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +PhilipsHue
    Sorry! After you mentioned that the libraries where maybe in a wrong folder. I did a reinstall of all packages and I installed 2.3.0. Stupid!

    The ESPixelstick code runs fine now and the web interface to. But as I am using the apa102 leds I wanted to try the ESPixelStick-feature-ws2801. With this code I am running in to the error I mentioned earlier. "missing E131Async.h." This branch is 11 commits behind master. As I have no experience with c++ I am not sure how to fix these issues. Is there a way you could provide me with a solution to get the code working with the apa102?
     
  14. thommy86

    thommy86 Member

    Messages:
    36
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +PhilipsHue
    I have a spare ws2812 strip from my old setup and tested this with Hyperion. Really glad to see how seamless this is working.

    Do you see the apa102 as an upgrade to the ws2812? Or should I order some new ws2812 if I want to take this road with the ESPixel?

    Edit:
    After merging the master into the feature branch, I was able to compile the code. Will test/flash when I get home.

    Edit 2:
    @penfold42 Should the apa102 work out of the box with the ws2801 signal? I only used the test page and was not able to set a static color.
     
    Last edited: 2 September 2017