Ok, so I'm struggling to figure out how to get a motor to turn with the use of transistors.
So far my circuit looks like this : (MotorCircuit1.bmp)
The motors that came with my robot chassis unfortunately didnt come with any specifications. However they do work and seem to be not too bad.
The transistors i'm using are a BC546 NPN transistor. >>> BC546 Datasheet pdf - Transistor Da Finalidade Geral - Korea Electronics (KEC)
I'm using an arduino uno and the output im supplying does work, I've tested it across LEDs and looked at it with an oscilloscope. I'm just using the basic brightness/fade code that they have setup. I'm using the variable voltage purely for testing.
The main thing that happens is when i run the code, i hear a small whirring sound from the motor, but thats about it - however when i try to spin the motor by hand, it sometimes requires less torque, indicating that atleast some voltage is getting through i suppose.
I have tried lowering the resistance into the base to increase the current. Once it gets low enough, i do have success and the motor acts as normal - however the transistor gets incredibly hot within a matter of seconds.
My main theory at this stage is that i have the wrong type of transistor. (when i bought them i foolishly assumed all transistors would work the same and with the same currents and voltages.. I assumed i could just apply some current into the base and the wire then turn theoretically into a closed switch.)
I appreciate that all the transistors have different values for many many things and from testing i can only speculate that right now my transistor is working as normal - (an applied current to the base will allow current across C to E) However - once it does allow that current, the current passing through the transistor (from the battery) is so high that it just fries the transistor straight up.
PS - i think i may have fried a few already and have been replacing them for testing, I only say this to show the question of whether it is broken can be ruled out.
So my main questions to you friendly people are:
If im right in assuming i've got the wrong transistor - what would be a more suitable one
AND
if possible, could someone explain what values to look at in the transistor manuals in order to suit my needs (and why).
any help at this stage would be massively appreciated
also: some minor questions which would be nice answered if anybody has the time
- can the base pin in a transistor have too much current being applied and screw up the whole thing?
- if the transistor is saturated, will the collector current always be equal to the emitter current (+- minimal differences) or are there circumstances which it can be really weird?
- is the reason my transistor was getting hot because of the size of the current into the base / the voltage into base / the voltage across C-E / current across C-E or any combination etc.
again, thanks in advance guys!
MotorCircuit1.bmp (736 KB)