Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronic Content > Electronic Theory


Electronic Theory Basic principles, ideas, concepts, laws, and formulas behind electronics.

Reply
 
Tools
Old 26th September 2006, 10:42 AM   #16
Default

Perhapps actually tryng to read and understand the above thread might give you a clue rather than spamming it.
__________________

I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.

Please ask on the open forum if you have a question and I'll be happy to help,
if I know the answer.
Hero999 is offline  
Old 4th December 2006, 10:21 AM   #17
Default

driving a stepper motor using microcontroller is very easy. most steppers have 5 wires as an input . from this wires u can drive the motor by applying a combination of 1s and 0s (+5v , 0v) but u must connect the last wire with vcc, what u have to do is to write a code on PIC or AVR or whatever to give you the sequence of 4 bit combination (0110 foe example) according to the sequences that sanjivee mentioned then take the o/p of the micro controller to a ULN2003A
this IC gives u the ground to deal with stepper internal coils
if the notch of the IC on left side so pin 1,2,3,4,5 acts as i/p pin 6 should connect to ground and ur output will be the pins upper side
for example if ur i/p was on the 1st pin in the IC so ur o/p is @ pin number 12
the pin infront of the input pin on the upper side
__________________
Armando Alfredo
aoamb83 is offline  
Old 5th December 2006, 04:40 AM   #18
Default

I have a stepper motor with 4-wires. I have also bought an IC ULN2803. Now i want to control this motor via AT89C52 MCU. Anybody can please guide me through about the circuit and its some details. I'll program the whole thing myself but I want to know that initially how will i have to start and how the hardware components will be interfacing to eachother.
I'll warmly welcome anybody's response.
Meesam is offline  
Old 6th December 2006, 02:46 AM   #19
Default

The ULN2803 is a darlington array. Your motor only has 4 wires which means it's a bipolar stepper motor. You need h-bridge drivers on each line. Only unipolar steppers can be driven directly from a basic transistor driver.
__________________
"Because I be what I be. I would tell you what you want to know if I
could, mum, but I be a cat, and no cat anywhere ever gave anyone a
straight answer, har har."
Sceadwian is offline  
Old 6th December 2006, 03:36 AM   #20
Default

Quote:
Originally Posted by Meesam
Anybody please tell me how to identify the cables of a stepper motor. I mean which will be connected to which pin of which port of MCU. Also please help me how to connect some toy tires to the motor. I am not looking for a rover like thing but want to actually test whether a motor can be really tested for speed and direction. I'll be thankful for that.
Use a multimeter to test...

A bipolar stepper will have two coils, four wires...check which pairs are connected by using the resistance feature

0---&&&&&&&&---0 Coil 1

0---&&&&&&&&---0 Coil 2


A unipolar motor will have five, or six wires (maybe more). To drive it, you drive each wire in series...

0
|
|
0---&&&&&&&&---0 Coil 1

0---&&&&&&&&---0 Coil 2
|
|
0
(Note: in five wire motors the center taps are connected)


Hope this helps.
__________________
-Ian
theinfamousbob is offline  
Old 6th December 2006, 05:15 PM   #21
Default

Try this site, it has all about stepper motors, bipolar ones included.
I built the H bridge for a bipolar motor and it works fine.
http://www.eio.com/jasstep.htm#intro
House0Fwax is online now  
Old 19th February 2007, 06:42 PM   #22
Default Help

Anybody help...
We have this school project, we are making a electric fan controlled by PIC16F84A then goes through a stepper motor ..
Anybody can give me a program that can be controlled by switches for the rotation of the stepper motor. For example (Sw - Switch) Sw1 is 45 degrees , Sw2 90 degrees, Sw3 180 degrees, and Sw4 360 degrees..
Can anybody lend some circuit diag. or configurations on how to construct this. My stepper motor has 5 pins.

Thnx

Email add.
gangsta_lox@hotmail.com
jhouse is offline  
Old 5th October 2007, 11:57 PM   #23
Default

ucn5804B is a good alternative and completely logic based chip for controlling unipolar stepper motors, it s easier and more expensive way than ULNs..
kerelektronik is offline  
Old 5th March 2009, 01:58 PM   #24
Default

thanks very much
farahdeepa is offline  
Old 5th March 2009, 05:52 PM   #25
Default Stepper via parallel

I have also controlled the stepper motor via parallel port using matlab.
Also that was a uni polar stepper motor and they are much easier to control.
One can make a very nice simple graphical interface in matlab and directly by clicking on buttons one can control the stepper in any way.
This really is a cool way to play with steppers.
Meesam is offline  
Reply

Tags
control, motor, stepper

Thread Tools
Display Modes




All times are GMT. The time now is 11:27 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker