Simple console terminal to communicate with a 3D printer board over a serial port. This project was created to assist my other project.
- Send G-code commands interactively.
- Receive responses with timestamps.
- Send raw hex bytes.
- Runtime commands to toggle DTR/RTS lines.
- Automatic prompt after receiving "ok" from printer.
Run the program via .NET:
dotnet run -- --port COM4 --baud 115200If port or baud rate is not specified, the program will list available serial ports and ask for user input.
| Command | Description |
|---|---|
/help |
Show help |
/exit |
Exit the application |
/dtr on/off/pulse |
Toggle or pulse DTR line |
/rts on/off |
Toggle RTS line |
/raw HEXBYTES |
Send raw bytes in hex (space-separated) |
- Supports Windows and Linux serial ports.
- Prompts appear automatically after receiving
okfrom the printer firmware. - Default baud rate: 115200, typical for Marlin-based boards.
- Use
/rawto send non-text bytes directly to the board. /dtrand/rtscommands can control the board’s reset or signal lines in real-time.
This project is licensed under the GNU General Public License v3.0 (GPL-3.0). See LICENSE for details.