Hi all I'm really new to picbasic and to electronics in general.
So please don't be too harsh on me.

I bought this
http://www.radioshack.com/product/in...entPage=search

Here is the back of the package should give more info


What I want to do is basically start a timer when the beam is broken and count every time the beam is broken till its broken 100 times then report back the time.

Lets start with the basics.

So far I have 9V in to a 510 Ohm resistor to the IR led then to ground.
Across from that I have 9V to 10K resistor to the collector side and emitter side to ground.
(connecting a led in series I have been able to get the led to light when the beam is broken
What I'm not sure how to do is get a signal off the detector to a 16F628A input so when the beam is broken I can detect it.

Anyone offer any assistance?