Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

readme.md

Omega

Overview

This is an embedded C firmware for a multi-axis stepper motor controller based on PIC16F877. The firmware sets up a command-prompt serial interface on a PIC device and can drive up to three M325 stepper motor drivers (http://www.leadshine.com/UploadFile/Down/M325d.pdf) (or any equivalent PWM-based drivers).

A main feature of the firmware is support for asynchronous operation. The controller uses the PIC16F877 Timer device and interrupt service routines to implement a form of "pseudo multi-threading". This allows precise PWM control and serial communication to take place simultaneously.

Refer to the documentation for details about the protocol, circuit connections and controller operation.

The code is written in MikroC Embedded C for PIC (http://www.mikroe.com/mikroc/pic/) which is an excellent compiler and IDE for PIC-based project development.

Circuit Diagram

Screenshot

Protocol on HyperTerminal

Screenshot

LCD Display

Screenshot Screenshot

About

Embedded C Firmware for a PIC-based Stepper Motor Controller

Topics

Resources

Releases

No releases published

Packages

No packages published