Robot Project Forum

For help with robot project ONLY. (I've forgotton (read:- erased from memory) more than what I know about the other assignments!) . You may also want to consider posting your question on one of the following newsgroup forums (go to Google, then click groups) : sci.electronics.basics, sci.electronics.design or comp.robotics.misc



Return to Website

  Reply
  Home

Subject:   Re: Re: Re: stepper motors
Name:   Rob
Date Posted:   May 22, 05 - 10:22 AM
Message:   Oops! Didn't notice your question, sorry.
Yes I just used 12V dc motors. The program code might need a little adaptation to control the stepper motor driver but the initial intention was to use it (never got that far - tried the stepper motors purely on their own and when they didn't work, went for the 12V dc motors). You could use an extra output line from the microcontroller to generate the pulses or simply have a stand alone pulse generator circuit.
If the microcontroller option was used you could control the robots speed automatically - e.g. if both line sensors could see the line (i.e. robot was dead centre above the track, you could increase the speed by increasing the pulse frequency, reducing it again when only one sensor could see the track (i.e. the robot is beginning to drift off course or it is coming to a turn) - this would be good if you had a track with a long straight section in it and (in theory!) wouldn't be that difficult to code - but I don't know, didn't go down this route, so I can't really be any more help!
If you went for the stand alone pulse generator then all you need is something like a 555 or 4047 to generate the pulses, with a pot in the RC circuit to manually set the frequency and hence speed, but speed would be constant. Advantage - wouldn't require any additional coding.
   


  Reply
  Home


powered by Powered by Bravenet bravenet.com