ESP8266 with Neopixel crashes
Posted: Sun Mar 08, 2020 8:18 am
Hello all,
tried my very first steps on the ESP8266 with the following configuration:
- NodeMCU Lua Lolin WiFi V3 Modul ESP8266 ESP-12E
- one WS2812 LED
- IDE: Arduino IDE
First I tried some generic WiFi demo code to sort out connection issues - it worked well - the ESP8266 connected to my wifi - so I moved to the Neopixel control - and that's when things went wrong.
Even this very simple demo code will make the ESP8266 crash:
It compiled and uploaded well - but the LED did not turn on (tested the code on an Arduino Nano - works!)), so I checked the IDE's serial monitor and it shows the following repeating error message:
I checked for the latest firmware and flashed it - no difference. Checked the library, too - latest version is installed.
Any hints what could cause this and how I can eliminate the problem?
Thanks!
tried my very first steps on the ESP8266 with the following configuration:
- NodeMCU Lua Lolin WiFi V3 Modul ESP8266 ESP-12E
- one WS2812 LED
- IDE: Arduino IDE
First I tried some generic WiFi demo code to sort out connection issues - it worked well - the ESP8266 connected to my wifi - so I moved to the Neopixel control - and that's when things went wrong.
Even this very simple demo code will make the ESP8266 crash:
Code: Select all
#include <Adafruit_NeoPixel.h>
#ifdef __AVR__
#include <avr/power.h>
#endif
#define PIN 6
Adafruit_NeoPixel strip = Adafruit_NeoPixel(1, PIN, NEO_GRB + NEO_KHZ800);
void setup() {
strip.begin();
strip.setPixelColor(1, strip.Color(255, 255, 255));
strip.show();
}
void loop() {
delay(1000);
}
It compiled and uploaded well - but the LED did not turn on (tested the code on an Arduino Nano - works!)), so I checked the IDE's serial monitor and it shows the following repeating error message:
Code: Select all
ets Jan 8 2013,rst cause:4, boot mode:(3,6)
wdt reset
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
vbc204a9b
~ld
I checked for the latest firmware and flashed it - no difference. Checked the library, too - latest version is installed.
Any hints what could cause this and how I can eliminate the problem?
Thanks!