Sample code for driving stepper motor


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2010
    Posts
    37

    Default Sample code for driving stepper motor

    I have a pic16f628a and l293 stepper driver.
    I need a picbasic sample code to drive this.
    Thank you.

  2. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,599


    Did you find this post helpful? Yes | No

    Default Re: Sample code for driving stepper motor

    Have you searched the forum?

    Here's some:
    http://www.picbasic.co.uk/forum/showthread.php?t=101

    Robert

  3. #3
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Re: Sample code for driving stepper motor

    Or you could use Roman's Linistepper code as is in that chip without modification, it's in assembly, but it works well. Linistepper
    http://www.piclist.com/techref/io/st...step/index.htm
    http://www.piclist.org/techref/io/st...ni_asm_v21.asm

    James Newton sells kits for a very reasonable price too. . .
    Last edited by Archangel; - 5th June 2013 at 17:35.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

Similar Threads

  1. Driving two stepper motors
    By Bill Legge in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 2nd May 2010, 17:49
  2. Driving two stepper motors at the same time
    By Bill Legge in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 20th February 2010, 17:33
  3. Replies: 11
    Last Post: - 6th November 2008, 10:27
  4. Driving Stepper Motor with PBL3717
    By crhomberg in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 8th November 2007, 20:59
  5. Driving a stepper motor bipolar
    By debutpic in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 18th June 2007, 17:34

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts