I'm trying to tranform my idea (time counting and displaying IR gate) to reality, but I came across the first problem.
I'm not able to make functioning continuous "not broken beam reading".
Simply: I just copied followed these instructions:
and...boom, it works...kind of.
It perfectly detects remote controllers for example. But there is a problem with my IR LED.
When take the LED aim at reciever, "status led" lights up, but only for a few seconds (approx. 2,5s).
No continuous "reading" is possible.
I read all the comments above the instructions, but none of the solutions seems to work...
Used IR reciever: HX1838
Can I solve the problem with some changes in the code?
JohnyStone:
Sorry, I thought that link would be enough, sorry
We don't charge by the word. How about a good description of what you are trying to do and what you are using so we don't have to try to figure it out by reading your program?
My guess is that you are setting up some IR transmitter to send a signal continuously and you are using an IR receiver to detect the reflected IR light. Is that correct?
What are you using to send the signal?
Post a link to the datasheet for the detector.
Robin2:
How about a good description of what you are trying to do
Code and schematics are in the link I posted. I just didn't copy and paste it. Next time I will list all the information here. Sorry for that misunderstanding.
Robin2:
My guess is that you are setting up some IR transmitter to send a signal continuously and you are using an IR receiver to detect the reflected IR light. Is that correct?
That is correct. Exactly. And my problem is that i'm not able to detect continuous signal.
For example:
You place and aim the IR transmitter (IR LED) at the IR reciever AND you put your hand in between. Then you put your hand away and you can see the reciever reacts to the light, BUT only for about 2,5 seconds, then it just stops (no signal anymore). You have to put your hand back in between to block the signal, and put it away again to see the same thing - 2,5 sec long "positive reading".
In this case I have installed a red colored led diode (status pin), which lights up when the IR reciever detects IR beam.
Robin2:
What are you using to send the signal?
Just an ordinary IR LED:
10°
50mA
1,55 - 1,8V
through 220 ohm resistor
Robin2:
Post a link to the datasheet for the detector.