transistor and motor help [solved]
timeblade0
Posts: 6
I am working on a motor controlled from a stamp homework board. Here is how I have it wired without the stamp board:
http://i514.photobucket.com/albums/t342/timeblade0/transistercircuit.jpg
I want to replace the 3v dc with the stamp pin 14. I know for the code I need to do High 14. How do I wire it up though?
I tried a wire from stamp pin 14 to transistor emitter, but it did nothing.
I tried a wire from stamp pin 14 to transistor emitter and a wire from transistor base to Vss, but that fried a transistor.
Can someone explain or make a diagram of how to wire it into the stamp board?
Post Edited (timeblade0) : 8/10/2008 8:54:55 PM GMT
http://i514.photobucket.com/albums/t342/timeblade0/transistercircuit.jpg
I want to replace the 3v dc with the stamp pin 14. I know for the code I need to do High 14. How do I wire it up though?
I tried a wire from stamp pin 14 to transistor emitter, but it did nothing.
I tried a wire from stamp pin 14 to transistor emitter and a wire from transistor base to Vss, but that fried a transistor.
Can someone explain or make a diagram of how to wire it into the stamp board?
Post Edited (timeblade0) : 8/10/2008 8:54:55 PM GMT
Comments
The emitter gets connected to ground (- supply voltage and Vss). The collector gets connected to the motor. The base gets connected through a small resistor (330 to 470 Ohms) to the Stamp I/O pin. Notice the diode connected across the relay coil (or motor) in the article. That's important to avoid damaging the transistor or Stamp.
Post Edited (Mike Green) : 8/9/2008 8:59:00 PM GMT
I connect stamp pin 14 to where I had the 3v dc +. Where do I gound the stamp? I tried from base (top row) to Vss, but it is always on like that even with no power to the stamp. I do not understand the way you say to hook it up. can I have a diagram?
Thanks for the help.
http://i514.photobucket.com/albums/t342/timeblade0/transistorcircuit2.jpg
I might have the transistor pins wrong in that diagram, but it is right in the real one. The real one works with a 3v battery, but I don't know how to ground the stamp. Vss does not seem to work for me. Sorry I need so much help, but I am new to this stuff and don't know much about it.
My goal: power a motor by 12v and have the stamp pin turn it on or off by using a transistor.
EDIT: I got it working. I was using a PNP transistor when I needed NPN. It works now.
Post Edited (timeblade0) : 8/10/2008 8:54:40 PM GMT