{"id":2794,"date":"2019-09-10T12:18:33","date_gmt":"2019-09-10T12:18:33","guid":{"rendered":""},"modified":"2019-09-10T20:18:57","modified_gmt":"2019-09-10T12:18:57","slug":"pic%e5%8d%95%e7%89%87%e6%9c%ba%e4%bd%8e%e5%8a%9f%e8%80%97%e7%94%b5%e8%b7%af%e7%9a%84%e8%ae%be%e8%ae%a1%e6%96%b9%e6%b3%95%e4%bb%8b%e7%bb%8d","status":"publish","type":"post","link":"http:\/\/www.szryc.com\/?p=2794","title":{"rendered":"PIC\u5355\u7247\u673a\u4f4e\u529f\u8017\u7535\u8def\u7684\u8bbe\u8ba1\u65b9\u6cd5\u4ecb\u7ecd"},"content":{"rendered":"
\n\t\u5f15\u8a00<\/p>\n
\n\t20\u4e16\u7eaa90\u5e74\u4ee3\u4ee5\u6765\uff0c\u968f\u7740\u96c6\u6210\u7535\u8def<\/u>\u7279\u5f81\u7ebf\u5bbd<\/u>\u7684\u6301\u7eed\u7f29\u5c0f\u4ee5\u53ca\u82af\u7247\u5bc6\u5ea6\u548c\u5de5\u4f5c\u9891\u7387\u7684\u76f8\u5e94\u589e\u52a0\uff0c\u964d\u4f4e\u529f\u8017\u5df2\u7ecf\u6210\u4e3a\u4e9a\u5fae\u7c73\u548c\u6df1\u4e9a\u5fae\u7c73\u8d85\u5927\u89c4\u6a21\u96c6\u6210\u7535\u8def<\/u>\u8bbe\u8ba1\u4e2d\u7684\u4e00\u4e2a\u4e3b\u8981\u8003\u8651\u56e0\u7d20\u3002\u529f\u8017\u7684\u589e\u52a0\u4f1a\u5e26\u6765\u4e00\u7cfb\u5217\u95ee\u9898\uff0c\u4f8b\u5982\u7535\u8def\u53c2\u6570\u6f02\u79fb\u3001\u53ef\u9760\u6027\u4e0b\u964d\u3001\u82af\u7247\u5c01\u88c5\u6210\u672c\u589e\u52a0\u7b49\u3002\u56e0\u6b64\uff0c\u7cfb\u7edf\u7684\u529f\u8017\u5728\u6574\u4e2a\u7cfb\u7edf\u8bbe\u8ba1\u4e2d\uff0c\u5c24\u5176\u662f\u5728\u91c7\u7528\u7535\u6c60<\/u>\u4f9b\u7535\u7684\u7cfb\u7edf\u4e2d\u663e\u5f97\u5341\u5206\u91cd\u8981\u3002<\/p>\n \n\tMICroChip<\/u>\u516c\u53f8PI<\/u>C\u7cfb\u5217\u7684\u5355\u7247\u673a<\/u>\u4e3a\u8bbe\u8ba1\u9ad8\u6027\u80fd\u3001\u4f4e\u529f\u8017\u7684\u5355\u7247\u673a\u7cfb\u7edf\u63d0\u4f9b\u4e86\u5f88\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002\u4e0b\u9762\u4ece\u4f4e\u529f\u8017\u8bbe\u8ba1\u65b9\u6cd5\u53ca\u5177\u4f53\u4f8b\u5b50\u6765\u4ecb\u7ecdPIC\u5355\u7247\u673a\u4f4e\u529f\u8017\u5e94\u7528\u3002<\/p>\n \n\t<\/p>\n \n\t1 \u4f4e\u529f\u8017\u8bbe\u8ba1\u65b9\u6cd5<\/p>\n \n\t\u4e3a\u4f7f\u7cfb\u7edf\u5de5\u4f5c\u5728\u4f4e\u529f\u8017\u72b6\u6001\uff0c\u5fc5\u987b\u6b63\u786e\u8bbe\u7f6e\u5355\u7247\u673a\u7684\u914d\u7f6e\u53ca\u5de5\u4f5c\u65b9\u5f0f\u3002\u4e0b\u9762\u7ed3\u5408\u6700\u5e38\u7528\u7684PIC12\u3001PIC16\u7b49\u5355\u7247\u673a\u4ecb\u7ecd\u4f4e\u529f\u8017\u7cfb\u7edf\u7684\u8bbe\u8ba1\u65b9\u6cd5\u3002<\/p>\n \n\t1.1 \u57fa\u672c\u8bbe\u8ba1\u65b9\u6cd5<\/p>\n \n\t\u6709\u8bb8\u591a\u6280\u672f\u53ef\u4ee5\u964d\u4f4e\u7cfb\u7edf\u7684\u529f\u8017\uff0c\u6700\u5e38\u7528\u7684\u662fSleep\u6a21\u5f0f\u3002\u7a0b\u5e8f\u6267\u884c\u4e00\u6761SLEEP\u6307\u4ee4\uff0c\u4fbf\u8fdb\u5165\u4e86\u4f11\u7720\uff08Sleep\uff09\u6a21\u5f0f\u3002\u8981Sleep\u6a21\u5f0f\u4e0b\uff0c\u6676\u632f<\/u>\u505c\u6b62\u632f\u8361\uff0c\u800c\u6b64\u65f6\u5355\u7247\u673a\u57283V\u7535\u6e90\u6761\u4ef6\u4e0b\uff0c\u53ea\u67091μA\u7684\u7535\u6d41<\/u>\u3002\u7cfb\u7edf\u5de5\u4f5c\u65f6\uff0c\u5355\u7247\u673a\u53ef\u4ee5\u91c7\u7528\u770b\u95e8\u72d7<\/u>\u6216\u5916\u90e8\u4e8b\u4ef6\u5468\u671f\u6027\u5730\u5524\u9192\u5355\u7247\u673a\uff0c\u5229\u7528\u7535\u5b50\u5f00\u5173<\/u>\u4e3a\u7cfb\u7edf\u63d0\u4f9b\u7535\u6e90\uff0c\u4ee5\u51cf\u5c11\u7cfb\u7edf\u5f85\u673a\u529f\u8017\uff0c\u5ef6\u957f\u7535\u6c60\u4f7f\u7528\u65f6\u95f4\u3002<\/p>\n \n\t\u5355\u7247\u673a\u7684\u5de5\u4f5c\u9891\u7387\u548c\u529f\u8017\u7684\u5173\u7cfb\u4e5f\u5f88\u5927\uff0c\u9891\u7387\u8d8a\u9ad8\uff0c\u529f\u8017\u8d8a\u5927\u3002\u5728\u91c7\u752832kHz\u6676\u632f\u30013V\u5de5\u4f5c\u7535\u538b\u65f6\uff0cPIC12\u3001PIC16\u7b49\u7cfb\u5217\u5355\u7247\u673a\u7684\u5178\u578b\u5de5\u4f5c\u7535\u6d41\u53ea\u670915μA;\u800c\u91c7\u75284MHz\u6676\u632f\u30015V\u5de5\u4f5c\u7535\u538b\u65f6\uff0c\u5355\u7247\u673a\u7684\u5178\u578b\u5de5\u4f5c\u7535\u6d41\u8fbe\u5230\u51e0mA\u3002\u5728\u8bb8\u591a\u4f4e\u529f\u8017\u7684\u573a\u5408\uff0c\u91c7\u7528\u4f4e\u901f\u6676\u632f\u5b9e\u73b0\u4f4e\u529f\u8017\u975e\u5e38\u6709\u6548\u3002\u5982\u679c\u5355\u7247\u673a\u91c7\u7528RC\u632f\u8361\uff0c\u8fd8\u53ef\u4ee5\u901a\u8fc7I\/O<\/u>\u53e3\u7684\u64cd\u4f5c\u6539\u53d8\u632f\u8361\u7535\u963b<\/u>\uff0c\u4ece\u800c\u6539\u53d8\u5355\u7247\u673a\u5de5\u4f5c\u9891\u7387\uff0c\u8fbe\u5230\u8282\u80fd\u7684\u76ee\u7684\u3002\u5982\u56fe1\u6240\u793a\uff0c1\u4e2aI\/O\u5f15\u811a\u53ef\u4ee5\u5728\u7b49\u5f85\u72b6\u6001\u4e0b\u5c06\u5e76\u8054\u7535\u963bR1\u53bb\u6389\uff0c\u964d\u4f4e\u5355\u7247\u673a\u5de5\u4f5c\u9891\u7387\u3002\u5f53\u5355\u7247\u673a\u9700\u8981\u5de5\u4f5c\u65f6\uff0c\u53ef\u5c06I\/O\u5f15\u811a\u8bbe\u7f6e\u4e3a\u8f93\u51fa\u5e76\u8f93\u51fa\u9ad8\u7535\u5e73\uff0c\u4ece\u800c\u63d0\u9ad8\u632f\u8361\u9891\u7387\u3002<\/p>\n \n\t1.2 \u632f\u8361\u7535\u8def\u8bbe\u8ba1<\/p>\n \n\t\u5728\u5355\u7247\u673a\u7cfb\u7edf\u8bbe\u8ba1\u4e2d\uff0c\u632f\u8361\u7535\u8def\u7684\u8bbe\u8ba1\u662f\u5341\u5206\u91cd\u8981\u7684\u4e00\u4e2a\u73af\u8282\u3002PIC\u7cfb\u5217\u5355\u7247\u673a\u7684\u5178\u578b\u632f\u8361\u7535\u8def\u5982\u56fe2\u6240\u793a\u3002<\/p>\n \n\t\u4e00\u822c\u60c5\u51b5\u4e0b\uff0c\u8bbe\u8ba1\u4eba\u5458\u6309\u7167\u5382\u5bb6\u7ed9\u51fa\u7684\u53c2\u6570\u8868\u8fdb\u884c\u9009\u62e9\u3002\u5982\u679c\u7cfb\u7edf\u80fd\u591f\u6b63\u5e38\u5de5\u4f5c\uff0c\u4e5f\u5c31\u4e0d\u518d\u8fdb\u884c\u6539\u8fdb\u4e86\u3002\u5176\u5b9e\uff0c\u8fd9\u662f\u4e0d\u5408\u9002\u7684\u3002\u56e0\u4e3aMi<\/u>crochip\u7684\u5355\u7247\u673a\u6839\u636e\u578b\u53f7\u548c\u7248\u672c\u7684\u4e0d\u540c\uff0c\u5de5\u4f5c\u7535\u538b\u5728\u76f4\u6d412.5\uff5e5.5V\u7684\u8303\u56f4\u5185\uff0c\u6c7d\u8f66\u7ea7\u6e29\u5ea6\u53ef\u4ee5\u5728-40\uff5e-125\u2103\u8303\u56f4\u5185\uff0c\u800c\u53c2\u6570\u8868\u4e2d\u53ea\u7ed9\u51fa\u4e86\u6709\u9650\u7684\u51e0\u79cd\u60c5\u51b5\uff0c\u5b9e\u9645\u73af\u5883\u53c2\u6570\u4f1a\u5bf9\u632f\u8361\u7535\u8def\u7684\u6027\u80fd\u4ea7\u751f\u5f88\u5927\u7684\u5f71\u54cd\u3002\u5982\u9ad8\u6e29\u3001\u4f4e\u7535\u538b\u53ef\u51cf\u5c0f\u632f\u8361\u73af\u8def\u589e\u76ca\uff0c\u800c\u4ece\u964d\u4f4e\u632f\u8361\u9891\u7387\u6216\u8005\u96be\u4ee5\u542f\u52a8;\u4f4e\u6e29\u3001\u9ad8\u7535\u538b\u53ef\u4ee5\u4f7f\u73af\u8def\u589e\u76ca\u53d8\u5927\uff0c\u4ece\u800c\u4f7f\u6676\u632f\u8fc7\u9a71\u52a8\uff0c\u4ea7\u751f\u635f\u574f\u7684\u6f5c\u5728\u5371\u9669\u6216\u8005\u632f\u8361\u7535\u8def\u5de5\u4f5c\u7684\u9ad8\u6b21\u8c10\u6ce2\u9891\u7387\u4e0a\u5347\uff0c\u52a0\u5927\u7cfb\u7edf\u529f\u8017\u3002\u56e0\u6b64\uff0c\u5982\u4f55\u6b63\u786e\u8bbe\u8ba1\u7cfb\u7edf\u7684\u632f\u8361\u7535\u8def\u5341\u5206\u5fc5\u8981\u3002\u5bf9\u4e8ePIC\u7cfb\u5217\u5355\u7247\u673a\uff0c\u4e00\u822c\u7684\u8bbe\u8ba1\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n \n\t\u2460\u9009\u62e9\u6676\u632f\u3002\u6839\u636e\u7cfb\u7edf\u9700\u8981\u7684\u632f\u8361\u9891\u7387\u8fdb\u884c\u6676\u632f\u7684\u9009\u62e9\u3002\u6b64\u5916\uff0c\u6676\u632f\u7684\u5de5\u4f5c\u6e29\u5ea6\u548c\u9891\u7387\u7a33\u5b9a\u5ea6\u4e5f\u662f\u5341\u5206\u91cd\u8981\u7684\u6307\u6807\u3002<\/p>\n \n\t\u2461\u9009\u62e9\u632f\u8361\u5668<\/u>\u7c7b\u578b\u3002PIC\u7cfb\u5217\u5355\u7247\u673a\u6709RC\u3001LP\u3001XT\u3001HS\u7b49\u632f\u8361\u6a21\u5f0f\u3002\u9664RC\u6a21\u5f0f\u5916\uff0c\u632f\u8361\u6a21\u5f0f\u7684\u9009\u62e9\u5b9e\u9645\u4e0a\u5c31\u662f\u73af\u8def\u589e\u76ca\u7684\u9009\u62e9\u3002\u4f4e\u589e\u76ca\u5bf9\u5e94\u4f4e\u632f\u8361\u9891\u7387\uff0c\u9ad8\u589e\u76ca\u5bf9\u5e94\u9ad8\u632f\u8361\u9891\u7387\u3002\u4e00\u822c\u6839\u636e\u5b9e\u9645\u9700\u8981\u7684\u5de5\u4f5c\u9891\u7387\u53ef\u53c2\u8003\u6570\u636e\u624b\u518c\u6765\u9009\u62e9\u3002<\/p>\n \n\t\u2462\u9009\u62e9C1\u3001C2\u3002\u7406\u60f3\u7684\u60c5\u51b5\u662f\uff0c\u4fdd\u8bc1\u7cfb\u7edf\u5728\u9ad8\u6e29\u548c\u6700\u4f4e\u5de5\u4f5c\u7535\u538b\u4e0b\u80fd\u591f\u6b63\u5e38\u5de5\u4f5c\uff0c\u4f7f\u5f97\u7535\u5bb9<\/u>\u5728\u6570\u636e\u624b\u518c\u63a8\u8350\u7684\u8303\u56f4\u5185\u6700\u5c0f\u3002\u540c\u65f6\u9009\u62e9C2\u6bd4C1\u5927\u4e00\u4e9b\u4ee5\u52a0\u5927\u76f8\u79fb\uff0c\u4f7f\u5176\u6709\u5229\u4e8e\u632f\u8361\u7535\u8def\u7684\u4e0a\u7535\u542f\u52a8\u3002<\/p>\n \n\t\u2463\u9009\u62e9Rs<\/u>\u3002\u5728\u4ee5\u4e0a\u53c2\u6570\u90fd\u5df2\u7ecf\u9009\u5b9a\u540e\u9700\u8981\u51b3\u5b9aRs\u7684\u5927\u5c0f\u3002\u7b80\u5355\u7684\u529e\u6cd5\u662f\u8ba9\u7cfb\u7edf\u5de5\u4f5c\u5728\u6700\u4f4e\u6e29\u5ea6\u548c\u6700\u5927\u7535\u538b\u60c5\u51b5\u4e0b\uff0c\u6b64\u65f6\u5f97\u5230\u7684\u5e94\u8be5\u662f\u65f6\u949f<\/u>\u7535\u8def\u6700\u5927\u8f93\u51fa\u5e45\u5ea6\u3002\u7528\u793a\u6ce2\u5668<\/u>\u89c2\u5bdf\u5f15\u811aOSC2\u7684\u8f93\u51fa\u6ce2\u5f62\uff08\u6ce8\u610f\uff0c\u793a\u6ce2\u5668\u7684\u63a2\u5934\u5c06\u7ed9\u7535\u8def\u5f15\u5165\u4e00\u4e2a\u7535\u5bb9\uff0c\u4e00\u822c\u4e3a\u51e0pF\uff09\uff0c\u5982\u679c\u53d1\u73b0\u6b63\u5f26\u6ce2\u7684\u5cf0\uff08\u63a5\u6536Vdd\u5904\uff09\u548c\u8c37\uff08\u63a5\u6536Vss\u5904\uff09\u88ab\u524a\u5e73\u6216\u538b\u6241\uff0c\u8bf4\u660e\u9a71\u52a8\u8fc7\u8f7d\uff0c\u9700\u8981\u5728OSC2\u548cC2\u95f4\u52a0\u51651\u4e2a\u7535\u963bRs\uff0c\u4e00\u822c1kΩ\u5de6\u53f3\u6216\u5c0f\u4e8e1kΩ\u3002Rs\u4e0d\u5b9c\u8fc7\u5927\uff0c\u8fc7\u5927\u5c06\u4f7f\u5f97\u8f93\u5165\u548c\u8f93\u51fa\u4ea7\u751f\u9694\u79bb\uff0c\u4ece\u800c\u4ea7\u751f\u8f83\u5927\u7684\u566a\u58f0\u3002\u5f53\u53d1\u73b0\u9700\u8981\u4e00\u4e2a\u8f83\u5927\u7684Rs\u624d\u80fd\u6d88\u9664\u8fc7\u9a71\u52a8\u65f6\uff0c\u53ef\u4ee5\u589e\u52a0\u8d1f\u8f7d\u7535\u5bb9C2\u6765\u8865\u507f\u3002C2\u4e00\u822c\u9009\u62e9\u572815\uff5e33pF\u4e4b\u95f4\u3002<\/p>\n \n\t\u7cfb\u7edf\u632f\u8361\u7535\u8def\u7684\u8bbe\u8ba1\u5bf9\u7cfb\u7edf\u7684\u7a33\u5b9a\u6027\u3001\u529f\u8017\u7b49\u5f71\u54cd\u5f88\u5927\u3002\u4e00\u822c\u60c5\u51b5\u4e0b\uff0c\u7cfb\u7edf\u4eceSleep\u72b6\u6001\u4e0b\u5524\u9192\u65f6\uff0c\u632f\u8361\u7535\u8def\u6700\u96be\u542f\u52a8\uff08\u5c24\u5176\u7cfb\u7edf\u5de5\u4f5c\u5728\u9ad8\u6e29\u3001\u4f4e\u538b\u3001\u4f4e\u9891\u7684\u60c5\u51b5\u4e0b\uff09\u3002\u6b64\u65f6\uff0c\u7535\u963bRs\u6709\u5229\u4e8e\u632f\u8361\u7535\u8def\u7684\u542f\u52a8\uff0c\u56e0\u4e3a\u5ec9\u4ef7\u7684\u78b3\u819c\u7535\u963b\u5bb9\u6613\u4ea7\u751f\u767d\u566a\u58f0\uff0c\u4ece\u800c\u5e2e\u52a9\u7535\u8def\u8d77\u632f\u3002\u6b64\u5916\uff0c\u9009\u62e9C2\u7a0d\u5927\u4e8eC1\u4ee5\u589e\u5927\u76f8\u79fb\uff0c\u4e5f\u6709\u5229\u4e8e\u7535\u8def\u8d77\u632f\u3002<\/p>\n \n\t2 \u5177\u4f53\u5e94\u7528\u4f8b\u5b50<\/p>\n \n\t2.1 \u7cfb\u7edf\u7ec4\u6210\u53ca\u6846\u56fe<\/p>\n \n\t\u7cfb\u7edf\u4e3b\u8981\u7531PIC\u5355\u7247\u673a\u3001\u53cc\u97f3\u9891<\/u>\u89e3\u7801\u62d4\u53f7\u7535\u8def\u3001\u8bed\u97f3\u96c6\u6210\u7535\u8def\u3001\u63a5\u53e3<\/u>\u7535\u8def\u3001VCC\u7535\u6e90\u63a7\u5236\u7535\u8def\u3001\u5c04\u9891<\/u>\u53d1\u5c04\u7535\u8def\u548cEEPROM<\/u>\u7ec4\u6210\uff0c\u53ef\u5b8c\u6210\u5bf9\u5bb6\u7528\u7535\u5668\u7684\u63a7\u5236\u548c\u5bf9\u62a5\u8b66\u6c42\u63f4\u8bed\u97f3\u4fe1\u606f\u7684\u81ea\u52a8\u4f20\u9001\uff0c\u5982\u56fe3\u6240\u793a\u3002<\/p>\n \n\t2.2 \u63a7\u5236\u5668\u5de5\u4f5c\u65b9\u5f0f<\/p>\n \n\t*\u5f53\u4e0e\u63a7\u5236\u5668\u76f8\u4e32\u95fb\u7684\u7535\u8bdd\u673a\uff08\u4ee5\u4e0b\u79f0\u4e3a\u672c\u5730\u673a\uff09\u5904\u4e8e\u6458\u673a\u65f6\uff0c\u7535\u8bdd\u7ebf\u8f93\u5165\u7535\u538b\u53d1\u751f\u53d8\u5316\uff0c\u5f15\u8d77CD40106\u76842\u811a\u8f93\u51fa\u7535\u5e73\u53d8\u5316\uff0c\u8f93\u5165\u5230CPU<\/u>\u7684RB0\u7aef\u53e3\u4ea7\u751f\u4e2d\u65ad\u4fe1\u53f7\uff0c\u5524\u9192CPU\uff0c\u63a7\u5236\u5668\u8fdb\u5165\u5de5\u4f5c\u72b6\u6001\u3002\u901a\u8fc7\u672c\u5730\u673a\u7684\u62d4\u53f7\u76d8\u5bf9\u63a7\u5236\u5668\u7684\u5404\u79cd\u529f\u80fd\u8fdb\u884c\u63a7\u5236\u3002\u5982\u63a7\u5236\u7535\u89c6\u3001\u97f3\u54cd\u3001\u7167\u660e\u706f\u7b49\u7535\u5668\u7535\u6e90\u7684\u5f00\u5173\u3002<\/p>\n \n\t*\u5f53\u63a7\u5236\u5668\u63a5\u6536\u5230\u632f\u94c3\u4fe1\u53f7\u65f6\uff0cCD40106\u76844\u811a\u8f93\u51fa\u7535\u5e73\u53d8\u5316\uff0c\u8f93\u5165CPU\u7684RB6\u7aef\u53e3\u4ea7\u751f\u4e2d\u65ad\u4fe1\u53f7\uff0c\u5524\u9192CPU\u8fdb\u5165\u5de5\u4f5c\u72b6\u6001\uff0c\u5e76\u5bf9\u632f\u94c3\u4fe1\u53f7\u8fdb\u884c\u8ba1\u6570;\u8fbe\u5230\u8bbe\u5b9a\u94c3\u58f0\u6570\u540e\uff0c\u4f7f\u63a7\u5236\u5668\u8fdb\u5165\u7535\u8bdd\u63a5\u6536\u72b6\u6001\uff0c\u5f00\u59cb\u63a5\u6536\u8fdc\u7a0b\u4f20\u8f93DTMF\u4fe1\u53f7\uff0c\u7ecfMT8880\u89e3\u8c03\u5f97\u5230\u7684\u4fe1\u53f7\u901a\u8fc7IRQ\u5411\u5355\u7247\u673a\u53d1\u51fa\u4e2d\u65ad\u4fe1\u53f7\uff0c\u5c06\u6570\u636e\u5b58\u5165\u5bc4\u5b58\u5668<\/u>\uff0c\u7ecfCPU\u8fd0\u884c\uff0c\u5bf9\u63a7\u5236\u5668\u7684\u5404\u79cd\u529f\u80fd\u8fdb\u884c\u63a7\u5236\u3002<\/p>\n \n\t*\u5f53\u63a7\u5236\u5668\u4f5c\u4e3a\u62a5\u8b66\u5668\uff0c\u5e76\u5904\u4e8e\u8b66\u5907\u72b6\u6001\u65f6\uff0c\u62a5\u8b66\u63a2\u5934\u65f6\u523b\u68c0\u6d4b\u9632\u8303\u533a\u57df\u7684\u60c5\u51b5;\u5f53\u63a2\u5934\u5411\u63a7\u5236\u5668\u53d1\u51fa\u8b66\u60c5\u4fe1\u606f\uff0c\u8f93\u5165CPU\u7684RB5\u4e2d\u65ad\u4ea7\u751f\u4fe1\u53f7\uff0c\u63a7\u5236\u5668\u8fdb\u5165\u5de5\u4f5c\u72b6\u6001\uff0c\u4eceEEPROM\u82af\u7247\u8bfb\u51fa\u9884\u5148\u8bbe\u7f6e\u7684\u62a5\u8b66\u7535\u8bdd\u53f7\u7801\uff0c\u7ecfMT8880\u8f6c\u6362\u4e3aDTMF\u4fe1\u53f7\uff0c\u81ea\u52a8\u62e8\u53f7\uff0c\u4ee5\u8bed\u97f3\u5f62\u5f0f\u5c06\u4fe1\u606f\u4f20\u9001\u7ed9\u7528\u6237\u6216\u76f4\u63a5\u62a5\u8b66\u3002<\/p>\n \n\t2.3 \u5e94\u7528\u7535\u8def<\/p>\n \n\t\uff081\uff09\u7535\u8bdd\u63a5\u53e3\u7535\u8def<\/p>\n \n\t\u7535\u8bdd\u673a\u4e0e\u63a7\u5236\u5668\u91c7\u7528\u63a7\u5236\u5668\u5728\u524d\uff0c\u7535\u8bdd\u673a\u5728\u540e\u7684\u4e32\u8054\u65b9\u5f0f\uff0c\u53ef\u5b9e\u73b0\u7535\u8bdd\u673a\u5bf9\u63a7\u5236\u5668\u5404\u79cd\u529f\u80fd\u7684\u63a7\u5236\u3002\u63a5\u53e3\u7535\u8def\u7531\u8fc7\u538b\u4fdd\u62a4\u7535\u8def<\/u>\u3001\u6781\u6027\u8f6c\u6362\u7535\u8def\u548c\u4e2d\u65ad\u8bf7\u6c42\u7535\u8def\u7ec4\u6210\uff0c\u5982\u56fe4\u6240\u793a\u3002<\/p>\n \n\t\u2460\u8fc7\u538b\u4fdd\u62a4\u7535\u8def\u3002\u5728\u7535\u8bdd\u7ebf\u56de\u8def\u4e0a\u52a0\u5165\u4e86\u4e00\u4e2a\u538b\u654f\u7535\u963b<\/u>R\uff0c\u5b83\u7684\u4f5c\u7528\u662f\u5f53\u5b83\u4e24\u7aef\u7684\u7535\u538b\u5927\u4e8e\u5176\u5de5\u4f5c\u7535\u538b\u65f6\u5448\u77ed\u8def<\/u>\u72b6\u6001\uff0c\u4ece\u800c\u4fdd\u62a4\u540e\u7ea7\u7535\u8def\u514d\u53d7\u9ad8\u538b\u5371\u5bb3\u3002\u5f53\u52a0\u5230\u5b83\u7684\u4e24\u7aef\u7684\u7535\u538b\u5c0f\u4e8e\u5176\u5de5\u4f5c\u7535\u538b\uff0c\u538b\u654f\u7535\u963b\u5448\u5f00\u8def<\/u>\u72b6\u6001\uff0c\u5bf9\u540e\u7ea7\u7535\u8def\u7684\u5de5\u4f5c\u6ca1\u6709\u4efb\u4f55\u5f71\u54cd\u3002\u5728\u672c\u8bbe\u8ba1\u4e2d\uff0c\u538b\u654f\u7535\u963b\u7684\u5de5\u4f5c\u7535\u538b\u4e3a220V\u3002<\/p>\n \n\t\u2461\u6781\u6027\u8f6c\u6362\u7535\u8def\u3002\u7531\u4e8e\u5728\u7535\u8bdd\u7ebf\u4e0a\u4f20\u8f93\u7684\u662f\u4ea4\u6d41\u4fe1\u53f7\uff0c\u4e3a\u4e86\u4f7f\u4fe1\u53f7\u7684\u6781\u6027\u56fa\u5b9a\uff0c\u5728\u7535\u8def\u4e2d\u52a0\u5165\u7535\u6865<\/u>\uff0c\u8fdb\u884c\u5168\u6ce2\u6574\u6d41\u3002<\/p>\n \n\t\u2462\u4e2d\u65ad\u8bf7\u6c42\u7535\u8def\u3002\u4e3a\u5ef6\u957f\u7535\u6c60\u5de5\u4f5c\u65f6\u95f4\uff0cCPU\u5728\u5f85\u673a\u65f6\u5904\u4e8e\u4f11\u7720\u7684\u7701\u7535\u72b6\u6001\uff0c\u5728\u5b9e\u73b0\u8fdc\u7a0b\u7535\u8bdd\u673a\u548c\u672c\u5730\u673a\u5bf9\u63a7\u5236\u5668\u529f\u80fd\u63a7\u5236\u65f6\uff0c\u7531\u4e2d\u65ad\u8bf7\u6c42\u7535\u8def\u5c06CPU\u5524\u9192\u3002<\/p>\n \n\t\uff082\uff09\u8bed\u97f3\u7535\u8def<\/p>\n \n\t\u8bed\u97f3\u7535\u8def\u5982\u56fe5\u6240\u793a\u3002\u5b83\u4ee5ISD4000\u8bed\u97f3\u82af\u7247\u4e3a\u6838\u5fc3\uff0c\u4e3b\u8981\u662f\u5b58\u50a8<\/u>\u62a5\u8b66\u8bed\u97f3\uff0c\u8f93\u51fa\u7ecf\u529f\u7387\u653e\u5927\u540e\u4f20\u9001\u5230\u7535\u8bdd\u7ebf\u4e0a\u3002<\/p>\n \n\t\uff083\uff09MT8880\u4e0ePIC\u5355\u7247\u673a\u7684\u63a5\u53e3\u7535\u8def<\/p>\n \n\tMT8880\u662fMite<\/u>l\u516c\u53f8\u7684DTMF\u6536\u53d1\u5668<\/u>\uff0c\u5177\u6709\u529f\u80fd\u5f3a\u3001\u529f\u8017\u4f4e\u3001\u5de5\u4f5c\u7a33\u5b9a\u3001\u53ef\u9760\u7b49\u6027\u9ad8\u4f18\u70b9\uff0c\u56e0\u6b64\u5728DTMF\u4fe1\u53f7\u8c03\u5236\u7684\u573a\u5408\u5f97\u5230\u4e86\u5e7f\u6cdb\u7684\u5e94\u7528\u3002MT8880\u4e0ePIC\u5355\u7247\u673a\u7684\u63a5\u53e3\u7535\u8def\u5982\u56fe6\u6240\u793a\u3002<\/p>\n \n\t\u2460MT8880\u4e0e\u5355\u7247\u673a\u7684\u63a5\u53e3\u7535\u8def\u3002D0\uff5eD3\u4e3a4\u6839\u6570\u636e\u7ebf\uff0cMT8880\u5bf9\u7ecf\u8fc7\u524d\u7f6e\u5904\u7406\u7684DTMF\u4fe1\u53f7\u8fdb\u884c\u89e3\u8c03\uff0c\u5c06\u89e3\u8c03\u5f97\u7684\u4fe1\u53f7\u5b58\u5165\u7247\u5185\u5bc4\u5b58\u5668\u4e2d\uff0c\u5e76\u901a\u8fc7IRQ\u5411\u5355\u7247\u673a\u53d1\u51fa\u4e2d\u65ad\u4fe1\u53f7\u3002\u5355\u7247\u673a\u76f8\u5e94\u4e2d\u65ad\u8bf7\u6c42\u540e\uff0c\u5728R\u3001W\u3001RS0\u3001RD\u7684\u63a7\u5236\u4e0b\uff0c\u901a\u8fc7D0\uff5eD3\u8bfb\u51fa\u89e3\u8c03\u51fa\u7684\u6570\u636e\u3002<\/p>\n \n\t\u2461DTMF\u4fe1\u53f7\u653e\u5927\u7535\u8def\u3002\u5f53\u5fae\u5904\u7406\u5668\u5c06\u8981\u53d1\u9001\u7684DTMF\u6570\u636e\u5199\u5165MT8880\u76f8\u5e94\u7684\u5bc4\u5b58\u5668\u65f6\uff0cMT8880\u4eceTONE\u5f15\u811a\u53d1\u51faDTMF\u4fe1\u53f7\uff0c\u4fe1\u53f7\u7ecf\u8fc7\u653e\u5927\u7535\u8def\u653e\u5927\u540e\uff0c\u9001\u5f80\u53d8\u538b\u5668<\/u>\u8fdb\u884c\u7535\u538b\u53d8\u5316\u3002<\/p>\n \n\t3 \u7a0b\u5e8f\u8bbe\u8ba1<\/p>\n \n\t\u7a0b\u5e8f\u5728\u8fd0\u884c\u65f6\uff1a\u2460\u4e3a\u7535\u5668\u63a7\u5236\u5668\uff0c\u82e5\u662f\u8fdc\u7a0b\u7535\u8bdd\u673a\u5bf9\u63a7\u5236\u5668\u8fdb\u884c\u64cd\u4f5c\uff0c\u662f\u6839\u636e\u7535\u8bdd\u7684\u632f\u94c3\u58f0\u6570\u6765\u5224\u65ad;\u82e5\u672c\u5730\u7535\u8bdd\u673a\u5bf9\u63a7\u5236\u5668\u8fdb\u884c\u64cd\u4f5c\uff0c\u662f\u6839\u636e\u672c\u5730\u7535\u8bdd\u673a\u7684\u6458\u673a\u60c5\u51b5\u6765\u5224\u65ad\u3002\u2461\u4e3a\u62a5\u8b66\u5668\uff0c\u62a5\u8b66\u63a2\u5934\u968f\u65f6\u68c0\u6d4b\u5230\u8b66\u60c5\u5e76\u53d1\u51fa\u4fe1\u53f7\u7ed9\u63a7\u5236\u5668\uff0c\u800c\u63a7\u5236\u5668\u5219\u662f\u6839\u636e\u7528\u6237\u7684\u8bbe\u7f6e\u60c5\u51b5\uff0c\u662f\u5904\u4e8e\u8b66\u5907\u4e0e\u5426\u6765\u5224\u65ad\u662f\u5426\u62d4\u51fa\u62a5\u8b66\u7535\u8bdd\u3002\u56fe7\u662f\u7a0b\u5e8f\u6d41\u7a0b\u56fe\u3002<\/p>\n \n\t\u4e0b\u9762\u4e3b\u8981\u4ecb\u7ecd\u521d\u59cb\u5316\u7a0b\u5e8f\u3001MT8880\u8bbe\u7f6e\u5b50\u7a0b\u5e8f\u548cDTMF\u4fe1\u53f7\u53d1\u9001\u4ee5\u53ca\u63a5\u6536\u5b50\u7a0b\u5e8f\u3002<\/p>\n \n\t;\u521d\u59cb\u5316\u5bc4\u5b58\u5668<\/p>\n \n\tF0 EQU 0H<\/p>\n \n\tRTCCEQU 01H<\/p>\n \n\tPC EQU 02H<\/p>\n \n\tSTATUS EQU 03H<\/p>\n \n\tFSR EQU 04H<\/p>\n \n\tRA EQU 05H<\/p>\n \n\tRB EQU 06H<\/p>\n \n\tRC EQU 07H<\/p>\n \n\tRD EQU 08H<\/p>\n \n\tRE EQU 09H<\/p>\n \n\tTRISAEQU 85H<\/p>\n \n\tTRISB EQU 86H \u5f15\u8a00 20\u4e16\u7eaa90\u5e74\u4ee3\u4ee5\u6765\uff0c\u968f\u7740 \u96c6\u6210\u7535\u8def \u7279\u5f81 \u7ebf\u5bbd \u7684\u6301\u7eed\u7f29\u5c0f\u4ee5\u53ca\u82af\u7247\u5bc6\u5ea6\u548c\u5de5\u4f5c\u9891\u7387\u7684\u76f8\u5e94\u589e\u52a0\uff0c\u964d\u4f4e\u529f\u8017\u5df2\u7ecf\u6210\u4e3a\u4e9a\u5fae\u7c73\u548c\u6df1\u4e9a\u5fae\u7c73\u8d85\u5927\u89c4\u6a21\u96c6\u6210 \u7535\u8def \u8bbe\u8ba1\u4e2d\u7684\u4e00\u4e2a\u4e3b\u8981\u8003\u8651\u56e0\u7d20<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"_links":{"self":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/2794"}],"collection":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2794"}],"version-history":[{"count":0,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/2794\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2794"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2794"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\n\t\u6765\u6e90\uff1b21ic<\/p>\n","protected":false},"excerpt":{"rendered":"