In SX Microcontrollers, SX/B Compiler and SX-Key Tool, havenith wrote: Now that Polywogs has released his source for a--quite extensive--3-axis controller (see [url=http://forums.parallax.com/forums/default.aspx?f=7&m=223702]this thread[/url]), I thought it would be time for me to publish mine as well :-) The code attached is a relatively simple controller for 3 stepper motors. It implements linear movements only (straight lines). The SX code listens to an RS232 line for commands of the form [code]m , , [/code] and acts accordingly. While idle, the controller will scan a keyboard matrix, so that the motors can be manually controlled as well. While moving, three keys/switches (say 'start position detection', 'end position detection' and 'emergency stop') will be scanned continuously. A more elaborate explanation is [url=http://tinyurl.com/37nl5u]here[/url] Electronics-wise, with a lot of help, I have this working with three attached steppers. Only, I very much lack the mechanics skills to create an actual CNC miller out of this, so this project is currently 'paused'. Please feel free to use this source-code any way you like. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=230439 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)