BS2 high power transistor control problems
Waruma
Posts: 21
Hello, I need some help on this because I am stumped...
I am using the configuration in figure 6-1 of volume 1, colum 6 of "Nuts and Volts": http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/vol1/col/nv6.pdf
I've included the figure as an attachment below.
I am trying to use a HIGH pin command hooked up to a Darlington high-gain transistor to pull a large current through a small resistance load.
The problem is when I turn the pin HIGH, my Board of Education seems to reset (almost like it's a brown out or I'm short-circuiting something). I'm fairly certain that I have the high current portion of the circuit isolated from the BS2 via the transistor. I'm using a 9V battery to power the circuit, but having the NPN power source (supply) pull from the Vdd terminals on the breadboard. Now, when I disconnect the wire connected to the transistor base, and manually plug it into the Vdd bar on the BOE, the circuit works fine. I want to control the circuit by sending one of the BS2 pins HIGH to turn on the transistor - but it won't work.
The transistor I'm using is a 39K1529 Darlington NPN Transistor, and the RB as shown in my picture is around 1800 ohms. Assuming a 1.4V V_be potential for the transistor, I should only be sourcing about 2mA of current - so it's much less than the maximum 20mA sourcing limit. (5V-1.4V)/1800 ohms = 2mA. A BS2 pin has a +5V output, so that's the same potential as the Vdd bar on the BOE. Does anyone know why my circuit won't function when I try using the HIGH command from the BS2 pin?
Thanks
I am using the configuration in figure 6-1 of volume 1, colum 6 of "Nuts and Volts": http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/vol1/col/nv6.pdf
I've included the figure as an attachment below.
I am trying to use a HIGH pin command hooked up to a Darlington high-gain transistor to pull a large current through a small resistance load.
The problem is when I turn the pin HIGH, my Board of Education seems to reset (almost like it's a brown out or I'm short-circuiting something). I'm fairly certain that I have the high current portion of the circuit isolated from the BS2 via the transistor. I'm using a 9V battery to power the circuit, but having the NPN power source (supply) pull from the Vdd terminals on the breadboard. Now, when I disconnect the wire connected to the transistor base, and manually plug it into the Vdd bar on the BOE, the circuit works fine. I want to control the circuit by sending one of the BS2 pins HIGH to turn on the transistor - but it won't work.
The transistor I'm using is a 39K1529 Darlington NPN Transistor, and the RB as shown in my picture is around 1800 ohms. Assuming a 1.4V V_be potential for the transistor, I should only be sourcing about 2mA of current - so it's much less than the maximum 20mA sourcing limit. (5V-1.4V)/1800 ohms = 2mA. A BS2 pin has a +5V output, so that's the same potential as the Vdd bar on the BOE. Does anyone know why my circuit won't function when I try using the HIGH command from the BS2 pin?
Thanks
Comments
2) Make sure that your power source can handle the load. It's not clear from your description whether you're trying to power the Stamp and the load from the same power source. The voltage regulator on the board can only handle so much current (if you're powering the full load from Vdd). It will shut itself off (resetting the Stamp) if the load is too great.
A schematic drawing of your actual circuit would help.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
Also, your 1800 ohm base bias resistor seems very high. What transistor are you using?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."
Jonathan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.madlabs.info - Home of the Hydrogen Fuel Cell Robot
I'd go visit a hobby store with model airplane stuff. 4 AA packs are commonly used to power the receiver. I bought a 1200mA/hr NiMh pack for about $15. I would probably NOT get the common 600mA - 800mA packs... They'd supply 4A, but you're asking a lot. Or course you'd need to charge them as well, but there's many inexpensive ways to do that, or buy a 120 - 500mA wall-wart charger from Radio Shack or whatever.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"puff"...... Smile, there went another one.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"puff"...... Smile, there went another one.
http://data.energizer.com/PDFs/522.pdf
Weird. I dunno.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"puff"...... Smile, there went another one.
If you use the battery continuously at 100 mA, it will not last anywhere near 5 hours.
A 9V battery won't last nearly that long powering 5V electronics through a typical voltage regulator, a lot of power is wasted as heat. And the regulator needs almost 2 volts of overhead to function reliably. From my experience, once the battery no-load voltage gets down below 8 volts, the Stamp may operate with random glitches, especially if you're switching a few relays.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."
I tested a new 9V Alkaline Energizer by shorting it directly with a 10A meter. I got 3 amps for ~3 seconds, then it dropped steadily down to 2 amps after 10-15 seconds. I'm sure the voltage dropped way down under that drain, although I didn't measure it.
But if you have an alkaline 9V battery that's delivering over 4A through a 0.7 ohm load for 5 seconds, and is able to do that multiple times, please advise type & brand.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."
If I did switch to a rechargable 9V battery, what is the mAh rating on those?
http://data.energizer.com/PDFs/nh22-175.pdf
I'd hazard to say the Duracell is very close to that and also that if you pull 4A through a 175mah rechargable ( 23C or 23 times it's rated capacity) you'll toast the battery.
Get the wall wart, of the AA NiCd or NiMh pack I mentioned above. You'll be fine then [noparse]:o[/noparse])
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"puff"...... Smile, there went another one.
I'm an old school electric remote control racer....7.2 is my weapon of choice... the 9.6vdc packs are availiable & a·little bit smaller.· Either way, even intermitantly, the foil connectors between the cells of the 9vdc battery isn't rated for·over 500mA·& I wouldn't trust them.
Rechargeable 7.2 V SubC NiMH 3000mAh Battery Pack·(a stack of series wired C batteries.)
Rechargeable Racing Pack containing 6 x 3000 mAh or... spend a few bucks & go with the 3900mAh unit.
Either way packs not too excesively big and, You can reliably power stamp & circuit off it.
typical Dimensions are 130mm H x 47mm W x 25mm D. Weight is 403g.
Whatever you do.... hope it all works for you.
-dawgy