²Ö¿âÎÂʪ¶È¼à²âϵͳ
Õª Òª
ÔÚµç×ӿƼ¼µÄ¿ìËÙ·¢Õ¹µÄͬʱ£¬µ®ÉúÓÚ¼¯³Éµç·¼¼ÊõµÄµ¥Æ¬»úϵͳӦÓÃÔ½À´Ô½¹ã·º¡£µ¥Æ¬»úµÄ·¢Õ¹£¬´Ù½øÁ˹¤Òµ²â¿ØÁìÓòµÄ·¢Õ¹£¬ÆäÖжÔÓÚ²Ö¿âÎÂʪ¶ÈµÄ¼à²âÒªÇó²»¶ÏÔö¸ß¡£ÄÇô£¬ÓÉÔʼµÄÈ˹¤¼à²â²Ö¿âÎÂʪ¶È·½·¨ÒѾÂýÂý·¢Õ¹µ½ÀûÓõ¥Æ¬»úʵÏÖ×Ô¶¯¼à²â¡£
±¾ÎÄÖ÷Òª½éÉÜ»ùÓÚµ¥Æ¬»úµÄ²Ö¿âÎÂʪ¶È¼à²âµÄÏà¹ØÏµÍ³µÄÓ²¼þºÍÈí¼þÉè¼ÆÄÚÈÝ¡£ÏµÍ³Éè¼Æ½á¹¹¼òµ¥¡¢ÊµÓã¬Ïà±È´«Í³¼à²â·½·¨£¬ÔÚ¼à²â¾«¶ÈÕâÒ»·½Ãæ´ó·ù¶È±»ÌáÉý£¬½ÚÊ¡ÁËÈËÁ¦ÎïÁ¦Óëʱ¼ä¡£
¹Ø¼ü´Ê £ºSTC89C51µ¥Æ¬»ú£»ÎÂʪ¶È£»DS18B20£»HS1101
Warehouse temperature and humidity monitoring system
ABSTRACT
With the development of electronic technology, with the development of very large scale integrated circuit technology and the birth of the single chip microcomputer application system is more and more widely.MCU development, promote the development in the field of industrial measurement and control, including for increasing monitoring requirement of temperature and humidity in the warehouse.So, from the original manual monitoring warehouse temperature and humidity using single chip computer to realize automatic monitoring has become possible.This paper mainly introduces the related warehouse temperature and humidity monitoring system based on single chip microcomputer hardware and software design of the content.System structure is simple and practical, and improves the measuring precision and efficiency.
KEYWORD: STC89C51;Temperature and humidity£»DS18B20£»HS1101
Ŀ¼
ǰÑÔ .............................................................................. 1 µÚÒ»Õ Ð÷ÂÛ ....................................................................... 2
1.1¿ÎÌâµÄÌá³ö¼°ÒâÒå .......................................................... 2 1.2¹úÄÚÍâÏÖ×´¼°·¢Õ¹Ç÷ÊÆ ...................................................... 2 µÚ¶þÕ ÎÂʪ¶È¼à²âϵͳµÄ·½°¸È·¶¨ ................................................... 4
2.1Éè¼ÆÒªÇó .................................................................. 4 2.2ϵͳ×ÜÌå·½°¸Éè¼Æ .......................................................... 4
2.2.1 ¿ØÖÆÐ¾Æ¬AT89C51µ¥Æ¬»ú .............................................. 5 2.2.3 ʪ¶È´«¸ÐÆ÷ .......................................................... 9 2.3 ϵͳÉè¼Æ·½°¸µÄ¹¤×÷ÔÀí ................................................... 11 µÚÈýÕ ϵͳӲ¼þµç·¼°ÔÀíͼÉè¼Æ .................................................. 12
3.1 ÖÐÐÄϵͳÉè¼Æ ............................................................. 12
3.1.1¸´Î»µç· ........................................................... 12 3.1.2ʱÖÓµç· ........................................................... 13 3.2Òº¾§ÏÔʾµç·Éè¼Æ ......................................................... 14 3.3ÎÂʪ¶È¼à²âϵͳµÄµç·Éè¼Æ ................................................. 14
3.3.1ÎÂ¶È²â¿ØÏµÍ³µç·Éè¼Æ ............................................... 15 3.3.2ʪ¶È²â¿ØÏµÍ³µç·Éè¼Æ ............................................... 15 3.4 ¼üÅ̵ç·Éè¼Æ ............................................................. 16 3.5 ±¨¾¯µç·Éè¼Æ ............................................................. 17 3.6ϵͳ×ܵç· ............................................................... 18 µÚËÄÕ ϵͳÈí¼þÉè¼Æ .............................................................. 19
4.1ʹÓõĿª·¢¹¤¾ß ........................................................... 19
4.1.1 Proteus ............................................................ 19 4.1.2 Keil C51 ±àÒëÆ÷¼ò½é ................................................ 20 4.2Èí¼þ³ÌÐò ................................................................. 21 4.3 ϵͳ·ÂÕæÍ¼ ............................................................... 22 С ½á ......................................................................... 23 ²Î¿¼ÎÄÏ× ......................................................................... 24 Ö л ......................................................................... 25 ¸½ ¼þ ......................................................................... 25