CAN bus has the advantages of high-reliability, real-time and low-price, so it is used widely. This paper designed a digital system based on CAN bus for monitoring and controlling temperature and humidity in the building.This paper analysed the thechnology of CAN.In systerm design,it was payed more attention to designing hardware structure,choosing modle of element and optimizing soft structure . P89C664H was choosed for data dealing,SHT11 was choosed for signal measuring,SAJ1000 was choosed as controller of CAN.Ordering to hardware design ,C was used in MCU soft programming ,PC software was programmed with Delphi.CMAC is abbreviation of Cerebellar Model Articulation Controller and it is a kind of neural network model simulating cerebellar function.This paper designed a solution based on CMAC for intelligently temperature and humidity setting,as to dealling ambiguity and otherness of temperature and humidity setting.This paper also presented the relevant arithmetic , program in C and practical example. The solution has a good effect on practical appliance. |