ÄÚÈÝ·¢²¼¸üÐÂʱ¼ä : 2024/12/27 20:24:01ÐÇÆÚÒ» ÏÂÃæÊÇÎÄÕµÄÈ«²¿ÄÚÈÝÇëÈÏÕæÔĶÁ¡£
MOVX A £¬@DPTR £»È¡³öA/Dת»»Öµ MOV @R1 £¬ A £»ËÍÈëÊý¾ÝÇø INC R1 £»Ö¸Õë¼Ó1
CJNE R1 £¬#2FH£¬START£»ÅжÏÊý¾ÝÇøÂú£¿ 2£©ÖжϷ½Ê½
ADC0809×÷ΪAT89C51µ¥Æ¬»úµÄÒ»¸öÍⲿÀ©Õ¹²¢ÐпÚI/O¿Ú£¬¿ÚµØÖ·È¡¾öÓÚËùÁ¬½ÓµÄÖжϿڣ¬Ñ¡Í¨Í¨µÀÈ¡¾öÓÚµØÖ·µØ룬ÖжϷ½Ê½µÄÖ÷ÒªÌصãÊǽ«×ª»»Íê³ÉÐźŽÓÔÚµ¥Æ¬»úµÄÖжϿÚÉÏ£¬×ª»»Íê³ÉA/Dת»»Æ÷·¢³öÐźŵ¥Æ¬»ú°ÑËüµ±×÷Ò»¸öÖжÏÀ´´¦Àí¡£ËùÒÔ±¾Éè¼ÆÖÐA/Dת»»Æ÷Á¬½Ó³É²éѯ·½Ê½¡£
3.8 µçÔ´ÎÈѹµç·
µçÔ´ÎÈѹµç·Êdz£ÓõıäѹÕûÁ÷µç·£¬¼¼ÊõÏà¶Ô³ÉÊ죬³É±¾½ÏµÍ¡£±äѹÆ÷ÊäÈë¶ËΪ220V/50HZ½»Á÷µç£¬¾¹ý±äѹÆ÷±äѹ»ñµÃ9V½»Á÷µç£¬È»ºóÔÙÓÉÇÅʽÕûÁ÷µç·ºÍÂ˲¨µç·´¦Àí£¬µÃµ½Ô¼µÈ9VÖ±Á÷µç£¬×îºó¾¹ýÖ±Á÷ÎÈѹµç·CW7805´¦Àí£¬×îÖյõ½+5VµÄÖ±Á÷µç£¬¼´¿É×÷Ϊ´ËϵͳµÄµçÔ´£¬¾ßÌåµç·Èçͼ3.10Ëùʾ£º
T4220V11£º13121C11000uFC20.33uFC30.1uF2GNDVinVout3+5VC447uF
ͼ3.10 µçÔ´ÎÈѹµç·
¸ù¾ÝÒªÇó£¬Ê×ÏÈÓü¯³ÉÎÈѹÆ÷Éè¼ÆÒ»¸ö¹Ì¶¨Êä³ö?5VµÄÖ±Á÷ÎÈѹµçÔ´£¬Í¨¹ý²éÔij£Óõç×ÓÔªÆ÷¼þʵÓÃÊÖ²á¿ÉÖªCW7805¼¯³ÉÎÈѹÆ÷Êä³ö?5V£¬ CW7805µÄÊäÈëµçѹΪ7~30V£¬ÓÖÓÉÓڴμ¶ÏßȦµÄµçѹһ°ã±È×îÖÕÊä³öµÄÎÈѹÖÁÉÙ¸ß3V£¬¹Ê¿É¾ùÈ¡ÊäÈëµçѹΪ9VÉè¼Æ¡£¼´½»Á÷ÊäÈëµçѹU2¾ÕûÁ÷ºÍÂ˲¨ºó±ä³É9V¡£ÔòÓбäѹºóµçѹ
U19?0.9?9V ? U1??2V?20V 20.9ÓÚÊÇÑ¡Ôñ±äѹÆ÷ÔÈÆ×éÓ븱ÈÆ×éµÄÔÑÊý±È
N1U022011???£¨±äѹ±È£©¡£ N2U1201¹¦ÂÊP?UI?20W£¬ËùÒÔ¿ÉÒÔÑ¡ÓÃGET?12±äѹÆ÷¡£ µç·ÖÐÕûÁ÷¶þ¼«¹ÜËù³ÐÊܵÄ×î´ó·´Ïòµçѹ
URM?2?U1?28.2V¡£
ËùÒÔӦѡÔñ·´Ïò»÷´©µçѹURM?56.4VµÄÕûÁ÷¶þ¼«¹Ü£¨°´×î´ó·´Ïò¹¤×÷µçѹµÄ¶þ±¶Ñ¡È¡URM£©¡£¹Ê¿ÉÒÔÑ¡Ôñ1N4001¶þ¼«¹Ü£¨×î´ó·´Ïò¹¤×÷µçѹ100V£¬×î´óÕýÏòÕûÁ÷µçÁ÷1.0A£©´î½¨ÕûÁ÷ÇÅ¡£VD1ºÍVD2¿ÉÑ¡Óÿ¹»÷´©ÄÜÁ¦½ÏÇ¿µÄ·¢¹â¶þ¼«¹ÜÓÃÓڶ̷ʱ±£»¤Èý¶Ë¼¯³ÉÎÈѹÆ÷£¬»¹¿ÉÒÔÆðµ½Ö¸Ê¾×÷Óá£
µçÈݵÄÈÝ¿¹Ò»°ã´óÓÚ¼¸Ç§Å·£¬ÎªÁË·ÀÖ¹µçÈݱ»»÷´©£¬ÎÒÃÇÈ¡XC?100?£¬¸ù¾Ý¹«Ê½
11
XC?1 2?fCµÃµ½·ÀÖ¹µÍƵ¸ÉÈŵĵçÈÝ
1C??31.8471?10?6?32?F
2???50?100¹Ê¿ÉÈ¡C4=47?F
¸ù¾ÝÈý¶Ë¼¯³ÉÎÈѹÆ÷µÄ¹æ¸ñ¿ÉÒÔÈ·¶¨C2=0.33?F£¬C3 =0.33?F¡£¸ù¾Ý
TRLC1?(3~5)£¬RL?50?µÃ
2T5?2?1000?F C1?RL¹Ê£¬C1¿ÉÈ¡·´Ïò»÷´©µçѹΪ1000?FµÄµç½âµçÈÝÂ˲¨µçÈÝ¡£
3.9 Éù¹â±¨¾¯µç·
µ±Ä³Ò»Í¨µÀµÄÎÂʪ¶È²âÁ¿Öµ³¬³öÔ¤ÏÈÉ趨µÄÉÏ¡¢ÏÂÏÞ±¨¾¯Öµ»òϵͳÔËÐгöÏÖ¹ÊÕÏʱ£¬ ϵͳ·¢³öÉù¹â±¨¾¯ÒÔÌáÐÑÓû§×¢Òâ¡£±¨¾¯µç·Öйⱨ¾¯²ÉÓ÷¢¹â¶þ¼«¹Ü£¬Éù±¨¾¯²ÉÓ÷äÃùÆ÷À´Éè¼Æ£¬ÆäÓ²¼þµç·Èçͼ3.11Ëùʾ¡£
VCCR2P1.71KQ1NPND1LS1LEDSPEAKER ͼ3.11 Éù¹â±¨¾¯µç·
·äÃùÆ÷µç·ÖУ¬¾§Ìå¹ÜÆ𿪹Ø×÷Óã¬P1.7Êä³öµÍµçƽʱ£¬¹Ü½ÅÊä³öµçѹ¾¹ýlKÏÞÁ÷µç×è·Öѹºó£¬µ½´ï¾§Ìå¹Ü»ù¼«µÄµçѹΪʹµÃ¾§Ìå¹Ü·¢Éä½áÕýÆ«£¬¼¯µç½á·´Æ«£¬¾§Ìå¹Üµ¼Í¨£¬ ·äÃùÆ÷Éϵç¶ø²úÉúÉùÏì¡£
3.10 ¿´ÃŹ·µç·
ÓÉÓÚµ¥Æ¬»úÎÞ²Ù×÷ϵͳ£¬Èç¹û³ÌÐò³öÏÖÒì³£Çé¿ö(Èç³öÏÖËÀÑ»·)¾ÍÎÞ·¨Õý³£ÔËÐУ¬ Òò´Ë£¬±¾ÏµÍ³²ÉÓÃÁËÒ»¸öÓ²¼þ¿´ÃŹ·À´¼àÊÓ³ÌÐòµÄÔËÐС£ÃÀÐŹ«Ë¾µÄMAX706P£¬¾ßÓС°¿´ÃŹ·¡±¡¢Ö÷µçÔ´¼ì²âµÄ¹¦ÄÜ¡£µ¥Æ¬»úͨ¹ýI/0Òý½Å¸øWD1(¿´ÃŹ·ÊäÈë)½ÅÕýÂö³å£¬Èç¹ûÁ½´ÎÂö³åʱ¼ä¼ä¸ô²»´óÓÚ1.6S£¬ÔòWD0 (¿´ÃŹ·Êä³ö)½ÅһֱΪ¸ßµçƽ£¬ËµÃ÷΢»ú³ÌÐòÔËÐÐÕý³£¡£µ±Á½´Î·¢³öÕýÂö³åµÄʱ¼ä¼ä¸ô´óÓÚ1.6Sʱ£¬¡°¿´ÃŹ·¡± ±ãʹWD0Òý½Å±äΪµÍµçƽ£¬£¬½«WD0½ÅÓëMRÏàÁ¬£¬¿ÉʹRESET½Å(Ó뵥Ƭ»úµÄRSTÏàÁ¬)²úÉú¸ßµçƽµÄ¸´Î»Âö³å£¬Ê¹³ÌÐòÄÜ´ÓÍ·ÖØпªÊ¼Ö´ÐУ¬Æðµ½¼àÊÓ³ÌÐòÔËÐеÄ×÷Ó᣿´ÃŹ·µç·Èçͼ3.12Ëùʾ¡£
12
RST1234RESTWD1WD0PF0MRGNDVCCPF1MAX706P8765P2.4MAX706PVCCͼ3.12 ¿´ÃŹ·µç·
×¢£ºÍ¼ÖÐMAX706PµÄREST¶Ë½Óµ¥Æ¬»úµÄRST¶Ë£¬WD1¶Ë½ÓP2.4¶Ë¿Ú¡£
3.11 ÏÔʾµç·
LEDÏÔʾÆ÷ÊÇÓÉ·¢¹â¶þ¼«¹ÜÏÔʾ×ֶεÄÏÔʾÆ÷¼þ£¬Ò²¿É³ÆΪÊýÂë¹Ü¡£ÆäÍâÐνṹÈçͼ3.13Ëùʾ£¬ÓÉͼ¿É¼ûËüÓÉ8¸ö·¢¹â¶þ¼«¹Ü£¨ÒÔϼò³Æ×ֶΣ©¹¹³É£¬Í¨¹ý²»Í¬µÄ×éºÏÀ´ÏÔʾ³ö0-9¡¢A¡¢B¡¢C¡¢D¡¢E¡¢FÒÔ¼°Ð¡Êýµã¡°.¡±µÈ×Ö·û¡£
afbghgfedcbahgfedcbaedc¹«¹²Ñô¼«¹«¹²Òõ¼«
ͼ3.13 LEDÏÔʾÆ÷µÄ½á¹¹
±í3.3ÁгöÆ߶ÎLEDÏÔʾÆ÷£¨¹²Òõ¼«£©ÏÔʾµÄÊý×Ö¡¢×Ö·ûºÍ¶ÔÓ¦µÄ¶ÎÂë¹Øϵ¡£ ¹²Ñô¼«ÏÔʾÆ÷µÄ¶ÎÂëÓë¹²Òõ¼«ÏÔʾÆ÷µÄ¶ÎÂëÊÇÂß¼·ÇµÄ¹Øϵ£¬ËùÒÔ¶Ô±í2-4ÖеĹ²Òõ¼«ÏÔʾÆ÷µÄ¶ÎÂëÇó·´£¬¼´¿ÉµÃµ½¹²Ñô¼«ÏÔʾÆ÷µÄ¶ÎÂë¡£ LEDÏÔʾÆ÷µÄÏÔʾ·½·¨
±¾Éè¼ÆÏÔʾÐèҪʹÓÃ2855ºÍ7λ¹²Ñô¼«ÏÔʾÆ÷µÄ½Ó¿Úµç·¡£8255µÄA×÷ΪλɨÃè¿Ú£¬¾·´ÏòÇý¶¯Æ÷75452½ÓÏÔʾÆ÷¹«¹²Òõ¼«£»B¿Ú×÷Ϊ¶ÎÊý¾Ý¿Ú£¬¾Í¬ÏàÇý¶¯Æ÷7407½ÓÏÔʾÆ÷µÄ¸÷¸öÑô¼«¡£
13
±í3.3 Êý×Ö¶ÔÓ¦µÄ¶ÎÂë
±íʾ×Ö·û
0 1 2 3 4 5 6 7 8 9 A b c d E F P . ¿Õ¸ñ
DP g f e d c b a
¶ÎÂ루H£©
0 0 1 1 1 1 1 1 3F 0 0 0 0 0 1 1 0 0 1 0 1 1 0 1 1 0 1 0 0 1 1 1 1 0 1 1 0 0 1 1 0 0 1 1 0 1 1 0 1 0 1 1 1 1 1 0 1 0 0 0 0 0 1 1 1 0 1 1 1 1 1 1 1 0 1 1 0 1 1 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 1 0 0 0 0 1 1 1 0 0 1 0 1 0 1 1 1 1 0 0 1 1 1 1 0 0 1 0 1 1 1 0 0 0 1 0 1 1 1 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
06 5B 4F 66 6D 7D 07 7F 6F 77 7C 39 5E 79 71 73 80 00
¶ÔÓÚ6λÏÔʾÆ÷£¬ÔÚAT89C51RAM´æ´¢Æ÷ÖÐÉèÖÃ7¸öÏÔʾ»º³åµ¥Ôª70H~76H£¬·Ö±ð´æ·Å7λÏÔʾÆ÷µÄÏÔʾÊý¾Ý¡£8255µÄ A ¿ÚɨÃèÊä³ö×ÜÊÇÖ»ÓÐ1λ¸ßµçƽ£¬¼´7λÏÔʾÆ÷ÖнöÓÐ1λ¹«¹²Ñô¼«Îª¸ßµçƽ£¬ÆäËûλΪµÍµçƽ8255µÄB¿ÚÊä³öÏàӦλȻºó¶ÔÆäËû6λѲ»ØÏÔʾ£¬Èç¹ûСÊýµãλ¹Ì¶¨¿ÉÒÔͨ¹ý¶ÔÖ¸¶¨Î»½øÐÐÖÃλ»òÕßÇåÁãÀ´ÊµÏÖ¡£
±¾ÏµÍ³²ÉÓÃ74LS245×öÇý¶¯ÊýÂë¹ÜµÄµç·£¬¿ÉÒÔ±£Ö¤ÊýÂë¹ÜµÄ¹©µç£¬ÊýÂë¹Ü7SEG-MAX4¶¯Ì¬ÏÔʾ4λÊý×Ö£¬74LS245оƬ¼°ÊýÂë¹Ü7SEG-MAX4Ç°ÒÑ×öÁËÏêϸ½éÉÜ£¬ÕâÀï²»ÔÙ˵Ã÷¡£ÕâÀï×ÅÖØ˵Ã÷Ò»ÏÂÊýÂë¹ÜÏÔʾÊý×ֵĺ¬Ò壬ÊýÂë¹ÜÏÔʾÊý×ÖΪ4룬Æä4λÊý´Ó×óÏòÓÒÊýµÄº¬ÒåΪ£ºµÚÒ»¸öÊýÂë¹ÜÏÔʾµÄÊÇ´«¸ÐÆ÷µÄͨµÀºÅ£¬µÚ¶þ¸öÊýÂë¹ÜÏÔʾ¡°-¡±ºÅ»òÕßµ±ÎÂʪ¶È¸ßÓÚ100¡æʱÏÔʾ°ÙλÊý×Ö£¬µÚÈý¸öÊýÂë¹ÜºÍµÚËĸöÊýÂë¹ÜÒÀ´ÎÏÔʾËù²âÎÂʪ¶ÈÊý×Ö£¬ÀýÈçÈôÊÇÊýÂë¹ÜÏÔʾΪ6-15£¬ÔòÆ京ÒåΪ6´ú±íµÚ6¸ö´«¸ÐÆ÷£¬¡°-¡±´ú±íÎÂʪ¶ÈΪÁãÏ£¬-15´ú±íÁãÏÂ15¡æ£¬¼´Æä×ÜÌ庬ÒåΪµÚÁù¸öÎÂʪ¶È´«¸ÐÆ÷µÄλÖüì²âµÄÎÂʪ¶ÈΪÁãÏÂ15¡æ£»ÈôÊÇÊýÂë¹ÜÏÔʾΪ8030£¬ÔòÆ京ÒåΪµÚ°Ë¸ö´«¸ÐÆ÷µÄλÖüì²âλÖõÄÎÂʪ¶ÈΪ30¡æ¡£ÆäÓ²¼þµç·Èçͼ3.14Ëùʾ¡£
14