隨著工廠自動化以及智慧製造的普及,雷射加工的需求與應用面也逐漸增加。雖現今大部分的加工機台皆可改裝為雷射加工機台,像是龍門式平台,機械手臂等等。但上述機台的馬達負載較大;而本次使用的H-bot機構,因其機構特色,可使得馬達平均負擔負載,也因此可以有較小體積。 本研究透過C#設計使用者介面,可對輸入之二維點陣圖形進行影像前處理並轉換為對應之加工碼。並透過STM32微控制器之I/O控制以及RS-485控制功能兩者互相搭配,以達成馬達的步數與速度控制,並使用PWM技術控制雷射輸出功率,最終完成雷射加工的目的。 本研究利用X方向模式以及多像素模式等加工模式的選擇,以達成較佳的加工結果的同時有較短的加工時間,並藉由軟體上的設計,修正機構與硬體端的各種誤差以及限制,以更進一步提升結果的細節呈現能力,最終完成之雷射結果,具有良好的灰階表現並與前人結果相比具有較佳的原圖相似度。 ;With the popularity of factory automation and smart manufacturing, the demand and application of laser processing are gradually increasing. Although most of today’s processing machines can be converted into laser processing machines, such as gantry platforms and robotic arms, however the motors of above processing machines have to bear a heavier motor load. The H-bot mechanism used in this study has the advantages of lightweight and lower motor load. In this research, the user interface can convert the input 2D bitmap into GCode and connect with the STM32 microcontroller. By using I/O and RS-485 control method, The STM32 can make the motor run at specified speed and step. STM32 also can control the laser driver by using PWM. Finally, achieve laser processing. By using X direction mode and multi-pixel mode, the result will have good grayscale performance and shorter processing time. With the design and improvement of the software, the final result can have better accuracy. Comparison with the previous research’s result, the result in this research achieve better performance on original image similarity.