關於我自己

2011年9月4日 星期日

8051單晶片 _控制步進馬達


作業環境(operating systems):Windows XP
使用編譯程式(development tools):Keil C 和Visual Basic

目的: 電腦經由RS232傳輸指令到8051單晶片,再由8051單晶片去控制馬達正轉與反轉

The single microchip 89S51 is with RS232 interface connected to the computer,
which will then control the stepper motor.



Keil C++ 圖片:
Keil c 選擇IC種類圖片:




將HEX或BIN檔案燒錄的軟體 Borland C++軟體




模擬的工具圖片 使用USB連線 :
公式是:RPM=120*f/p
f = 60 Hz,p = 4 極
(TCP/IP遠端控制步進馬達) keil C + VB程式
程式介面:




電腦環境設置:




8051控制的版子:


成品圖:

沒有留言:

張貼留言