Close

Circular Motion?

A project log for Propeller Based CNC Router Controller

A relatively simple controller for my CNC router using a Propeller Microcontroller.

duane-degnDuane Degn 05/28/2015 at 03:260 Comments

I wrote some code to produce (what I hope is) circular motion. I haven't connected the stepper motors to the CNC router yet but the movement of the motors looks like it should produce circular motion on the x, y bed.

I think the video is just about as boring as they come (with the exception of a few unboxing videos) but I wanted to share it since it was so darn difficult to program.

The program is written in assembly and uses integer math for all the calculations.

The stepper motors accelerate to their full speed but I didn't include a deceleration section of code (yet).

The program "TestMotorsPasmCircular.spin" is the top object used in this demo. The code is located in my GitHub "CncController" repository. This repository is presently very unorganized. So far I've been working on individual pieces of the overall program. I still have a lot of work combining these pieces together.

Discussions