Search found 7 matches

by Coder42
Fri Jan 12, 2024 8:24 pm
Forum: ESP32 Arduino
Topic: Arduino ESP32 SPI output to WS2801 chip inconsistent
Replies: 9
Views: 105452

Re: Arduino ESP32 SPI output to WS2801 chip inconsistent

Solution: Update first, never apologize. I updated all libraries from Adafruit that i used via the Tools->"Manage Libraries" Tab. But more important: Updated the esp32 Core library from expressif via the "Boards Manager" Tab to Version 2.0.14 https://support.arduino.cc/hc/en-us/articles/44046911060...
by Coder42
Thu Jan 11, 2024 11:41 pm
Forum: ESP32 Arduino
Topic: Arduino ESP32 SPI output to WS2801 chip inconsistent
Replies: 9
Views: 105452

Re: Arduino ESP32 SPI output to WS2801 chip inconsistent

No neopixel. I am using a standard WS2801 chip that receives all the data for the 10 successive meters of equal chips. If the first signal comes through right (from SPI to the first LED) then the whole line is correct. No Problems there. But if i turn on WIFI, the SPI picks up noise before the line...
by Coder42
Thu Jan 11, 2024 3:32 pm
Forum: ESP32 Arduino
Topic: Arduino ESP32 SPI output to WS2801 chip inconsistent
Replies: 9
Views: 105452

Re: Arduino ESP32 SPI output to WS2801 chip inconsistent

Alright i found the source. In this project i introduced reactions to wifi sent commands. I had checked this already but forgot to disable the "wifi.begin" command. If i disable all lines that start wifi then the flickering stops. Which means it is a hardware issue what i suspected from the start. A...
by Coder42
Tue Jan 09, 2024 12:03 pm
Forum: ESP32 Arduino
Topic: Arduino ESP32 SPI output to WS2801 chip inconsistent
Replies: 9
Views: 105452

Re: Arduino ESP32 SPI output to WS2801 chip inconsistent

Alright lets do it your way. I suggest looking at the full_controller because that is the shortest. It just playbacks one single color all the time. That is by the loop() calling the full_controller::clock() method repeatedly. To clarify: The bug occurs both at full_controller and rain_controller. A...
by Coder42
Sun Jan 07, 2024 9:42 pm
Forum: ESP32 Arduino
Topic: Arduino ESP32 SPI output to WS2801 chip inconsistent
Replies: 9
Views: 105452

Re: Arduino ESP32 SPI output to WS2801 chip inconsistent

Reviewing is not the problem. The code is functional but somehow the SPI-output gets corrupted after it is sent to the SPI but only sometimes. The data is correct when i create it in my classes. I do not know where to set my hooks if the data is not corrupted within my own class. Or which hook to se...
by Coder42
Sun Jan 07, 2024 4:16 pm
Forum: ESP32 Arduino
Topic: Arduino ESP32 SPI output to WS2801 chip inconsistent
Replies: 9
Views: 105452

Arduino ESP32 SPI output to WS2801 chip inconsistent

I've built my own led controller with a ESP32 D1 Mini / D1 Mini ESP32 from AZ-Delivery. It has done it's job exclusively well until i tried building my own classes in the Arduino. Mainly these handle what colours the lights have and do not influence any hardware directly. I have checked all the wiri...