Results 1 to 5 of 5

Thread: How can I detect a break in a light beam?

  1. #1

    Thread Starter
    Addicted Member Guru's Avatar
    Join Date
    May 2000
    Location
    sulking in the cupboard under the stairs
    Posts
    237

    How can I detect a break in a light beam?

    I want to detect when a Scalextric car passes a certain point on the track

    I've seen this dome with a light source above the track and something set into the track to detect when the car passes

    I understand this is done using a light sensitive transistor set into the track and connected to the joystick port.

    My questions:

    Is a light sensitive transistor called something else because I can't track any down?

    How does it connect to the joystick port?



    Thanks
    Another light-hearted post from Guru

  2. #2
    Frenzied Member Devion's Avatar
    Join Date
    Sep 2000
    Location
    The Netherlands
    Posts
    1,049

    Re: How can I detect a break in a light beam?

    I don't think it's a small little box you just buy in a general store.

    The joystick port is also a midi port and can thus receive data from any device that can send data (and apps listening to the midi/game port can act on it).

    How it's connected to the midi port or lpt/com. I dunno. If you want to try such a project you might first want to go and buy the parts required (and a soldering iron) as you would probably have to put it all together yourself.

    Pin layout and such is important and it's either documented by the company making the PCB/Sensor units or you'll have to figure it out yourself and develop your own communication application to communicate via those pin layouts (RX/TX/etc)

  3. #3
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: How can I detect a break in a light beam?

    I've got one of those light sensor things somewhere, but I've forgotten what it's called too

    AFAIK, light shining on it produces a current. Hence, it would need to connect to some sort of device, which then could connect to any port you wanted.

    Do you have one, or looking for one?

  4. #4

    Thread Starter
    Addicted Member Guru's Avatar
    Join Date
    May 2000
    Location
    sulking in the cupboard under the stairs
    Posts
    237

    Re: How can I detect a break in a light beam?

    OK, so I now know that it's called a phototransistor

    I have also tracked down a description of the joystick port
    Another light-hearted post from Guru

  5. #5
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,803

    Re: How can I detect a break in a light beam?

    Quote Originally Posted by penagate
    AFAIK, light shining on it produces a current.
    Actually a phototransistor changes resistance... and you have to use it with a transistor, kinda like this:
    Attached Images Attached Images  

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width