To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 4110
4109  |  4111
Subject: 
Re: Steppers
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Mon, 6 Jul 1998 23:24:27 GMT
Original-From: 
brian-c@technologist.[AvoidSpam]com
Viewed: 
1137 times
  
Dear Terri,

If the motors turn sparatically, that means the coils
are probably not hooked up in the correct order. Try
swapping them around and see if anything improves.

The motors you are using are the bipolar type. There
is a decent way of hooking up unipolar steppers to
the HB at http://www.cctc.demon.co.uk/stepper.htm
A basic difference between bipolar and unipolar is
that unipolar motors have additional wires which are
connected to the power supply. Bipolars also have more
torque.

Using fd(); and bk(); commands to power steppers is
probably a lot to handle. I recommend trying the
method found on that link. There's even sample coding.
You will have to modify some variables for the turn
functions because your turning radius varies according
to your distance between motors.

I modified the step(); function to produce a gradual
increase in speed, and a gradual decrease in speed once
the specified steps are almost complete.

I will attach my motors.c file as is.



_________________________________________________
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Brian Carvalho              [ brian-c@ieee.org ]
DeVRY Institute
New Jersey
_________________________________________________
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯


--
MIME ATTACHMENTS DISCARDED:

1.  Content-Type: application/octet-stream
    Content-disposition: inline; filename=Motors.c
    Content-Transfer-Encoding: base64
    Content-Length: 4985



1 Message in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR