USB interface design for greenhouse environment data acquisition system
-
Graphical Abstract
-
Abstract
Universal Serial Bus(USB), as a communication interface specification, is widely applied to communication system between the personal computer and external device. The advantages of USB are of hot inserting and pulling operation, high-speed data transfer, high reliability and high expansibility. A greenhouse environment data acquisition system, which applied the MCU (Micro Control Unit) AT89C52 and the specialized USB interface chip PDIUSBD12 was expatiated in this paper. The designs of hardware, driver software and application software were also introduced. The driver software accepted Windows Driver Model (WDM), which achieved the USB device hot inserting and pulling operation. The Visual C++ 6.0 was used to design application software. In that procedure the USB device was handled as files and the high speed bulk transfer of data could be realized.
-
-