| We design the monitor system for cable trench based on ARM7, which can be used for the protection against the theft, the fire and the humidification. The embedded hardware that this subject adopts is Philips LPC2292 chip built up on the basis of ARM7. To the various real-time operating system on the market, the operating system this subject selects is the free real-time operating system with open source codeμC/OS-Ⅱwhose kernel is easy to use. The CANBUS is used for the data transmission, which is also one of the fieldbus that supports the distributed control and time control, and has become an international standard for fieldbus due to high capability and reliability.Introducing the characteristics and research background about this kind of apparatus, the paper first demonstrates our overall design idea and structure about the monitor system for power cable trench. Describing the characteristic and the function of the ARM7 and CANBUS, we then discuss the details of designing about hardware circuit. After introducing the real-time operating systemμC/OS-Ⅱ, the research explaines the course of transplantation exhaustively. At last, the paper pictures the main design for the software of the monitor system based on the CANBUS and ARM7, which is used for data acquisition from the cable trench.The results of the experimental measurement indicate that the monitor system work stably, the function for real time monitoring, data acquisition and alarm is implemented, the expected requirement of the project is satisfied. |