11760 views|19 replies

22

Posts

0

Resources
The OP
 

Anti-interference problem of ws2812b light strip [Copy link]

 
Probably because there is a long connecting wire in the middle, only the first section of the light strip is on. I want to use a pair of max485 for conversion in the middle. Can it achieve the anti-interference effect?
This post is from Embedded System

Latest reply

trx007 posted on 2022-2-14 20:49 Brother, the color of my first light is abnormal, but the colors of the following lights are normal. What could be the problem? Sorry, just saw this The first light is abnormal. It may be that the timing after sending data is incorrect. You can see it by trying to change the number of points of the light. After sending data, it will start to display after a period of time. There is a minimum value but no maximum value during this period.   Details Published on 2022-2-20 13:51

1w

Posts

25

Resources
2
 

WS2812 is single-line control, not RS485, and has strict timing requirements. If you use max485 for signal conversion, it may be possible. The maximum rate of max485 is 2.5M, which is greater than WS2812.

This post is from Embedded System
 
 

1w

Posts

25

Resources
3
 

Or you can consider using RF to extend the distance, as wireless is more flexible.

This post is from Embedded System

Comments

Is nrf24l01 ok?  Details Published on 2020-8-2 21:13
 
 
 

1w

Posts

142

Resources
4
 

Let’s first talk about how your light strips are interconnected and what the specific circuit is.

This post is from Embedded System
 
Personal signature上传了一些书籍资料,也许有你想要的:http://download.eeworld.com.cn/user/chunyang
 
 

22

Posts

0

Resources
5
 
dcexpert published on 2020-8-2 11:00 Or you can consider using RF to extend the distance, the wireless method is more flexible.
Is nrf24l01 okay?
This post is from Embedded System

Comments

nrf20L01 or other wireless chips can be used to send control instructions to the wireless through the microcontroller, but the timing signal of WS2812 cannot be directly transmitted.  Details Published on 2020-8-3 08:51
 
 
 

4005

Posts

0

Resources
6
 

Use an oscilloscope to see what the reason is

This post is from Embedded System
 
 
 

2w

Posts

341

Resources
7
 

How long is the longer line in the middle?

What is the effect of interference and how to solve it

This post is from Embedded System

Comments

It should be more than 3 meters. The first part is normal, and the latter part flashes randomly.  Details Published on 2020-8-3 15:11
 
 
 

1w

Posts

25

Resources
8
 

nrf20L01 or other wireless chips can be used to send control instructions to the wireless through the microcontroller, but the timing signal of WS2812 cannot be directly transmitted.

This post is from Embedded System
 
 
 

22

Posts

0

Resources
9
 
qwqwqw2088 posted on 2020-8-3 08:46 There is a long line in the middle. How long is the interference situation and what is the effect? Let's talk about the solution
It should be more than 3 meters. The first section is normal and the latter flashes randomly.
This post is from Embedded System

Comments

I have also been using this light recently, and it occasionally flickers abnormally, but I don't think it is interference, but a timing problem. I am still working on it. I don't know if this is what you are talking about.   Details Published on 2020-8-4 00:56
 
 
 

4005

Posts

0

Resources
10
 
sgz10010010 posted on 2020-8-3 15:11 It should be more than 3 meters. The first section is normally bright, and the latter flashes randomly

I have also been using this light recently, and it occasionally flickers abnormally, but I don't think it is interference, but a timing problem. I am still working on it. I don't know if this is what you are talking about.

wx_camera_1596473006384.mp4 (746.71 KB, downloads: 75)

This post is from Embedded System
 
 
 

2w

Posts

341

Resources
11
 

The random flashing at the back is a timing control problem. The ws2812b protocol has frequency requirements.

Interference phenomenon should be mostly in the case of slight brightness

This post is from Embedded System

Comments

Yes, I changed the interrupt priority.  Details Published on 2020-8-4 17:17
 
 
 

4005

Posts

0

Resources
12
 
qwqwqw2088 posted on 2020-8-4 07:38 The random flashing at the back is a control timing problem. The ws2812b protocol has frequency requirements. The interference phenomenon should be mostly in the case of faint brightness

Yes, I changed the interrupt priority.

This post is from Embedded System
 
 
 

310

Posts

5

Resources
13
 

At a distance of 3 meters, will the signal attenuation be serious?

This post is from Embedded System
 
 
 

2

Posts

0

Resources
14
 
qwqwqw2088 posted on 2020-8-4 07:38 The random flashing at the back is a control timing problem. The ws2812b protocol has frequency requirements. The interference phenomenon should be mostly in the case of faint brightness

Hello, I have a similar problem, but the situation is serious and it flickers a lot when there is a small amount. I use a single-chip microcomputer with an M0+ core. There is no DMA, just fill the array and then send it out to achieve breathing, but the effect is not ideal, it is stumbling and not smooth at all... What do you mean by the frequency requirement of the protocol? Where should I pay attention in the program?

000.mp4

1.59 MB, downloads: 14

不理想的呼吸

This post is from Embedded System

Comments

It seems that the situation is different from what I said before. It has something to do with the length of the light strip. Too long a line can cause interference.  Details Published on 2021-6-28 13:20
 
 
 

2w

Posts

341

Resources
15
 
Red bean paste siki published on 2021-6-28 11:34 Hello, I also have a similar problem, but the situation is serious and it will flicker when there are trace amounts. I use a microcontroller with an M0+ core. There is no DMA, ...

It seems to be different from what I said before.

It is related to the length of the light strip. Too long a line may cause interference.

This post is from Embedded System
 
 
 

2

Posts

0

Resources
16
 
qwqwqw2088 posted on 2021-6-28 13:20 It seems that the situation is different from what I said before. It has something to do with the length of the light strip. Too long a line can cause interference

OK, thanks!

This post is from Embedded System
 
 
 

23

Posts

0

Resources
17
 
Red bean paste siki published on 2021-6-28 11:34 Hello, I also have a similar problem, but the situation is serious and it will flicker when there are trace amounts. I use a microcontroller with an M0+ core. There is no DMA, ...

If there is no DMA, you can try SPI

This post is from Embedded System
 
 
 

23

Posts

0

Resources
18
 
huo_hu posted on 2020-8-4 17:17 Yes, I changed the interrupt priority later.

Hey, the color of my first light is not normal, but the colors of the following lights are normal. What could be the problem?

This post is from Embedded System

Comments

I use PWM+DMA to drive  Details Published on 2022-2-20 13:51
I use PWM+DMA to drive  Details Published on 2022-2-14 20:55
 
 
 

23

Posts

0

Resources
19
 
trx007 posted on 2022-2-14 20:49 Brother, the color of my first light is abnormal, but the colors of the lights behind are normal. What could be the problem?

I use PWM+DMA to drive

This post is from Embedded System
 
 
 

4005

Posts

0

Resources
20
 
trx007 posted on 2022-2-14 20:49 Brother, the color of my first light is abnormal, but the colors of the following lights are normal. What could be the problem?

Sorry, just saw this

The first light is abnormal. It may be that the timing after sending data is incorrect. You can see it by trying to change the number of points of the light. After sending data, it will start to display after a period of time. There is a minimum value but no maximum value during this period.

This post is from Embedded System
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list