8000 GitHub - dukelec/cdstep: Stepper Motor Controller
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

dukelec/cdstep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CDSTEP Introduction

RS-485 wire housing: Molex 5264 (4 pin)

Download this project:

git clone --recursive https://github.com/dukelec/cdstep

Protocol

CDSTEP is an open-source stepper motor controller that communicates over an RS485 interface.

  • Default baud rate: 115200 bps
  • Maximum speed: 50 Mbps
  • Default address: 0xfe

The underlying protocol is CDBUS, with the following frame format:
src, dst, len, [payload], crc_l, crc_h

Each frame includes a 3-byte header, a variable-length payload, and a 2-byte CRC (identical to Modbus CRC).
For more information on the CDBUS protocol, please refer to:

The payload is encoded using the CDNET protocol. For detailed information, please refer to:

Block Diagram

GUI Tool

CDBUS GUI Tool: https://github.com/dukelec/cdbus_gui

After power on, first write 1 to state, then write the target position to tc_pos, then the stepper motor will rotate.

After modifying the configuration, write 1 to save_conf to save the configuration to flash.
If you need to restore the default configuration, change magic_code to another value and save it to flash. Then reapply power.

Logs:

Plots:

Plot details, IAP upgrade, data import/export (including registers, logs, plots).

About

Stepper Motor Controller

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0