PDA

View Full Version : Sample code for driving stepper motor



luxornet
- 4th June 2013, 18:12
I have a pic16f628a and l293 stepper driver.
I need a picbasic sample code to drive this.
Thank you.

Demon
- 4th June 2013, 20:23
Have you searched the forum?

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

Robert

Archangel
- 5th June 2013, 17:20
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/stepper/linistep/index.htm
http://www.piclist.org/techref/io/stepper/linistep/Lini_asm_v21.asm

James Newton sells kits for a very reasonable price too. . .