+ Reply to Thread
Results 1 to 3 of 3

Thread: Help with a 3 legged phototransistor

  1. #1
    chrisgielens Newbie
    Join Date
    Nov 2008
    Posts
    1

    Default Help with a 3 legged phototransistor

    I am trying to build a circuit that uses a phototransistor to turn on a led when it gets dark. Using a modified computer Power supply I get 12v DC neg/pos, 5v DC neg/pos and 3.5v DC neg/pos. Led’s are 5mm 3w green super intensity 15000mcd, I have 1/4w metal film resistors 100ohm for DC 5w & 470ohm for DC 12w. The 3 legged phototransistors I have are (MAL100A 30V 50mA TO-18L PHOTOTRANSISTOR). I have 200 of these all ready some I am trying to use these rather then order new ones if possible. What else do I need to complete this circuit? Presently if I hook up the LED with the resistor, depending on which of the 3 legs on the phototransistor I hook onto I either get full voltage to the led, always on. Or, when you cover the phototransistor, the led dims. I am trying to get the reverse, where when the phototransistor is exposed to light the led is off, when you cover it lights up. I assume I need a transistor to take the incoming current from the phototransistor and basically flip its function. Once again I apologize for not knowing the correct terminology. This is for a Christmas project I'm working on for a friend, unfortunately I no very little of electronics, so my methods are a little crude. The basic concept is to have 4 to 5 leds being turned on by the phototransistor when someone moves there hands over it, covering any light source. Like a fool, Im attempting to make about 200 of these for a friends christmas tree. Thanks Chris, I will attempt to include a picture in this thread of the MAL100A 30V 50mA TO-18L PHOTOTRANSISTOR.


  2. #2
    kchriste Excellent kchriste Excellent kchriste Excellent kchriste Excellent kchriste Excellent kchriste Excellent kchriste Excellent kchriste Excellent kchriste Excellent
    Join Date
    Jul 2006
    Location
    Victoria BC, Canada
    Posts
    3,681

    Default

    You need a second transistor, or preferably a FET, which gets turned OFF when the photo transistor turns on in response to light.
    Can you give us a part number for the LEDs you will be using? We need to know how much current it's rated for, what it's Vf is and how many you want to switch with one phototransistor. Also, where do you buy your parts so we can recommend a suitable FET.
    Last edited by kchriste; 2nd November 2008 at 10:02 PM.
    Inside every little problem, is a big problem trying to get out.

  3. #3
    Willbe Good Willbe Good Willbe Good
    Join Date
    Aug 2008
    Location
    MD
    Posts
    1,238

    Default

    Quote Originally Posted by chrisgielens View Post
    when you cover the phototransistor, the led dims.
    So it can work; you are getting transistor action.

    I am trying to get the reverse, where when the phototransistor is exposed to light the led is off, when you cover it lights up
    The pt should go from +V to "the base" and the LEDs should be in "the emitter circuit."
    Or, the pt should go from ground to "the base" and the LEDs should be in "the collector circuit".
    The first is more stable with temp.

    Right now you have one of the two "opposites" of that above and so it acts oppositely.
    Last edited by Willbe; 3rd November 2008 at 03:00 AM.

+ Reply to Thread

Similar Threads

  1. phototransistor
    By ahmedragia21 in forum Robotics Chat
    Replies: 10
    Latest: 30th May 2007, 09:35 AM
  2. Building a four legged bot.
    By Velvet Leopard in forum Robotics Chat
    Replies: 5
    Latest: 11th January 2007, 03:39 PM
  3. legged robot
    By khangura_manjot in forum Robotics Chat
    Replies: 3
    Latest: 16th April 2005, 10:56 AM
  4. LEGGED ROBOTS THAT CAN BALANCE
    By subhasis in forum Robotics Chat
    Replies: 0
    Latest: 27th January 2005, 10:03 AM
  5. help in phototransistor
    By 1111 in forum General Electronics Chat
    Replies: 1
    Latest: 1st December 2004, 04:39 PM

Tags for this Thread