Serial Communication between PC and MCU Realized by VB Active X

Yingchun Liu · Ordnance Industry Automation · 2004

The serial communication between PC and MCU is realized with VB ActiveX. Upper PC is programmed with VB6.0, open VB item, add Mscomm, Label and TextBox controls etc., and set attribute of controls, and then design code. Lower PC is programmed with assemble language, set working mode and baud rate of serial port, send and receive data. MCU reads data from EEPROM, and send it to PC via RS-232, send back checking commond 1 after checked, MCU continuously sends data, store data and checks data, if data is not right, send-back commond 0, MCU sends data again until data is right.

Read the paper · More papers on PaperTik