# Transistor overheating in seconds when connected to usb power source

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:

• Please provide the exact schematic you used. If it gets hot = you are pulling more current than you think, but its impossible to tell what you are missing in your understanding or what mistake you made without knowing what you did. (It is also not reasonable to expect users of this site to watch a video or extract the infor from a picture of your assembly, please provide a schematic picture or draw it in the schematic editor available on EE.SE) – crasic Sep 3 '15 at 0:56
• @crasic I will try to make a schematic but until then I have uploaded pictures of the actual circuit. – DividedByZero Sep 3 '15 at 0:57
• Those pictures do little to clarify unfortunately. A schematic is almost always more useful and is necessary to get answers here. I can't even read the colors on the resistor to verify what you are using. With the mess on the back of the lower picture its impossible to say what is connected to what. – crasic Sep 3 '15 at 1:01
• That has got to be one of the worst schematics ever! Please see this link about drawing proper schematics. What exactly do you think this circuit does? – Dave Tweed Sep 3 '15 at 1:32
• That is just about the worst schematic I've ever seen. For easy reading, the negative wire should go across the bottom of the drawing, and the positive at the top. The transistor should normally have the emitter at the bottom, collector at the top, and base at the left. However, since this looks like a common-base circuit, it may be best to draw the transistor with base down, and emitter to the upper left. Wires should not be drawn through components. – Peter Bennett Sep 3 '15 at 1:35