|
|||||||
![]() |
Forum Index > General > Ask an Evil Mad Scientist! | ||
3 legged phototransistor? schnikey! |
|||
| | | Printable Version |
|
Anonymous: Chris G | ||||||||
|
I am trying to build a circuit that uses a phototransistor to turn on a led when it gets dark. My power supply is a computer power supply, modified to output 12v DC neg, 12v dc pos, 5v DC and/or 3.5v DC. I have 2 types of LED's and their corresponding resistors to drop the current safely from the 12v DC down to its required voltage. The phototransistors are (MAL100A 30V 50mA TO-18L PHOTOTRANSISTOR). 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. 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. |
|
||||||||
|
|||||||||
|
Windell | ||||||||
|
Well, I did a search for that part number and the news is not good: *your question* about it on our forum here was Google's 9th hit for the MAL100A. I don't see a data sheet anywhere, although I do see some of them for sale. Looks like you'll have to test the behavior of the device to see how it works. There are three pins: base, emitter, and collector. (I would *not* suggest testing it in the final circuit until you know which pin is which.) Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
Anonymous: chris gielens | ||||||||
|
I know when I hook up the MAL100A 30V 50mA TO-18L PHOTOTRANSISTOR to 2 of the pins I get a similar action as hooking it up to a cadmium photodiode or led type looking photo-sensor. The led is dimly lit, when a light source is brought to close proximity the led brightens. Sorry for sounding kinda of dunce, but...is it the transistor that reverses the action of the phototransistor. I took apart a garden solar light in attempt to gain some insight. There were 3 resistors, 1 transistor, 1 diode, an led type photo-receptor, the led for the lamps light source and of course 4 leads, 2 the solar cell and 2 to the rechargable battery. The various parts I'm afraid were covered in drops of enamel paint, so I couldnt get any qualifiers. I did dismantle the transistor and tried to assemble the works as per this site project on "minimilist dark detecting led circuit". I used the led type photosensor, when powered the led was at full brightness. Same response with the MAL100A 30V 50mA TO-18L PHOTOTRANSISTOR. Sure it must be the transistor used, as it writing was covered with the aformentioned enamal paint. Thanks for replying before, its pretty cool when someone responds so quickly! Should I try a different transistor? and advice would be great. Thanks Chris |
|
||||||||
|
|||||||||
|
chrisgielens | ||||||||
|
Hi again, trying to emulate your dark sensing circuit used in the pumpkin eyes project. As I said before, trying to make this circuit run off a 12v power source, used a 22k resistor in place of the the 5k and 470 ohm resistors for each of the 4 15000mcd blue LEDs. When I hook up the power, the LEDs light up, but with no affect from the phototransistor. I have tried running this circuit using different phototransistors ranging from CdS photoresistor "radioshack" to a mal100a "30v 50mA to -18L". Do you think it might be the phototransistor or my attempt at running this off 12v? Really wanting to run this off the 12v if possible. In addition I have many of the mal110a phototransistors. Figuring out which is collector and emitter was fairly simple for these. And, all of the phototransistors behaved the same when used outside of this circuit. If I run the led with its resistor and phototransistor - hooked up to power the led is dim, when its brought to a light source the led brightens. Yep, brain is gonna pop |
![]() Apprentice Status: offline
Registered: 11/17/08 |
||||||||
|
|||||||||
|
Anonymous: Ashar | ||||||||
|
Dude if u want to light the led in the dark you need to put in a comparator .... like l741 or sumthing like it,,,,, |
![]()
|
||||||||
|
|||||||||
|
|
| All times are PDT. The time is now 10:00 PM. |
|
|
Octolively
Interactive LED kits
Meggy Jr RGB
LED matrix game
development kit.
Business-card sized
AVR target boards
Peggy 2
LED Pegboard kits