Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Simple Motor Problem! Help! (Newbie)

Status
Not open for further replies.

fouadalnoor

Member
Hello guys,

I am trying to run a motor when an output from my chip (PICAXE-08M) is high.

I am using a BC547B with a 1.8K resistor in series with the base. I connected the emmiter to ground and the motor is connected (in parallel with a diode) to the collecter and up to 9v VCC.

For some reason when I connect my 5v output from the chip, the motor starts, runs very shortly and then stops. After a few seconds it repeats.

Now when I tried to simply replace the 5v on the base with 9v (from my VCC) it started working... But I want to run the motor off my chip...

Any idea's as to why it's not working properly? (I am thinking the tranistor is simply not producing enough collector current with only 5v?).

Hope you can help!

Fouad.

PS: From the diagram I have:

LOAD = Diode with Motor

Rb = 1.8k

Voltage on base Vb = 5v
 

Attachments

  • tranload[1].gif
    tranload[1].gif
    2.7 KB · Views: 157
Last edited:
You are using the NPN as a saturated switch. To properly turn on the NPN, its base current should be ~Ic/10, so one tenth of the motor current. If your motor current were 0.2A (my guess), the base current should be 20mA.

Assuming that the PIC can pull up to +5 at 20ma (which it cant quite do), Rb would have to be (Vdd-Vbe)/Ib = (5-0.65)/0.02 = 87Ω to pass 20mA into the base.

If your motor requires more than 0.2A, you cannot do it with a simple NPN, you will need a Darlington, or FET.
 
Last edited:
Yeah, I do believe that the PIC simply wont be able to supply such a large current. I think I will just use an FET instead. I shall post back when I test it.

As always, thanks for the response Mike!

Fouad.
 
Do you know what the motor current is? The PIC will be able to do it if the motor current is modest.
 
not sure, the motor is bought from Rapid and is called: 3V 5240 RPM Miniature Motor (RC), Order Code: 37-0142.

I shall look up the details later.
 
Looks like the running current can go up to 1.2A, and the stall current is likely higher than that...

This looks like a job for a Darlington, or a "logic-level-gate" NFET.
 
Hello,

It looks like the stall current is about 1.25 amps so this is going to take a lot of gain to get moving if you want to go lite on the port pin and say limit to 10ma. Yes a MOSFET sounds like a decent idea, as long as it is a logic level input MOSFET. Another idea is a compound made from a PNP driving an NPN if you cant get a MOSFET, or even an NPN driving a PNP, as Darlingtons drop more voltage.
 
Ah, sounds good. I will buy a good MOSFET from Maplins. Any particular specs I should worry about? (what is a decent value for the gain you think?)
 
Ah, sounds good. I will buy a good MOSFET from Maplins. Any particular specs I should worry about? (what is a decent value for the gain you think?)

You need an NFET, likely in a TO220 package so it is easy to heatsink, with a Vds rating two to three times your positive supply voltage, with an Ron of <100mΩ, and where it turns on hard with only a Vgs of 5V. This is usually described as a "logic-level-gate" NFET.
 
Last edited:
Without checking the current rating of the motor and trying to drive it with a little transistor with a max allowed current rating 12 times to 20 times less, you probably blew up the little transistor.
 
Is this one good enough you think?
Are you a gambling man?
It is not a "logic level" Mosfet so some will barely turn on with a 5V gate voltage. Some will. It is designed to be turned on with a 10V gate voltage.
It is also not available any more in North America (obsolete?)
 
The prices at Maplin seem to be extremely high. Farnell sells electronics parts at lower fairer prices and they are new parts, not obsolete old junk.
 
You found a very tiny Mosfet that will work fine if you can solder to it.
 
It is a PFET, not an NFET. Its ON resistance is quite high, It's Vds rating is only -6V, and it is in a tiny package.

I say again:

You need an NFET, likely in a TO220 package so it is easy to heatsink, with a Vds rating two to three times your positive supply voltage, with an Ron of <100mΩ, and where it turns on hard with only a Vgs of 5V. This is usually described as a "logic-level-gate" NFET.
 
Right. Now I DEFINITELY found one..

https://www.electro-tech-online.com/custompdfs/2011/02/nte2985.pdf

Please do take a look (not sure where to buy it from though..)

I can buy this one off rapid...

**broken link removed**

The thing is, I cant find Vgs on the data sheet. It says "VGT, gate trigger voltage = 1.3v, but I don't know what would happen when it's 5v...

It also says

"VTM = 1.55, On-state Voltage, IT = 17 Amp,


OR.....

**broken link removed**

This again, seems good though I just get confused by the data sheet... It tells me trigger current from 5-10mA, on state current 4A
 
Last edited:
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top