my experience is following:
1.) level shifter is NOT needed
2.) If i use Esp8266 every thing works fine
3.) If i use Esp32 flickering starts -> Timing issue
4.) It does not depend on Wifi and BT off -> still flickering
5.) Most important ist the strip.show() function, i removed it from the code and moved it in a timer interrupt routine
Code: Select all
timer = timerBegin(0, 80, true);
/* Attach onTimer function to our timer */
timerAttachInterrupt(timer, &ISR_Task_10ms, true);
timerAlarmWrite(timer, [b]9000[/b], true); // alle 10 ms
timerAlarmEnable(timer);
Code: Select all
void IRAM_ATTR ISR_Task_10ms()
{
strip.show(); // Initialize all pixels to 'off'
}
values. See attached the logic analyser tape.