electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

driving the stepper motor unipolar way


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> driving the stepper motor unipolar way
Author Message
banh



Joined: 16 Dec 2004
Posts: 472
Helped: 12


Post29 Dec 2004 9:10   

driving the stepper motor unipolar way


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?
Back to top
Google
AdSense
Google Adsense




Post29 Dec 2004 9:10   

Ads




Back to top
nicleo



Joined: 06 Sep 2004
Posts: 717
Helped: 60


Post29 Dec 2004 9:47   

driving the stepper motor unipolar way


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



Joined: 16 Dec 2004
Posts: 472
Helped: 12


Post29 Dec 2004 9:53   

Re: driving the stepper motor unipolar way


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?
Back to top
nicleo



Joined: 06 Sep 2004
Posts: 717
Helped: 60


Post29 Dec 2004 9:57   

driving the stepper motor unipolar way


It may give some protection.

NOT gate will invert your switching signals. You can use TWO NOT gate in series.
Back to top
banh



Joined: 16 Dec 2004
Posts: 472
Helped: 12


Post29 Dec 2004 10:04   

driving the stepper motor unipolar way


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)
Back to top
nicleo



Joined: 06 Sep 2004
Posts: 717
Helped: 60


Post29 Dec 2004 10:14   

driving the stepper motor unipolar way


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?
Back to top
yego



Joined: 28 Oct 2004
Posts: 154
Helped: 14
Location: Middle of Nowhere


Post29 Dec 2004 10:19   

Re: driving the stepper motor unipolar way


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
Back to top
banh



Joined: 16 Dec 2004
Posts: 472
Helped: 12


Post29 Dec 2004 10:40   

Re: driving the stepper motor unipolar way


nicleo wrote:
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 http://www.eio.com/jasstep.htm
using NOT gate together with resistor.

Added after 2 minutes:

yego wrote:
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 Smile
it clears my doubts.
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> driving the stepper motor unipolar way
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
best way of driving a stepper motor (4)
4 phase unipolar Stepper Motor? (2)
bipolar or unipolar stepper motor (6)
Unipolar Vs Bipolar stepper motor (5)
Unipolar 4ph stepper motor control (5)
Unipolar Stepper motor drive circuit (1)
Unipolar Stepper Motor vire identification.. (3)
Unipolar stepper motor testing...help!! (7)
Unipolar stepper motor voltage rating problems... (2)
What choice for stepper motor : unipolar or bipolar (2)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS