I am new to this forum and I have signed in since I didn't find a satisfying answer to my problem.
In my project all I need to do is check if something is blocking the path between an emitter and receiver. They are about 1 or 2 meters apart.
I used an IR LED and IR receiver TSOP34836. The problem is that the signal needs to be modulated, so the receiver filters out the continuous signal at 36kHz. This is fine if using a IRremote control, but for my project it is not since I want a continuous signal to constantly check if the path is blocked or not.
I found that TSOP58038 and TSOP4038 can use a continuous signal at 36kHz. But before I order them I would like to know if you guys maybe have a better or easier solution to this problem. Remember that they are at least 1meter apart, better 2meters.
Yes, of course, I have done that and I checked that I am sending out 36kHz ir signal. But I still have problems. My signal is quite strong and even if I cover the receiver it still detects something and of course I don't want that ( I suppose the reflection plays a role here...). I used this code :
for(int i=0;i<70;i++){ // pulsing signal at 36kHz
digitalWrite(pin, HIGH);
delayMicroseconds(1); //duty cycle is therefore lower than 50% because I want to make my signal weaker
digitalWrite(pin, LOW);
delayMicroseconds(13);
}
for(int i=0;i<100;i++){ //pause between the 36kHz signal
digitalWrite(pin, LOW);
delayMicroseconds(7);
digitalWrite(pin, LOW);
delayMicroseconds(7);
}
What if I use a basic raw black LED IR receiver (without the integrated demodulator etc..) and use a continuous DC signal at emitter? I know that can work but how apart can they be to still work, any experience on that?
I think people are looking at apples and oranges. It sounds like the 36khz carrier is being generated, however some sensors require additional modulation of the carrier to generate an output while there are other sensors out there that will give an output as long as the 36khz carrier is present (I got bitten by this one a while back and ended up modulating the 38khz carrier with a 1khz square wave which then was able to be detected by the receiver. I think this is the modulation that is being discussed not the 36 or 38khz carrier. For example, the TS?P4038 comes in several different configurations where the "?" is - according to the
Yes, knew about that, but I didn't dig too deep into the datasheets. Thanks for adding that.
I think receivers that need an interrupted carrier are not really suitable for a beam break sensor.
I always use the PNA4602M and SFH400.
This gives me 5+ meters in daylight with only ~25mA peak LED current. And a <=1msec reaction time.
Leo..
Wawa:
Yes, knew about that, but I didn't dig too deep into the datasheets. Thanks for adding that.
I think receivers that need an interrupted carrier are not really suitable for a beam break sensor.
I always use the PNA4602M and SFH400.
This gives me 5+ meters in daylight with only ~25mA peak LED current. And a <=1msec reaction time.
Leo..
In general, you are correct. I was not aware of the modulated carrier either until it didn't work with a plain carrier and I went back and looked at the data sheets for a while (different part, but same issue). I was looking to grab some pictures of whomever was climbing over the fence and doing things in the back yard. Their dad was NOT happy when I handed him the pictures (I used it to trigger a 35mm camera). heh heh
Nothing that exciting here. Just sports timers.
Picture of a Curling Timer project for practising sliding speed of the stones.
Gate width up to 5 meters, and distance between two gates (start/stop) ~20 meters.
Leo..