A few weeks ago I came upon a German forum posting (http://www.forum-raspberrypi.d…n-wifi-led-controller-udp) detailing how to setup a ESP8266 NodeMCU with Hyperion. (I used Google translate) I was able to setup a ESP8266 ES-12E with a small string of ws2812b as a test and it was working good. So I dismantled it to test some other stuff and ordered some more ESP8266's to setup a bunch of remote pixels. =) And put aside the remote pixel idea till the order arrived.
So I received the Nodemcu's I ordered (Wemos mini's) and sure enough Murphy's law is at work and I can't get it to work on ether of the Nodemcu's type's I have again. And I'm not spotting my error and would greatly appreciate if someone would check my work.
I can run a simple strand test on both board with success with a string of 25 ws2812b's. With ether the Neopixel library or FastLed library. I have attached to this post, some fritzing pictures on the wiring that works for the strand test and for the remote pixel.
The “HyperionRGB.ino” file I have set “#define LED D3” nothing else changed.
The ConfigStatic.h.example is copyed to ConfigStatic.h and edited as such:
/*------------------------------------------------*/
/*Configuration type*/
#define CONFIG_ENABLE_WEBCONFIG 1
//Replaces all values in the webconfig with the ConfigStatic.h values when CONFIG_ENABLE_WEBCONFIG is enabled
#define CONFIG_OVERWRITE_WEBCONFIG 0
/*------------------------------------------------*/
/*Logging level*/
//#define LOGLEVEL LOG_LEVEL_INFOS
//#define LOGLEVEL LOG_LEVEL_DEBUG
#define LOGLEVEL LOG_LEVEL_VERBOSE
/*------------------------------------------------*/
/*Main static configuration*/
//This cannot be changed via web inteface
//#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
#define CONFIG_LED_COLOR_ORDER RGB
#define CONFIG_LED_COUNT 25
//OFF, HYPERION_UDP, STATIC_COLOR, RAINBOW, FIRE2012
#define CONFIG_LED_STANDARD_MODE FIRE2012
#define CONFIG_LED_HYPERION_AUTOSWITCH true
#define CONFIG_LED_STANDARD_MODE_TIMEOUT_MS 5000
/*------------------------------------------------*/
/*Main configuration*/
//You can leave it empty and override it via the web interface on port 80
#define CONFIG_WIFI_SSID "SSIDOFMINE"
#define CONFIG_WIFI_PASSWORD "************"
//#define CONFIG_WIFI_STATIC_IP 1
//const byte CONFIG_WIFI_IP[] = {192, 168, 0, 100};
//const byte CONFIG_WIFI_SUBNET[] = {255, 255, 255, 0};
//const byte CONFIG_WIFI_DNS[] = {192, 168, 0, 1};
#define CONFIG_WIFI_HOSTNAME "ESP8266"
#define CONFIG_PORT_JSON_SERVER 19444
#define CONFIG_PORT_UDP_LED 19446
Alles anzeigen
I have no problems uploading the sketch to ether of the Nodemcu boards, I can log in to the web interface and login with the android app.
However the LED's refuse to work now! And this unskilled hobbyist needs a hand please.
I even tried blowing out the Arduino install and reinstalling it and reinstalling the recommended libraries that SciLor lists in the Git repo as well. =/
I'm lost Help please.
Thank you
Akriss.