摘要
针对Marlin开源3D打印机固件无法用LabVIEW开发应用程序,不能利用已有硬件和LabVIEW的便捷性快速构建适合用户需要的3D控制平台或数据采集系统,设计一款驱动程序。该驱动程序利用串口助手和示波器的瞬间波形抓取功能,识别Marlin的USB端口与外部硬件的通信机制,并结合LabVIEW中串口工具的虚拟仪器软件架构(VISA)控件,构建能与Marlin串行通信的串口读取子Ⅵ与初始化控件,形成稳定的LabVIEW驱动Marlin程序,最后成功应用于固件的温度控制与结果显示。该方案提高了Marlin的应用灵活性,节省了二次开发成本,为3D控制平台及数据采集系统的构建提供有效参考。
As LabVIEW is unable to develop applications for Marlin open-source 3D printer firmware,the convenience of existing hardware and LabVIEW could not be used to quickly build a 3D control platform or data acquisition system to meet users’needs.This driver program used the serial port assistant and the oscillograph’s instantaneous waveform capture function to identify the communication mechanism between Marlin’s USB port and external hardware,and combined the Virtual Instrument Software Architecture(VISA)control of the serial port tool in LabVIEW to build a serial port reading sub VI and initialization control that could communicate with Marlin serially,forming a stable LabVIEW driven Marlin program.Finally,the driver program is successfully applied to the firmware’s temperature control and result display.This project improves the application flexibility of Marlin,saves the secondary development cost,and provides an effective reference for the construction of 3D control platform and data acquisition system.
作者
唐智超
李仲豪
蒋世奇
张杰
郑富中
TANG Zhichao;LI Zhonghao;JIANG Shiqi;ZHANG Jie;ZHENG Fuzhong(College of Automation,Chengdu University of Information Technology,Chengdu 610225,China;College of Mechanical Engineer-ing,Sichuan University of Science and Engineering,Zigong 643000,China;Intelligent Manufacturing and Automobile School,Chongqing College of Electronic Engineering,Chongqing 401331,China)
出处
《成都信息工程大学学报》
2023年第6期643-648,共6页
Journal of Chengdu University of Information Technology
基金
四川省科技厅重点资助项目(2021YFG0147)
重庆市教委科技计划资助项目(KJZD-K202103101)。