Think i realy did it this time......
Rackle
Posts: 17
I'm pretty sure I've destroyed my stamp chip.· I was tring to control a transistor, so that I could switch on and off 12 volts, well really I guess closer to 14 with the transistors resistance.· After fiddling around on it, Pins 0-5, 7 and 9 stopped working.· Then I connected the transistors collector to 14 volts, the·emittor to the boards VSS, and the negative side of the 14 volts.· Then i connected the base to pin10, and made it go high.· Didn't work right, so then I made somechanges and it won't even detect the stamp board.·
Pretty sure I've killed it, but where did i go wrong?
Pretty sure I've killed it, but where did i go wrong?
Comments
That's probably what you did wrong. It's a common mistake to assume that 20 to 25 mA specification for the I/O pins is a current limit -- it's not. What it is is the max current you can ALLOW to enter or leave the Stamp before the pin driver dies. and you ALLOW it with the amount of resistance YOU put into the circuit. No resistance == infinite current, until dead driver.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
I have a good understanding of electronics, but circuit building isn't my strongest point. I'm better at troubleshooting, I tend to destroy less parts there.
Seems like this has become stamp killing weekend. LOL
Chris
·· CPUMAN is correct.· A 1K resistor is often the better choice for beginners when using transistors to switch other components, because in a failure situation, the current draw on the Stamp I/O pin will be kept minimal.· I myself always use 1K on 2N2222, 2N3904 and 2N3906 transistors (and similar).· This way you're covered in any situation within the limitations of these devices.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
now i make it a habbit to put a 1kv diode between the pin and what im working on.
in addition to that i only use MOSFETs so the base is insulated from everything else.
sorry bout that bud...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-~Kill~-
I think what Chris is asking is "What is it that you think your set-up was supposed to DO?" The circuit you described would just connect your 12V positive terminal to your ground terminal when the base current was high enough to turn on your transistor "switch". If you've ever tried connecting a wire from the top of a battery to the bottom (c'mon...we all have <g>), you have "felt the heat" (and just maybe, "seen the light").
Sounds like a trip through the "What's a Microcontroller?" text is only one of the steps you need to take...
Happy journey!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Truly Understand the Fundamentals and the Path will be so much easier...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Well, that'll be another $50 parallax makes.
Contacting Parallax for a repair might save you a couple of greenbacks. You're not the first to let the smoke out...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Truly Understand the Fundamentals and the Path will be so much easier...
I've added a 1k resistor between the pin and the transistor.· The Stepper motor I'm using is 12volts, and .4 amps.· on the schematic I put in a 12v supply for the motor, but should it be higher to compensate for any voltage drop across the transistor?· Also should my negative side of the power supply for the motor be connected to the VSS of the BOE2 Stamp board?· Any other advice on what to change/do?
The Transistor is a 2n4400
http://www.fairchildsemi.com/ds/2N/2N4400.pdf
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
· Your schematic looks fine to me as it stands.· Now that you have the 1K resistors, you should be alright, as long as those transistors can handle the voltage and current.· I do not believe a 2N3904 will work, and I don't know which ones you are using.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Beside unless you have the motor held steady, each transistor will be only on about 25% of the time.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video Display Module" Available Now.
www.sxvm.com
"A problem well defined, is a problem·half solved."
·