ѧºÅ£º
³£ ÖÝ ´ó ѧ ±ÏÒµÉè¼Æ£¨ÂÛÎÄ£© £¨2012½ì£©
Ìâ Ä¿ ѧ Éú ѧ Ôº רҵ°à¼¶ УÄÚÖ¸µ¼½Ìʦ רҵ¼¼ÊõÖ°Îñ УÍâÖ¸µ¼ÀÏʦ רҵ¼¼ÊõÖ°Îñ
¶þ¡ðÒ»¶þÄêÁùÔÂ
»ùÓÚSTC89C52µ¥Æ¬»úµÄÁ¸²ÖÎÂʪ¶ÈµÄϵͳÉè¼Æ
ÕªÒª£ºÎÂʪ¶È×÷Ϊһ¸öÖØÒªµÄÎïÀíÁ¿£¬ÊÇÁ¸Ê³²Ö¿âÖÐ×îÆÕ±é¡¢×îÖØÒªµÄ¹¤ÒÕ²ÎÊýÖ®Ò»¡£Ëæ×Å¿ÆÑ§¼¼ÊõµÄ²»¶Ï¸üУ¬¶ÔÎÂʪ¶È²âÁ¿µÄ׼ȷÐÔÒªÇó²»¶ÏÌá¸ß,Òò´ËÎÂʪ¶È¼ì²âÒ²³ÉΪһ¸öÖØÒªµÄÑо¿¿ÎÌâ¡£
±¾Éè¼ÆÊÇ»ùÓÚµ¥Æ¬»ú¶ÔÊý×ÖÐźŵĸßÃô¸ÐÐԺͿɿØÐÔÒÔ¼°Êý×ÖÎÂʪ¶È´«¸ÐÆ÷¿ÉÒÔ²úÉúÊý×ÖÐźŵÄÐÔÄÜ£¬Éè¼ÆÁËÒÔSTC89C52ΪºËÐĵÄÒ»Ì׿ØÖÆÏµÍ³£¬ÆäÖаüÀ¨µ¥Æ¬»ú¡¢ÎÂʪ¶È¼ì²â¡¢¼üÅ̼°ÏÔʾ¡¢±¨¾¯µç·¡¢ÏµÍ³Èí¼þµÈ²¿·ÖµÄÉè¼Æ¡£
STC89C52ÊÇÒ»Öֵ͹¦ºÄ¡¢¸ßÐÔÄÜCMOS8λ΢¿ØÖÆÆ÷£¬¾ßÓÐ 8K¿É±à³ÌFlash ´æ´¢¿ØÆ÷¡£DHT11Êý×ÖÎÂʪ¶È´«¸ÐÆ÷ÊÇÒ»¿îº¬ÓÐÒÑУ׼Êý×ÖÐźÅÊä³öµÄÎÂʪ¶È¸´ºÏ´«¸ÐÆ÷¡£ËüÓ¦ÓÃרÓõÄÊý×ÖÄ£¿é²É¼¯¼¼ÊõºÍÎÂʪ¶È´«¸Ð¼¼Êõ£¬È·±£²úÆ·¾ßÓм«¸ßµÄ¿É¿¿ÐÔÓë׿ԽµÄ³¤ÆÚÎȶ¨ÐÔ¡£
¹Ø¼ü´Ê:ÎÂʪ¶È£»STC89C52£»DHT11´«¸ÐÆ÷£»
I
Temperature and Humidity of Granary System design based
on STC89C52 Microcontroller
Abstract: Temperature and humidity as an important physical quantity, is one of the most common food warehouse, the most important process parameters. As the times progress, social development, science and technology constantly updated, the accuracy of measurement of temperature and humidity requirements continue to improve, so the temperature and humidity testing has also become an important research topic.
The design is based on single-chip digital signal high sensitivity and controllability, as well as digital temperature and humidity sensors can produce the performance of digital signal, design a control system STC89C52 as the core, Including the microcontroller, temperature and humidity testing, keyboard and display, the alarm circuit, system software, and other parts of the design.
STC89C52 a low-power, high performance CMOS8 bit microcontroller with 8K programmable Flash storage controller. DHT11 digital temperature and humidity sensor is a composite Sensor contains a calibrated digital signal output of the temperature and humidity. Application of a dedicated digital modules collection technology and the temperature and humidity sensing technology, to ensure that products with high reliability and excellent long-term stability
Key words: Temperature and Humidity; STC89C52; DHT11 sensor;
II
Ŀ¼
ÕªÒª........................................................................................................................ I 1 Ð÷ÂÛ.................................................................................................................... 1
1.1 ¿ÎÌ⿪·¢µÄÒâÒå ................................................................................... 1 1.2 ¿ÎÌ⿪·¢µÄ±³¾° ................................................................................... 1 1.3 ¿ÎÌ⿪·¢µÄÄ¿±ê ................................................................................... 2 2 ϵͳ×ÜÌå·ÖÎö.................................................................................................. 2
2.1 ×ÜÌå·½°¸Éè¼Æ......................................................................................... 2 2.2 Ó²¼þÑ¡Ôñ................................................................................................. 3 2.3 ϵͳ·ÂÕæ................................................................................................. 4 3 Ó²¼þÉè¼Æ.......................................................................................................... 6
3.1 ProtelÓ²¼þ¿ª·¢Èí¼þ ............................................................................... 6 3.2 µ¥Æ¬»úϵͳģ¿é..................................................................................... 7 3.3 ÎÂʪ¶È¼ì²âÄ£¿é................................................................................... 12 3.4 ÏÔʾģ¿é............................................................................................... 14 3.5 ÎÂʪ¶ÈÉÏÏ޴洢ģ¿é........................................................................... 17 3.6 µçÔ´¼°³ÌÐòÏÂÔØÄ£¿é........................................................................... 19 4 Èí¼þÉè¼Æ.......................................................................................................... 21
4.1 Ö÷³ÌÐò................................................................................................... 21 4.2 ÎÂʪ¶È¼ì²âÄ£¿é³ÌÐò........................................................................... 22 4.3 LCDÏÔʾģ¿é³ÌÐò............................................................................... 23 5 ϵͳʵÏÖÓëµ÷ÊÔ.............................................................................................. 24
5.1 µç·°åº¸½Ó×¢ÒâÊÂÏî........................................................................... 24 5.2 ³ÌÐòÏÂÔØ............................................................................................... 24 5.3 ϵͳÔËÐÐ............................................................................................... 25 ²Î ¿¼ ÎÄ Ï×........................................................................................................ 27 Ö л.................................................................................................................... 28 ¸½ ¼ A ............................................................................................................... 29 ¸½ ¼ B................................................................................ ´íÎó£¡Î´¶¨ÒåÊéÇ©¡£
III
Ïà¹ØÍÆ¼ö£º