µç×ÓÃÜÂëËø
±Ï
Òµ Éè ¼Æ
רҵ£ºµç×ÓÐÅÏ¢¹¤³Ì¼¼Êõ°à¼¶£ºµç×ÓÐÅÏ¢****
ѧºÅ£º****** ÐÕÃû£º*** Ö¸µ¼ÀÏʦ£º*****
µç×ÓÃÜÂëËøµÄÉè¼Æ
ÕªÒª£º±¾Éè¼Æ²ûÊöͨ¹ýProteusÈí¼þ³É¹¦·ÂÕæµÄµç×ÓÃÜÂëËø
µÄʵÏÖ¹ý³Ì£¬Ñ¡ÓÃSTC89C52µ¥Æ¬»úΪºËÐĵÄϵͳÀ´ÊµÏÖ°´¼üÊäÈë¡¢¿ªËøºÍÃÜÂëʶ±ð¡£²ÉÓÃEPROMоƬ£¨µç¿É²Á¿É±à³ÌÖ»¶Á´æ´¢Æ÷--Ò»ÖÖµôµçºóÊý¾Ý²»¶ªÊ§µÄ´æ´¢Ð¾Æ¬£©À´Íê³ÉÃÜÂëµÄ´æ´¢£¬Í¨¹ý1602AÒº¾§ÏÔʾÆ÷Ìáʾ³ÌÐòÔËÐÐ״̬ºÍʹÓò½Ö裬ÀûÓ÷äÃùÆ÷Ä£Äⱨ¾¯£¬·¢¹â¶þ¼«¹ÜÄ£ÄâËøµÄ¿ª¹Ø¡£¸ÃϵͳÓÃCÓïÑÔ±àд³ÌÐò£¬Óë»ã±àÓïÑÔÏà±È¾ßÓиüºÃµÄÒÆÖ²ÐԺͿɶÁÐÔ£¬±ãÓÚÐ޸ĺÍÔö¼õ¹¦ÄÜ¡£
¹Ø¼ü´Ê£ºProteus£»ÃÜÂëËø£»µ¥Æ¬»ú£»CÓïÑÔ;
ºÓÄϹ¤ÒµÖ°Òµ¼¼ÊõѧԺ
Ŀ¼
Ç°ÑÔ ......................................................................................... ´íÎó£¡Î´¶¨ÒåÊéÇ©¡£ µÚÒ»Õ ×ÜÌå·½°¸Éè¼Æ ........................................................... ´íÎó£¡Î´¶¨ÒåÊéÇ©¡£ 1.1·½°¸ÂÛÖ¤Óë±È½Ï .......................................................... ´íÎó£¡Î´¶¨ÒåÊéÇ©¡£ 1.2·½°¸Ñ¡Ôñ ....................................................................................................... 2 µÚ¶þÕ µ¥ÔªÄ£¿éÉè¼Æ ............................................................................................ 3 2.1 Ó²¼þÖ§³Ö ...................................................................................................... 3 2.1.1 оƬSTC89C52оƬµÄ½éÉÜ ................................................................ 3 2.1.2 AT24C02оƬµÄ½éÉÜ ........................................................................ 3 2.1.3 ·äÃùÆ÷½á¹¹½éÉÜ ............................................................................... 5 2.2.2 ¾ØÕó¼üÅÌÉè¼Æµç· .............................................................................. 7 2.2.3 ÉùÒôÌáʾµç·Éè¼Æ .............................................................................. 8 2.2.4 ÏÔʾģ¿éÉè¼Æ ...................................................................................... 8 2.2.5 AT24C02µôµç´æ´¢µ¥ÔªµÄÉè¼Æ ........................................................... 9 µÚÈýÕ ³ÌÐòÉè¼ÆÓëϵͳ·ÂÕæ ........................................................................... 12 3.1 Ä£¿é½éÉÜ .................................................................................................... 12 3.1.1 Ö÷³ÌÐòÄ£¿é ........................................................................................ 14 3.1.2 ÃÜÂë±È½ÏÅжÏÄ£¿é ............................................................................ 14 3.1.3 ¼üÅÌɨÃèÄ£¿é .................................................................................... 14 3.1.4 ÐÞ¸ÄÃÜÂëÄ£¿é .................................................................................... 15 3.1.5 1602AÒº¾§ÏÔʾģ¿é ......................................................................... 17 3.2 PROTEUS·ÂÕæµç· ........................................................................................ 17 µÚÎåÕ ϵͳ¹¦ÄÜ .................................................................................................. 18 µÚÁùÕ Éè¼Æ×ܽá ................................................................... ´íÎó£¡Î´¶¨ÒåÊéÇ©¡£ ²Î¿¼ÎÄÏ× ................................................................................................................ 20 ¸½Â¼£º .................................................................................................................... 22
A¡¢Æ÷¼þÇåµ¥ ...................................................................................................... 22 B¡¢Ô´³ÌÐò .......................................................................................................... 23 C¡¢µç·ÔÀíͼ .................................................................................................. 44
·ÊäÈë°´Å¥¿ª¹Øµç5Ã붨ʱµç· 20Ã붨ʱµç· Éù¹âָʾµç· ÊäÈëËø´æµç· ¿ªËø¿ØÖƵç· ÃÜÂë´æ´¢µç·
»úе¶¯×÷¹¹¼þ
ͼ2 Êý×ÖÂß¼¿ØÖÆ·½°¸µç×ÓÃÜÂëËøÔÀí¿òͼ
1.2·½°¸Ñ¡Ôñ
ÓÉÓÚÀûÓõ¥Æ¬»úÁé»îµÄ±à³ÌÉè¼ÆºÍÇ¿´óµÄI/O¶Ë¿Ú£¬¼°Æä¿ØÖƵÄ׼ȷÐÔ£¬²»µ«ÄÜʵÏÖ»ù±¾µÄÃÜÂëËø¹¦ÄÜ£¬»¹¿ÉÒÔÔöÌíµôµç´æ´¢¡¢Éù¹âÌáʾµÈ¹¦ÄÜ£¬¹ÊÑ¡Ó÷½°¸Ò»¡£
2