Parallax Forums
  HomeLog InRegisterCommunity CalendarSearch the ForumHelp
   
Parallax Forums > Public Forums > BASIC Stamp > Infrared detector in place of a phototransistor ??  Forum Quick Jump
 
New Topic Post Reply Printable Version
[ << Previous Thread | Next Thread >> ] | Show Newest Post First ]

charlieknox
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Dec 2004
Total Posts : 26
 
   Posted 11/4/2009 7:27 PM (GMT -8)    Quote This PostAlert An Admin About This Post.
Can I use the infrared detector that comes with the Boebot, coupled with an infrared LED, in place of a phototransistor & light source, for detection of an object breaking the beam?  The application is in a "jam detector", as in a photocopier, that would have 3 horizontally spaced stations with a gap (vertically) between the IR LED and IR detector.  If 2 adjacent detectors sense paper (the beam is blocked), this signifies a jam - if not, all is well.  I know the IR LEDs & detectors are used with the Boebot in a reflective mode.  Can I use them with the LED pointed toward the detector, and when the beam is broken, the detector output changes state?  Thank you for any light (IR or otherwise) you can shed on this.
 
Regards,
 
Charlie 
Back to Top
 

PJ Allen
Counsel of Despair ???



Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Sep 2005
Total Posts : 2807
 
   Posted 11/4/2009 7:38 PM (GMT -8)    Quote This PostAlert An Admin About This Post.
 
 
Back to Top
 

Franklin
Registered Member



Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Oct 2005
Total Posts : 2631
 
   Posted 11/4/2009 7:40 PM (GMT -8)    Quote This PostAlert An Admin About This Post.
Two problems I see, not all paper is opaque to IR and the detector sold by Parallax responds to 38khz pulsed IR so you would need a driver. Why not get a replacement phototransistor?


- Stephen

Back to Top
 

allanlane5
Registered Member



Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Aug 2004
Total Posts : 3574
 
   Posted 11/5/2009 9:37 AM (GMT -8)    Quote This PostAlert An Admin About This Post.
The detector sold by Parallax outputs for a little while after the pulse has gone away. This is how you can use an IR-LED (using FREQOUT IR_Pin, 1, 38000) to illuminate the detector, then IMMEDIATELY do a "PULSIN DetPin, ResVal" to get a "ResVal" pulse width.

So yes, you can do this, assuming the paper isn't transparent to IR light -- which I'd be amazed if it was.
Back to Top
 

charlieknox
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Dec 2004
Total Posts : 26
 
   Posted 11/5/2009 11:41 AM (GMT -8)    Quote This PostAlert An Admin About This Post.
Thank you gentlemen !! I think I'll get some phototransistors to do the job, in line with using the KISS method.

Regards,

Charlie
Back to Top
 
[ << Previous Thread | Next Thread >> ]
New Topic Post Reply Printable Version
 
Forum Information
Currently it is Friday, November 20, 2009 10:40 PM (GMT -8)
There are a total of 393,734 posts in 55,521 threads.
In the last 3 days there were 82 new threads and 700 reply posts. View Active Threads
Who's Online
This forum has 17687 registered members. Please welcome our newest member, mark09.
50 Guest(s), 1 Registered Member(s) are currently online.  Details
Sal Ammoniac