Shop OBEX P1 Docs P2 Docs Learn Events
Infrared Emitter and Phototransistor Detector Help Please! — Parallax Forums

Infrared Emitter and Phototransistor Detector Help Please!

Predat0rPredat0r Posts: 2
edited 2008-06-16 21:19 in BASIC Stamp
Hi all;

I am doing this for a school project, it is a "car" with a continuous servo. I wanted to attach the Infrared Emitter and Detector so that when the car gets close to a wall it stops.
using this: www.radioshack.com/product/index.jsp?summary=summary&techSpecs=techSpecs&currentTab=custRatings&custRatings=custRatings&features=features&accessories=accessories&productId=2049723&support=support&tab=summary

this is kind of like this question http://forums.parallax.com/showthread.php?p=731431

but I was hoping someone could draw a quick schematic as to how to connect this exactly. I have it wired now, but I am not sure if it works.

Also, how would I go about coding this?

I spent the entire day looking for an answer, but because i am not using the 555 chip, I cannot find anything specific. The only chip at my disposal right now is the LM358N. I am also new, as you can tell.

Thank you!! smile.gif

Comments

Sign In or Register to comment.