Stepper motor controller SNAP protocol

From RepRap
Revision as of 13:14, 12 January 2006 by SimonMcAuliffe (talk) (version migrated from twiki)
Jump to: navigation, search

This is now in a fairly usable state.

When programmed into a PIC16F628 (default), the pinouts are:

Device pinouts

  1. Sync bus connection (A)
  2. Sync bus connection (B)
  3. Not used
  4. Not used
  5. Ground
  6. Minimum optointerrupter input
  7. RX
  8. TX
  9. Maximum optointerrupter input
  10. Stepper output 1
  11. Stepper output 2
  12. Stepper output 3
  13. Stepper output 4
  14. +5V
  15. Not used
  16. Not used
  17. Not used
  18. Not used

The software is currently set up to use a unipolar stepper motor (or motor with compatible sequencing).

PIC16F628 code images are included below. The three images are put one on each axis and provide controllers on network addresses 2, 3 and 4.

-- Main.SimonMcAuliffe - 30 Dec 2005