Skip to content

3D printer controller written in Rust using serial COM

License

Notifications You must be signed in to change notification settings

J040M/xcontroller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xcontroller

xcontroller logo

3D controller written in Rust. Serialcom to send commands to the main board. Websocket server for communication with the controller.

Usage

  1. Compile the Rust program using Cargo:

cargo build --release

  1. Run the application - Development

cargo run -- <test_mode_boolean> RUST_LOG=debug cargo run -- <test_mode_boolean> Windows: $env:RUST_LOG="debug"; cargo run

Execute binary ./xcontroller -- <test_mode_boolean>

  1. Run the application with defined ./xcontroller -- <websocket_port_value> <serial_port_string> <baudrate_value> <test_mode_boolean>

Note: Running the program without params it will fallback to default values.

Default configurations: Config { test_mode: false, serial_port: /dev/ttyUSB0, baud_rate: 115200, ws_port: 9002}

Commands

  • Operation: Control the activity of the machine. Includes start/stop operation, pause/resume operation.

  • Movement: Control the movement of the machine or tool, such as it's speed, location, or direction.

  • Tools: Control the machine's tools, like tool selection, tool changer operation, speed/spindle control.

  • Config: Configure the machine, such as setting feed rate, units of measurement, or endstop behaviour.

  • Information: Output information about the machine or its status.

  • Special: All commands that don't fit into the other categories and perform specific unique functions.

External docs

About

3D printer controller written in Rust using serial COM

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages