BS1 12v problem
Blackbird455
Posts: 124
I am trying to control a 12v load with my BS1 OEM, I have made several sucessfully controlling a 5v load, using a tip 31 transistor.
Base pin on the Tip31 going to the i/o on the stamp and it switches the 5v load fine. When I place 12v on the transistor, it feeds back all the way to the BS1, cooking one already, so I have a Z diode protecting the I/O now, but I still cant get the 12v to switch when the I/O tells it to. Help!!!!! Or else my cook is goosed, I have a deadline this week, and I am stumped on how to get a BS1 to switch 12vdc through a transistor. I have darlington transistors, and several other types.........The first person that gives me the solution to this problem that works, I will send a $20 check to !!!!!!·
Base pin on the Tip31 going to the i/o on the stamp and it switches the 5v load fine. When I place 12v on the transistor, it feeds back all the way to the BS1, cooking one already, so I have a Z diode protecting the I/O now, but I still cant get the 12v to switch when the I/O tells it to. Help!!!!! Or else my cook is goosed, I have a deadline this week, and I am stumped on how to get a BS1 to switch 12vdc through a transistor. I have darlington transistors, and several other types.........The first person that gives me the solution to this problem that works, I will send a $20 check to !!!!!!·
Comments
2) You should not be able to "toast" the BS1 if the transistor is connected properly and not defective. There should be a current limiting resistor in the base lead. If you didn't have this before, you might have overloaded the BS1 pin because of too much current, not the voltage. You need to limit the base current to 15-20ma. With a Darlington transistor, that's about 220 ohms. With a single power transistor, that's maybe 270 ohms.
3) Download the Stamps in Class tutorials. Several of them discuss switching large loads with a Stamp. I don't have my copies handy, but have a look at their tables of content.
The load is LED's , does that help?
Is there some reason why you're running the LEDs off 12V? If you had a +5V supply, you could switch them directly with the BS1 since its I/O pins can handle the 15ma or so. You'd just need a 270 to 330 ohm resistor in series with the LED (for a 10-15ma LED current) and could connect the LED to ground or to +5V. The BS1 regulator is limited in how many LEDs it could handle ... figure 3-5. If you're running the BS1 off an external regulator, you could run up to 8 LEDs ... no problem.
The reason that I am using 12v is because I am not running traditional LED's.... the ones I am driving operate @ 3.85v, 1500ma each, so in a series of three that means that I can run them @ 11.55v and still only 1500ma, or if I were to run them all paralell ,3.85v @ 4500ma, a real waste considering the power dissipation from 12v regulated to 5v, and then resisted to 3.85, ............so using the total number of bulbs, 9, times 1500ma would mean 13.5 amps, that much heat would melt the housings I am using. There is a simple answer to this........I guess I just need a few more Miller Lites, and a little less sleep, to get it right...........but any help is greatly appreciated
The TIP31 probably won't work with the high current LEDs. The current gain is only about 25 so you'd have a maximum output current of maybe 375-500ma with a 15-20ma drive. You're better off with a Darlington with its higher current gain or the MOSFET.
Post Edited (Mike Green) : 8/8/2007 2:53:09 AM GMT
Please explain to me in detail how I can make the darlington and the mosfet switch off of an I/O . Am I doing something wrong? I have no trouble with the tip31, but no luck with the other two. Tell me how you would do it, or where I can find a schematic......this is kicking my butt
Post Edited By Moderator (Chris Savage (Parallax)) : 8/8/2007 10:01:15 PM GMT
thank you so much for your help,
I went back to some of my old schematics and changed the way I had Vdd and Vcc on the C and E pins (tip31) and it worked like it was supposed to..........told ya the lack of sleep and generous helpings of Miller Lite would do it. I feel like a dummy now. Such a simple thing cost me this much grief, guess I couldnt see the forrest for all of those green thingys in the way.
Post Edited By Moderator (Chris Savage (Parallax)) : 8/8/2007 10:01:48 PM GMT