»ùÓÚµ¥Æ¬»úµÄÑÌÎí¼ì²âϵͳ£¬±ÏÒµÂÛÎÄ ÁªÏµ¿Í·þ

·¢²¼Ê±¼ä : ÐÇÆÚÁù ÎÄÕ»ùÓÚµ¥Æ¬»úµÄÑÌÎí¼ì²âϵͳ£¬±ÏÒµÂÛÎĸüÐÂÍê±Ï¿ªÊ¼ÔĶÁ

»ùÓÚµ¥Æ¬»úµÄÑÌÎí¼ì²âϵͳ

Õª Òª

ΪÁËÔçÆÚ·¢ÏÖºÍͨ±¨Óк¦ÑÌÎí£¬·ÀÖ¹ºÍ¼õÉÙΣº¦£¬±£»¤ÈËÉíºÍ²Æ²ú°²È«¡£ÑÌÎí±¨¾¯Æ÷ÄܸøÈËÃÇÌáÇ°¾¯Ê¾¡£Ëæ×Å¡°ÐÅϢʱ´ú¡±µÄµ½À´£¬´«¸ÐÆ÷¼¼ÊõµÃµ½ÁËÏÔÖøµÄ½ø²½£¬ÆäÓ¦ÓÃÁìÓòÔ½À´Ô½¹ã·º£¬¶ÔÆäÐèÇóÔ½À´Ô½ÆÈÇÐ,ÒªÇóÔ½À´Ô½¸ß¡£±¾ÎIJÉÓÃMQ-7ÐÍ°ëµ¼Ìåµç×èʽÑÌÎí´«¸ÐÆ÷ºÍAT89C2051µ¥Æ¬»úΪºËÐļ¼ÊõÉè¼ÆµÄÑÌÎí±¨¾¯Æ÷£¬ÊµÏÖÁËÑÌÎí±¨¾¯¡¢±¨¾¯ÏÞÉèÖá¢ÑÓʱ±¨¾¯¼°ÓëÉÏλ»ú´®¿ÚͨÐŵȹ¦ÄÜ£¬¶ÔÑÌÎí¼ì²â±¨¾¯µÄʵÏÖ¼¼Êõ½øÐÐÁ˵ÄÓÐÒâÒåµÄ̽Ë÷ÓëÑо¿£¬ÔÚÓк¦ÆøÌå¼à²âʵÏÖ·½ÃæÓÐÒ»¶¨µÄ²Î¿¼¼ÛÖµ¡£

¹Ø¼ü´Ê ÑÌÎí ±¨¾¯Æ÷ AT89C2051 ´«¸ÐÆ÷

I

SMOKE DETECTION SYSTEM BASED

ON SINGLE CHIP

Abstract

For early detection and notification of harmful fumes, to prevent and reduce hazards and protect life and property safety. Smoke alarm can give people advance warning. With the \age\the arrival of sensor technology has been significant progress, more and more widely its applications, its demand for more and more urgent, requiring higher and higher. In this paper, MQ-7-type semiconductor resistance type smoke sensor and AT89C2051 microcontrollers as the core technology smoke alarm designed to achieve a smoke alarm, alarm limit settings, delay alarm and serial communication with the host computer and other functions, the implementation of the smoke detection alarm Technology for a meaningful exploration and research, monitoring the achievement of the harmful gas have some reference value.

KEY WORDS smoke alarm AT89C2051 sensor

II

Ŀ¼

ÖÐÎÄÕªÒª ...................................................................................................................... I Ó¢ÎÄÕªÒª .................................................................................................................... II 1 Ð÷ÂÛ.......................................................................................................................... 1

1.1 ÎÊÌâÓÉÀ´.................................................................................................... 1 1.2 ¿ÎÌâÏÖ×´.................................................................................................... 2 1.3 ÂÛÎĵÄÖ÷ÒªÈÎÎñ...................................................................................... 2 2 ϵͳԭÀí¸ÅÊö ....................................................................................................... 4

2.1 ÑÌÎí¼ì²â±¨¾¯Æ÷µÄÉè¼Æ˼· .............................................................. 4 2.2 ϵͳӲ¼þ×é³ÉÔ­Àí ................................................................................. 4 2.3 ÑÌÎí´«¸ÐÆ÷µÄÑ¡Ôñ ................................................................................. 5 2.4 ÔË·ÅÓëA/DµÄÑ¡Ôñ ................................................................................. 6 2.5 µ¥Æ¬»úϵͳ²¿·Ö...................................................................................... 9

2.5.1 µ¥Æ¬»úAT89C51½éÉÜ........................................................................ 9 2.5.2 ¶¨Ê±/¼ÆÊýÆ÷µÄ½á¹¹¼°¿ØÖÆ............................................................ 10 2.5.3 ÖжϿØÖÆ.......................................................................................... 11 2.5.4 µ¥Æ¬»úÍâΧµç·½éÉÜ...................................................................... 12

2.6 ±¨¾¯²¿·Ö.................................................................................................. 13 2.7 Èí¼þϵͳ¹¤×÷Á÷³Ì ............................................................................... 15

2.7.1 ¹¤×÷¹ý³Ì¼°³ÌÐòÉè¼Æ...................................................................... 16

3 ϵͳÉè¼Æ .............................................................................................................. 17

3.1 ϵͳµÄÓ²¼þÉè¼Æ.................................................................................... 17 3.2 Èí¼þÉè¼Æ.................................................................................................. 19

3.2.1 A/D²ÉÑù˫ͨµÀÁ÷³Ì....................................................................... 19 3.2.2 ±¨¾¯Á÷³ÌÉè¼Æ.................................................................................. 20

4 ϵͳµÄ·ÂÕæ.......................................................................................................... 23

4.1 A/Dת»»µÄ·ÂÕæ ..................................................................................... 24 4.2 Â˲¨¼°±¨¾¯Ëã·¨µ÷ÊÔ .......................................................................... 25 5 Éè¼Æ×ܽá .............................................................................................................. 27

5.1 ʵÏÖÄ¿±êÓëÌصã.................................................................................... 27 5.2 ½áÂÛ¼°²»×ã ............................................................................................. 28 Ö л........................................................................................................................ 29 ²Î¿¼ÎÄÏ× ................................................................................................................... 30 ¸½ ¼1 .................................................................................................................... 31 ¸½ ¼2 .................................................................................................................... 32

1