Transistor overheating in seconds when connected to usb power source

currentheattransistorsvoltage

I am following this tutorial and have managed to make a working circuit but when I connect it to a high current power source such as a USB 3 port, the transistor gets so hot that I fear it may burn just after running it for a few seconds. This does not happen when connected to batteries. What am I doing wrong? I have calculated that current flow should be less than 1 mA because of the 5.6 kOhm resistor based on the fact that 5/5600 = 0.00089 A or 0.89 mA. The transistor is rated at 1.5A and 80V (here's a link) which is well below what I am providing it with since even USB 3 provides no more than 900 mA at 5V.

(By the way, based on the amount of current draw, is it safe to run this from, say, an Arduino?)

EDIT: Thanks to Dave Tweed here is the actual schematic I am following:

enter image description here

Best Answer

Just a few thoughts.

Place a generous value (220uF or more) low ESR capacitor right at your circuit in case your USB supply is not stiff enough.

Place a heat sink onto your transistor so that it will not fail while you are testing.

The frequency of this design is set by the coil geometry (and capacitors) and not totally predictable, it may not always resonate if there is something not quite right in the assembly. If it does not start to switch the transistor may be stuck in a partially conducting mode and end up dissipating a lot more than it would when it is oscillating.

Related Topic