Pages: 1 [2]   Go Down
Author Topic: WS2801 LED's appear to affect IR sensor  (Read 3197 times)
0 Members and 1 Guest are viewing this topic.
Dublin, Ireland
Offline Offline
God Member
*****
Karma: 16
Posts: 553
AnalysIR - IR Analyzer & Decoder for Arduino & MCUs
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

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

Blog: http://www.AnalysIR.com/blog/     Twitter: @AnalysIR
Read => 10 common pitfalls with Infrared Remote Control :  http://bit.ly/1cvd0at

Offline Offline
Newbie
*
Karma: 0
Posts: 39
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

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.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 17
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Dublin, Ireland
Offline Offline
God Member
*****
Karma: 16
Posts: 553
AnalysIR - IR Analyzer & Decoder for Arduino & MCUs
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Blog: http://www.AnalysIR.com/blog/     Twitter: @AnalysIR
Read => 10 common pitfalls with Infrared Remote Control :  http://bit.ly/1cvd0at

Offline Offline
Newbie
*
Karma: 0
Posts: 17
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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. ?
Logged

Dublin, Ireland
Offline Offline
God Member
*****
Karma: 16
Posts: 553
AnalysIR - IR Analyzer & Decoder for Arduino & MCUs
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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)
Logged

Blog: http://www.AnalysIR.com/blog/     Twitter: @AnalysIR
Read => 10 common pitfalls with Infrared Remote Control :  http://bit.ly/1cvd0at

Offline Offline
Newbie
*
Karma: 0
Posts: 17
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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)
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 2
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
« Last Edit: July 31, 2014, 09:50:42 pm by mishaux » Logged

Pages: 1 [2]   Go Up
Jump to: