User Tools

Site Tools


octoprint_connect_tina2

This is an old revision of the document!


How to Connect TINA2 To Octoprint


OctoPrint running in SparkOne is configured with printer parameters and communication parameters at the factory, and can be used directly without any changes.

If OcotPrint's run settings file config.yaml is missing, or if you want to connect WEEDO TINA2 from your own installed OctoPrint, follow these steps to configure:

Add TINA2 model configuration


1. Go to the OctoPrint settings screen and click Add Profile in the PRINTER→Printer Profiles menu.


2. 在General窗口中输入,Name:TINA2,Model:WEEDO TINA2。


3. 在Print bed & build volume窗口中,将X, Y, Z轴长度全部改为100mm,取消选择Heated bed。


4. 在Axes窗口中,将X, Y轴的速度改为3000,选择Y轴的Invert control。点击Save,保存退出。



设置GCODE脚本


进入OctoPrint设置界面,OCTOPRINT→GCODE Scripts,进行如下设置

在Before print job starts栏内输入W1
在After print job completes栏内输入W2
在After print job is cancelled栏内输入W3
在After print job is paused栏内输入W4
在Before print job is resumed栏内输入W5
在After connection to printer is established栏内输入W6
在Before connection to printer is closed栏内输入W7

完成后,点击Save保存退出

添加插件


进入OctoPrint设置界面,OCTOPRINT→Plugin Manager,点击Get More…按钮,在Search…栏中分别输入DisplayLayer和PortLister,安装如下两个插件,安装完成后重启OctoPrint系统


DisplayLayerProgress Plugin插件设置


进入OctoPrint设置界面,PLUGINS→DisplayLayerProgress Plugin→Display菜单,在Visibility选项中,选中如下项目

在Message output选项中,选中Printer Display,并将其设置改为

Progress=[progress]


完成后,点击Save保存退出

打开与TINA2的通讯


1. 用USB线连接TINA2和SparkOne,打开TINA2电源,点击主界面Connection右边的刷新按键,在Serial Port下拉菜单中选择/dev/ttyUSB0,在Baudrate下拉菜单中选择57600。

2. 在Printer Profile下拉菜单中选择TINA2,在Save connection settings和Auto-connect on server startup前打上勾。


3. 点击Connect按键,切换到Terminal窗口可查看串口的通讯情况。如果连接正常,打印机会自动重启一次,并在Terminal窗口中输出打印机的参数信息。


接下来,你就可以使用Octoprint来控制TINA2了LOL

octoprint_connect_tina2.1574410439.txt.gz · Last modified: 2020/09/21 13:43 (external edit)