infrared sensor HOA0709

Thread Starter

samsoltats

Joined Jul 13, 2010
16
Hey someone out there, I am new into PIC programming and hobby designs, and i am currently trying to configure an infrared reflective sensor "HOA0709" to detect a black line. But i cant get it to work, the photodiode or should i say the transmitter side can switch on with 50mA, i have calculated the resistor before the IRED of 100 ohm but i cant get the sensor to work even just light the LED. it cant even switch the darlington transistor on as a result.

May i please have help on this, i doing a line following robot with multiple input sensors. thank you.

my email: <snip>

Moderator's note: These are public forums, in which the information should be exchanged in the public eye. Seeking private answers goes against the spirit of the forums.
 
Last edited by a moderator:

Markd77

Joined Sep 7, 2009
2,806
How have you got it wired up? A schematic would be good.
The datasheet seems to say that the on state collector current is 1mA which isn't much. Might be hard to see with some LEDs.
 

Thread Starter

samsoltats

Joined Jul 13, 2010
16
Yes the collector of transistor needs 1mA from the driver side or IRED side, i.e. if infrared can't switch on deliberately the emitter side will get nothing to switch on. So as things stands the the photodiode"Ifrared side" needs 50mA to switch on, which implies 100ohm should be enough "according to ohm's law" but still does not work.

As with the circuit, i am new to this forum i dont know how to attach a document here. but i have wired it up exactly as it appear on the datasheet, with addition of limiting resistor of 100 ohm at the anode side of the IRED and 2.2K ohm at emitter side of the darlington transistor to ground. and connected all the cathode to ground. thank you.

I hope this makes sense, to make cognisance of it.

Thanks for help though.
 

bertus

Joined Apr 5, 2008
22,277
Hello,

As for how to manage attachments, this is in the FAQ:

Attachments and Images

How do I attach a file to a post?
To attach a file to your post, you need to be using the main 'New Post' or 'New Thread' page and not 'Quick Reply'. To use the main 'New Post' page, click the 'Post Reply' button in the relevant thread.
On this page, below the message box, you will find a button labelled 'Manage Attachments'. Clicking this button will open a new window for uploading attachments. You can upload an attachment either from your computer or from another URL by using the appropriate box on this page. Alternatively you can click the Attachment Icon to open this page.
To upload a file from your computer, click the 'Browse' button and locate the file. To upload a file from another URL, enter the full URL for the file in the second box on this page. Once you have completed one of the boxes, click 'Upload'.
Once the upload is completed the file name will appear below the input boxes in this window. You can then close the window to return to the new post screen.
What files types can I use? How large can attachments be?
In the attachment window you will find a list of the allowed file types and their maximum sizes. Files that are larger than these sizes will be rejected. There may also be an overall quota limit to the number of attachments you can post to the board.
How do I add an image to a post?
If you have uploaded an image as an attachment, you can click the arrow next to the 'Attachment Icon' and select it from the list. This will be inserted into your post and can be located where you want it displayed.
To include an image that is not uploaded as an attachment and is located on another website, you can do so by copying the full URL to the image, (not the page on which the image is located), and either pressing the 'Insert Image' icon or by typing
after it, ensuring that you do not have any spaces before or after the URL of the image. You can insert pictures from your albums (?) in this way too.

Bertus
 
Top