Summary: | 碩士 === 國立虎尾科技大學 === 電機工程研究所 === 96 === In this paper, a language is created by oneself for controlling the automatic guided vehicle (AGV).In the proposed method, this platform uses the electronic elements like the 89S51, the infrared ray detector, the infrared ray receiver, the 555IC, the MAX232IC, and the OPA comparator IC. In the mean time, the primary method was realized by Microsoft Visual C++6.0. This system is divided into 3 parts generally in the software respect. In the 1st part, the compiler is written in VC6.0, and its function is compiling from invented syntax into the assembled language of 89S51.In the 2nd part, the assembler is written in VC6.0 and it is compiling from the assembled language of 89S51 into the Hex Code which can be downloaded to the 89S51. In the third part, the RS232 Programmer is written in VC6.0 and it downloads the Hex Code of the 89S51 into the 89S51 chip. There are also divided 3 parts mainly in hardware. In the 1st part, the PWM is produced from 89S51 to control the servo motor to go forwards and backwards. In the second part, the 555IC offers the pulse to control the infrared ray detector, and the 89S51 controls the launching of the left side and the right side infrared rays to detect the obstacles. In the third part, the program is downloaded by RS232 transmission line for the recorder.
|