<div dir="ltr">Chip,<div><br></div><div>I have lots of thoughts, but I don't think any of them get you around near end cross talk (NEXT) which is essentially what this is.  Any filtering would have to allow for the round trip to the reflector which will suffer air gap loss so shorter reflection paths will have higher return power and likely overcome polarization and filtering.  Separating the transmitter and receiver a few feet apart might help as may baffles to reduce NEXT.  You might also measure delay from transmit to detect, but some part of me screams we don't know what the light path will look like and it might be so short as to be meaningless lacking a coherent light source like a laser.  Short of placing the receiver on the other side of the path, I think heavy fog and rain create an out of service condition that you can likely live with and use handwavium (tm) to explain away.  "These are not the counts you're looking for."</div><div><br></div><div>Mike</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 25, 2016 at 11:03 AM, Chip McClelland <span dir="ltr"><<a href="mailto:chip@mcclellands.org" target="_blank">chip@mcclellands.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Mike,  interesting. Had not thought about reflected light. Is there a way to use polarization to differentiate a signal reflected from the other side and not just from the fog?<div><br></div><div>Thanks,</div><div><br></div><div>Chip<br><br>On Thursday, August 25, 2016, Michael Monaghan <<a href="mailto:mike@chipworks.net" target="_blank">mike@chipworks.net</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Shane,<div><br></div><div>That's elegant and conserves power.  Only think I can think of that _might_ improve on it is to profile the beam break time to optimize the polling period.  Chip might get by with 3 tests a second instead of hundreds and that will feed his battery need.  ;)</div><div><br></div><div>I can confirm your suspicion that fog will reflect an IR beam.  We had a gates in Fernbank Forest that used a reflected IR carrier.  In heavy fog or rain, the sensor would false positive.  Another had remote sense instead of reflected.  In the same conditions it wouldn't detect carrier at all.  Both of these false positives would leave gates open for vehicle traffic crossing unsigned pedestrian pathways.  In the end we put a timer on them to close the gates and hoped no one ever stalled under them.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Mike</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 25, 2016 at 10:46 AM, Shane Trent via TriEmbed <span dir="ltr"><<a>triembed@triembed.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Chip,<div><br></div><div>I think you could set timer for the carrier generation to produced 15 cycles and have the interrupt from the IR detector stop the pulse generation and set your result flag. So if you reach 15 cycles, the path to the reflector was blocked indicating an object in the path. This would let you keep your IR LED drive time as short as possible by turning off the drive as soon as the carrier is detected. So if your detector is awesome and locks in 7 cycles, it only get 7 cycles. If the detector needs 12 cycles, it gets only 12 cycles. </div><div><br></div><div>I wonder if heavy fog or rain would reflect enough of the IR to trick the receiver into believing it could ALWAYS see the reflective target?</div><div><br></div><div>Shane<br><div><br><div class="gmail_quote"><div dir="ltr">On Wed, Aug 24, 2016 at 11:57 PM Chip McClelland via TriEmbed <<a>triembed@triembed.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Shane, <div><br></div><div>That makes a lot of sense.  By looking at a specific time and for a specific carrier frequency (38 kHz), I can better see the signal against the background noise.  </div><div><br></div><div>So, instead of a phototransistor circuit, I would use an IR receiver sensor such as this one - <a href="http://www.vishay.com/docs/82474/tssp4p38.pdf" target="_blank">http://www.vishay.com/docs/8<wbr>2474/tssp4p38.pdf</a></div><div><br></div><div>To reduce the duty cycle, I would only run the 38kHz signal in bursts or 10-12 pulses.</div><div><br></div><div>Will check this out.</div><div><br></div><div>Chi</div><div><br></div></div>
</blockquote></div></div></div></div>
<br>______________________________<wbr>_________________<br>
Triangle, NC Embedded Computing mailing list<br>
<a>TriEmbed@triembed.org</a><br>
<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" rel="noreferrer" target="_blank">http://mail.triembed.org/mailm<wbr>an/listinfo/triembed_triembed.<wbr>org</a><br>
TriEmbed web site: <a href="http://TriEmbed.org" rel="noreferrer" target="_blank">http://TriEmbed.org</a><br>
<br></blockquote></div><br></div></div><span class="HOEnZb"><font color="#888888">
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br>-- <br>Sent from my iPhone - please excuse the typos<br>
</font></span></blockquote></div><br></div>