In order to solve the problem of interactive communication between virtual reality development platform Virtools and serial port peripherals, the software development framework of Virtools, modular development technology and serial communication technology based on Windows were studied. A serial communication modular was developed that extended the development of Virtools in serial data communication. Finally, the availability of the modular was tested with the serial testing tools.