Interference with Ws2812b LED strips when multiple control wires are in one cable?
Hi,
I have a small project where I control 2 LED strips separately with 2 ESP32 C3.
I transmit the control line for each strip using a CAT-7 cable approximately 10 m long. I use a level converter for amplification.
If I route the control lines over 2 individual cables, everything works perfectly.
However, to save space, I want to use only the single CAT cable. However, both strips start flickering and displaying incorrect colors. It seems as if they're interfering with each other in the cable.
I don't know how to solve the problem. CAT-7 cable is designed for frequencies higher than 800 kHz.
I have a logical error and need your help.
Thank you for your answers.
10m? du weiĂźt schon, dass es sich hier um Kleinspannungen von 3.3V handelt ja? Spannungsabfall? Wundert mich, dass es ĂĽberhaupt funktioniert hat. So lange Strecken an den Datenleitungen kannst du vergessen. Das kann nicht stabil funktionieren. häng die esp’s direkt in unmittelbare Nähe der strips. die versorgungsleitungen kannst du ja so lang machen wie du willst indem du entweder die zuleitung von 230v zum netzteil verlängerst, oder eine hohe spannung von zb 12v nimmst und dann einen 5v spannungswandler direkt an den esp’s setzt.
Das ist alles ein Versuchsaufbau gewesen mit dem Zeug was ich noch da hatte. Ich wollte schauen, ob mit einem Pegelwandler der LED-Streifen bei 10m Länge Probleme bekommt. (-> Ohne Pegelwandler ja, mit Pegelwandler ging es einwandfrei).
Dann ist der pegelwandler das problem und zu instabil. auch induktion wird hier ein faktor sein.
There seems to be an induction (interference pulses, also called hum loop in audio technology) in the control lines.
So an inductive problem .
Why and how to avoid:
Good luck!
Thank you for your reply. I hadn't considered the coil issue. ^^
I had supplied the power via a different cable, which is only about 0.5m long, so that shouldn't have any influence.
The inductive problem should also occur if I only supply one LED strip via the cable, but everything works perfectly there.
This is all just a test setup with the stuff I have at the moment to understand and learn for future projects.
Unfortunately, I can only give you hints.
A cable length of 50cm is fine. But even at 50cm, these supply lines can cause minor interference. A capacitor between the positive and negative terminals (directly on the LED chain) will absorb this interference. As I explained, I would try electrolytic capacitors and film capacitors if you have them. Maybe that will help.
You're wrong. Two different signals are needed for interference. A single signal alone can't interfere with itself (only reflections are possible). Mutual interference is much more likely only when a second signal of a similar frequency is added.
It could be that your level converter (3.3V to 5V) is already at its limit, because the description of the level converter (on Aliexpress) explains:
This means a cutoff frequency of 28.8 kHz. It means that signals with higher frequencies (depending on the timing of your control) may not be transmitted cleanly. The 5V control signal (TTL) then no longer quite reaches 0V for low and 5V for high. Instead, at too high a frequency, the square wave signal becomes a rounded triangle/sine signal with flat edges (see here: https://de.wikipedia.org/wiki/Anstiegs-_und_Abfallzeit ). Whether the technical specifications from Aliexpress are accurate is also questionable.
My conclusion is:
It is the simultaneous occurrence of 3 factors that could cause this misbehavior:
PS:
Aliexpress also writes (in an incomprehensible way) something about induction/"floating shielding" in its instructions. So, don't double-wire the ground (=GND) to avoid induction (=coil effect). Quote:
By high voltage, my dear Ali… actually, I mean the 5V voltage. I would call it the 5V side, because in Europe, we understand high voltage to mean something completely different (several thousand volts).
Good luck!
Zur Leistung: Der LED-Streifen ist jeweils nur 1m lang.