Go Down

Topic: WS2801 LED's appear to affect IR sensor (Read 3484 times) previous topic - next topic

AnalysIR

So next update in 3+ weeks, if delivery times are anything like we get in Ireland from AlieExpress. :)

Although, to be fair -  I have never been let down by them.
Visit our Blog about Infrared Remote Control >>>> http://www.AnalysIR.com/blog/  Twitter: @AnalysIR
First Read this PDF=> 10 common pitfalls with Infrared Remote Control >>> http://bit.ly/1cvd0at


So next update in 3+ weeks, if delivery times are anything like we get in Ireland from AlieExpress. :)

Although, to be fair -  I have never been let down by them.

LOL. Amazingly, I've had stuff shipped here (to Vancouver) in under a week.

Even bought some books (on digital logic) from India that arrived pretty quickly.

Nothing surprises me any more.

WeeBo

I just wanted to let you know, you're not the only one.
I'm using the IRremote library, a meter worth of strip lights, an IR receiver and an old stereo remote.
Keep getting invalid code errors which eventually crashes the whole thing and the chip has to be rest.
Tried it on a breadboard, same results.  I thought I was getting noise through the voltage, and with your readings, I'm sort of correct. I'm out of ideas myself.

AnalysIR

@WeeBo
What IR receiver are you using & what is your circuit/code like. ?
Visit our Blog about Infrared Remote Control >>>> http://www.AnalysIR.com/blog/  Twitter: @AnalysIR
First Read this PDF=> 10 common pitfalls with Infrared Remote Control >>> http://bit.ly/1cvd0at

WeeBo

USing TL1838/VS1838B for IR on pin 3
Three IRLB3034 FETs for R-G-B control. Hooked up to pins 9,10,11 respectively.


@WeeBo
What IR receiver are you using & what is your circuit/code like. ?

AnalysIR

These are cheap IR receivers (by price at least ~34 cents). I haven't used them.
According to this datasheet:
http://www.hyzt.com/manager/upimg/200987165540.pdf
There are some external -  2x capacitors & 2xresistors required(or suggested) for the IR recevier circuit.

It was hard to read the DS, but it seems to suggest that the modulation frequency is centered on 38kHz, which should be OK. But unlike the earlier post it doesn't give any details on attenuation at other frequencies. (= low quality??)

I also saw a post on another forum, where somebody had left out a resistor when using a FET to drive this particular LED and which resulted in lots of interference. (can't remember details sorry)
Visit our Blog about Infrared Remote Control >>>> http://www.AnalysIR.com/blog/  Twitter: @AnalysIR
First Read this PDF=> 10 common pitfalls with Infrared Remote Control >>> http://bit.ly/1cvd0at

WeeBo

Yes they are cheap IR's, 5 for 1.34, I can't complain...well, I suppose I can a little.
I did hook up the caps and resitors as per blurry ds I found, this happens with the proper parts in place.
I've unhooked them before to see if that could be the problem after reading the adafruit tut that doesn't use the caps and such, the readings were even worse.


These are cheap IR receivers (by price at least ~34 cents). I haven't used them.
According to this datasheet:
http://www.hyzt.com/manager/upimg/200987165540.pdf
There are some external -  2x capacitors & 2xresistors required(or suggested) for the IR recevier circuit.

It was hard to read the DS, but it seems to suggest that the modulation frequency is centered on 38kHz, which should be OK. But unlike the earlier post it doesn't give any details on attenuation at other frequencies. (= low quality??)

I also saw a post on another forum, where somebody had left out a resistor when using a FET to drive this particular LED and which resulted in lots of interference. (can't remember details sorry)

mishaux

#22
Aug 01, 2014, 04:26 am Last Edit: Aug 01, 2014, 04:50 am by mishaux Reason: 1
Hey all,

I know this thread is a bit stale, but in case anyone else bumps in to this problem, I think I was having it too, and I found a solution.

The problem is that the LED control libraries and the IR receiver libraries are both super time dependent, and they end up fighting over  the arduino's interrupts causing them to produce garbage when used together.

I used a pair of connected arduinos to get around it and achieve remote controlled animation sequences on addressable LEDs without losing performance with the LEDs and without dropping commands from the remote.

More details here: http://industriumvita.com/arduino-ir-remote-controled-ws2811-addressable-leds/

Hope it helps someone!

Go Up