Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Robotics Chat


Robotics Chat Specific to discussions about robots and the making of.

Reply
 
LinkBack Thread Tools Display Modes
Old 4th March 2005, 08:22 PM   (permalink)
Default Controlling stepper motor using 2 pins on pic

I'm trying to control stepper motor using ULN2804 and a pic.
I want to use 2 outputs on pic cause i need to drive 2 motors and i have only 8 outs
so I have constructed one of the circuits, but it seems to not work(it worked when i made it in my PC(simulator) but not in real life... :x )
Attached Images
File Type: jpg stpcontr.jpg (63.1 KB, 866 views)
__________________
Need Help?
Press F1
If that doesn\'t help you, ask me... I might know better.
bloody-orc is offline  
Old 6th March 2005, 06:58 AM   (permalink)
Default

What does not work?

Try inserting a 12V zener diode between (cathode here)pin 10 of the 2803 and the 12V supply (anode here). This will increase the rate the current decay rate which should improve motor performance.

Since you're using just 2 pins, the motor is forced to run in full-steps only which will increase the chance of resonance.

Lastly make sure you've got the motors wired correctly.
__________________
"Having to do with Motion Control"
motion is offline  
Old 6th March 2005, 09:04 AM   (permalink)
Default

well if i use this schem the motor steps in one posicion(one fwd, one rev)

the morot is wired correctly(tryed running with 4 pins and all ok) and the zener soldered in place

also you could give me a pic program how to control this(not compleat, just how the pins should be high\low in sequance)
__________________
Need Help?
Press F1
If that doesn\'t help you, ask me... I might know better.
bloody-orc is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 04:41 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker