Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

driving the stepper motor unipolar way

Status
Not open for further replies.

banh

Advanced Member level 1
Joined
Dec 16, 2004
Messages
458
Helped
17
Reputation
34
Reaction score
5
Trophy points
1,298
Activity points
3,935
i am trying to build up a simple circuit for driving stepper motor:
- unipolar.
- using power transistor

have been searching around.. a few circuits use a AND gate between the microcontroller pin and the transistor B pin. Why dun we connect the microcontroller pin directly to the transistor?
 

The output current from microcontroller might not be enough to drive the stepper motor. Is the logic gate you mentioned CMOS or TTL?
 

its normal TTL gate...

providing more current may be the reason.. any protection for the microcontroller when using the gate?

possible to use NOT gate?
 

It may give some protection.

NOT gate will invert your switching signals. You can use TWO NOT gate in series.
 

yuh, what kind of protection is it?
Say, if i do not use gate but connect the pin directly to the transistor..any problem?

of course, if using NOT gate-> just invert the signal from the microcontroller (change the code)
 

Sorrie, I did not read your first post carefully. In my opinion, it should be OK to connect the I/O pin of microcontroller to the base of the transistor through a resistor that sets the base current.

Can you give an example of such circuit?
 

Actually a gate or some additional transistor inserted between the uC and the transistor driver serves two purposes.
Primarily it offloads the uC pin from sinking or sourcing excessive currents to/from the load,
secondly it protects the uC pin against the Back EMF voltage usually induced in the driven coil when the current is cut off.
This voltage should be clamped to the ground potential with some Schottky diode, but sometimes both the diode and the transistor get damaged, and then you have to buy a new uC too.
So if it doesn't cost you too much, install some protection.
Most microcontrollers are protected with parasitic diodes on the die, but many people find this protection insufficient.
/yego
 

nicleo said:
Sorrie, I did not read your first post carefully. In my opinion, it should be OK to connect the I/O pin of microcontroller to the base of the transistor through a resistor that sets the base current.

Can you give an example of such circuit?

i lost the link using AND gate...
however, found another link **broken link removed**
using NOT gate together with resistor.

Added after 2 minutes:

yego said:
Actually a gate or some additional transistor inserted between the uC and the transistor driver serves two purposes.
Primarily it offloads the uC pin from sinking or sourcing excessive currents to/from the load,
secondly it protects the uC pin against the Back EMF voltage usually induced in the driven coil when the current is cut off.
This voltage should be clamped to the ground potential with some Schottky diode, but sometimes both the diode and the transistor get damaged, and then you have to buy a new uC too.
So if it doesn't cost you too much, install some protection.
Most microcontrollers are protected with parasitic diodes on the die, but many people find this protection insufficient.
/yego
thanks :)
it clears my doubts.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top