quark576
Newbie
Offline
Posts: 19
Thank You
-Given: 13
-Receive: 13
|
|
« on: November 15, 2007, 12:27:51 00:27 » |
|
I experiment a IR barrier with two pic ,one for Tx (driver with 16f648 Pwm 30 Khz) switch On/Off the carrier , another with sfh505 IR receiver all is OK I reach indoor about 5 meters but in external don't work I test with a TV remote and seem work fine, may be I want a more power ?
any idea ? Thanks
|
|
|
Logged
|
|
|
|
FaithNoMore
Translator
Junior Member
Offline
Posts: 56
Thank You
-Given: 16
-Receive: 91
|
|
« Reply #1 on: November 15, 2007, 02:03:42 02:03 » |
|
Use IR Laser LED and add lenses on both TX and RX if you have them.
|
|
|
Logged
|
|
|
|
FriskyFerret
Hero Member
Offline
Posts: 560
Thank You
-Given: 513
-Receive: 360
Put it in, take it out.
|
|
« Reply #2 on: November 15, 2007, 02:43:21 02:43 » |
|
How hard are you driving the IR emitter? Because its a pulsed application you can usually exceed the manufacturer's maximum current rating as long as you keep the average power with specification limits.
|
|
|
Logged
|
Dancing pants and leotards, that's what I'm talkin' about!
|
|
|
bogdantk
Active Member
Offline
Posts: 100
Thank You
-Given: 40
-Receive: 18
|
|
« Reply #3 on: November 15, 2007, 06:49:03 06:49 » |
|
Hello The receiver has an automatic gain control. When exposed to sunlight the receiver front end is saturated and the gain is minimal so the barrier active zone is very short. To avoid this try to put the receiver in a shade avoiding direct or reflected sun light, also a very useful solution is a tube with 20-40 mm diameter and 30-40 mm long coaxial with the receiver active area (a small lens). All the best Bogdan
|
|
|
Logged
|
|
|
|
freddy
Newbie
Offline
Posts: 15
Thank You
-Given: 0
-Receive: 7
|
|
« Reply #4 on: November 15, 2007, 10:13:15 10:13 » |
|
Yes quark576 i confirm the bogdantk opinion. With sunlight the AGC is in saturated mode. I've try some yrs ago with TSOP1730(30KHz) TSOP1738(38KHz) of Vishay an outdoor application and i've do 6 meter with no problem. I think thats' AGC of TSOP working better of AGC of SFH505. Try with TSOP but a little tube is ever the optimal solution.
Bye
|
|
|
Logged
|
|
|
|
quark576
Newbie
Offline
Posts: 19
Thank You
-Given: 13
-Receive: 13
|
|
« Reply #5 on: November 15, 2007, 08:18:44 20:18 » |
|
Ok , I will test next week end .I have also Tsop 1138 to try. I will inform a forum with my tests.
Thanks for All
|
|
|
Logged
|
|
|
|
tae
Guest
|
|
« Reply #6 on: December 01, 2007, 01:56:35 01:56 » |
|
As freddy said , use modulated signal and decouple DC from the photodiode. Diode should be biased such as it should not saturate from neither excessive radiation nor from dark current dependent on temperature (btw the first part is much more) . Things can do better if at reception side you will add bandpass filter , and if more distance is needed - put more diodes in parallel . Laser is good choice but its ray should be aligned to photo receiver . 6 meters is not a problem for IR.
Please pay attention to sensitivity and threshold of receiver . IR can easily be reflected from walls or any other objects so cross detection wont work .
|
|
|
Logged
|
|
|
|
abc
Newbie
Offline
Posts: 9
Thank You
-Given: 22
-Receive: 3
|
|
« Reply #7 on: January 16, 2008, 10:11:40 10:11 » |
|
hello quark576, u can use tsop1738 also
|
|
|
Logged
|
|
|
|
localcrack
Active Member
Muted
Offline
Posts: 173
Thank You
-Given: 64
-Receive: 21
|
|
« Reply #8 on: January 16, 2008, 08:15:26 20:15 » |
|
you may use coding style like HLHHLH or any other and decode with pic for accurate result. you may define bit time in software and chek that bit time at other end in decoding. in this way you remover false triggering.
|
|
|
Logged
|
|
|
|
|