{"id":2231,"date":"2019-03-14T09:05:45","date_gmt":"2019-03-14T09:05:45","guid":{"rendered":""},"modified":"2019-03-14T17:06:06","modified_gmt":"2019-03-14T09:06:06","slug":"at89c51%e5%8d%95%e7%89%87%e6%9c%ba%e5%af%b9%e6%99%ba%e8%83%bd%e8%af%ad%e9%9f%b3%e6%8b%a8%e5%8f%b7%e6%8a%a5%e8%ad%a6%e7%b3%bb%e7%bb%9f%e7%9a%84%e8%ae%be%e8%ae%a1","status":"publish","type":"post","link":"http:\/\/www.szryc.com\/?p=2231","title":{"rendered":"AT89C51\u5355\u7247\u673a\u5bf9\u667a\u80fd\u8bed\u97f3\u62e8\u53f7\u62a5\u8b66\u7cfb\u7edf\u7684\u8bbe\u8ba1"},"content":{"rendered":"

\n\t\u968f\u7740\u4eba\u4eec\u751f\u6d3b\u6c34\u5e73\u7684\u63d0\u9ad8\u548c\u5b89\u9632\u610f\u8bc6\u7684\u589e\u5f3a\uff0c \u6025\u9700\u5f00\u53d1\u9762\u5411\u5927\u4f17\u3001\u4ef7\u683c\u4f4e\u5ec9\u3001\u8fd0\u884c\u53ef\u9760\u7684\u81ea\u52a8\u62a5\u8b66\u7cfb\u7edf\u3002\u9274\u4e8e\u4f4f\u5b85\u7535\u8bdd\u548c\u79fb\u52a8\u901a\u4fe1\u8bbe\u5907\u7684\u666e\u53ca\uff0c \u4ee5\u53ca\u7535\u8bdd\u8bed\u97f3\u62a5\u8b66\u7684\u5feb\u6377\u3001\u6709\u6548\u53ca\u4ef7\u683c\u4f4e\u5ec9\u7b49\u4f18\u70b9\uff0c \u516c\u5171\u901a\u4fe1\u7f51\u6210\u4e86\u62a5\u8b66\u7cfb\u7edf\u7684\u6700\u4f73\u4f20\u8f93\u5a92\u4ecb\u3002\u672c\u6587\u4ecb\u7ecd\u7684\u62a5\u8b66\u7cfb\u7edf\u5c31\u662f\u5728\u6b64\u57fa\u7840\u4e0a\u53d1\u5c55\u8d77\u6765\u7684\u4e00\u79cd\u667a\u80fd\u8bed\u97f3\u62e8\u53f7\u62a5\u8b66\u7cfb\u7edf\uff0c \u8be5\u7cfb\u7edf\u53ef\u5e7f\u6cdb\u7528\u4e8e\u5404\u79cd\u5bf9\u5b89\u9632\u8981\u6c42\u8f83\u9ad8\u7684\u573a\u5408\uff0c \u5982\u667a\u80fd\u697c\u5b87\u3001\u5546\u573a\u3001\u94f6\u884c\u548c\u5de5\u5382\u7b49\u3002<\/p>\n

\n\t\u7535\u8bdd\u81ea\u52a8\u62a5\u8b66\u7684\u4e3b\u8981\u529f\u80fd\u4e3a\uff1a \u7528\u6237\u6839\u636e\u9700\u8981\u628a\u81ea\u5df1\u7684\u624b\u673a\u53f7\u7801\u3001\u529e\u516c\u5ba4\u7535\u8bdd\u6216\u62a5\u8b66\u76d1\u63a7\u4e2d\u5fc3\u7684\u7535\u8bdd\u9884\u5b58\u5165\u62a5\u8b66\u4e3b\u673a\u3002\u62a5\u8b66\u4e3b\u673a\u4e0d\u65ad\u5730\u5bf9\u6240\u76d1\u63a7\u7684\u8bbe\u5907\uff08 \u95e8\u7981\u3001\u70df\u96fe\u63a2\u6d4b\u5668\u3001\u7a97\u78c1\u3001\u6444\u50cf\u5934\u7b49\uff09 \u72b6\u51b5\u8fdb\u884c\u5de1\u68c0\uff0c \u5f53\u6709\u4e0d\u5b89\u5168\u60c5\u51b5\uff08 \u5982\u706b\u707e\u3001\u975e\u6cd5\u5165\u5ba4\u3001\u89c6\u9891\u4e22\u5931\u7b49\uff09 \u53d1\u751f\u65f6\uff0c \u62a5\u8b66\u4e3b\u673a\u62e8\u901a\u9884\u5148\u5b58\u5165\u7684\u7535\u8bdd\u53f7\u7801\uff0c \u64ad\u653e\u76f8\u5e94\u7684\u8b66\u60c5\u8bed\u97f3\u3002\u82e5\u7535\u8bdd\u5360\u7ebf\u6216\u8005\u65e0\u4eba\u63a5\u542c\uff0c\u53ef\u62e8\u4e0b\u4e00\u4e2a\u9884\u5b58\u7684\u7535\u8bdd\u53f7\u7801\uff0c \u5982\u679c\u6240\u6709\u9884\u5b58\u7684\u7535\u8bdd\u90fd\u5360\u7ebf\u6216\u8005\u65e0\u4eba\u63a5\u542c\uff0c \u5219\u4f1a\u81ea\u52a8\u628a\u6240\u6709\u7684\u9884\u5b58\u7535\u8bdd\u91cd\u62e8\u4e00\u904d\uff0c \u4fdd\u8bc1\u4e86\u62a5\u8b66\u7684\u6709\u6548\u6027\u548c\u53ef\u9760\u6027\u3002<\/p>\n

\n\t <\/div>\n

\n\t1 \u7cfb\u7edf\u7ec4\u6210\u548c\u5de5\u4f5c\u539f\u7406<\/p>\n

\n\t\u7cfb\u7edf\u7ec4\u6210\u6846\u56fe\u5982\u56fe1 \u6240\u793a\u3002\u91c7\u7528AT89C51 \u5355\u7247\u673a<\/u>\u4f5c\u4e3a\u63a7\u5236\u6838\u5fc3\uff0c \u5916\u63a5E2PROM<\/u> \u7528\u4e8e\u5b58\u50a8\u7535\u8bdd\u53f7\u7801\u3001\u8bbe\u7f6e\u53c2\u6570\uff08 \u5b9a\u65f6\u5e03\/\u64a4\u9632\u3001\u8054\u52a8\u3001\u89c6\u9891\u7b49\uff09 \u4ee5\u53ca\u8b66\u60c5\u4fe1\u606f\u7b49\u3002\u5f53AT89C51\u5355\u7247\u673a\u5b9e\u65f6\u5de1\u68c0\u5230\u65b0\u7684\u8b66\u60c5\u4fe1\u53f7\uff08 \u9632\u533a\u6545\u969c\u3001\u89c6\u9891\u4e22\u5931\u3001\u4e3b\u7535\u65ad\u7535\u6216\u4e0a\u4f4d\u673a\u6b7b\u673a\uff09 \u65f6\uff0c \u62a5\u8b66\u4e3b\u673a\u5c31\u4f1a\u81ea\u52a8\u8fdb\u884c\u8b66\u60c5\u5904\u7406\uff08 \u58f0\u5149\u62a5\u8b66\u3001\u542f\u52a8\u76f8\u5e94\u8054\u52a8\u3001\u8bb0\u5f55\u8b66\u60c5\u4ee5\u53ca\u62e8\u53f7\u62a5\u8b66\u7b49\uff09 \u3002<\/p>\n

\n\t\u62e8\u53f7\u62a5\u8b66\u7684\u5de5\u4f5c\u539f\u7406\u5982\u4e0b\uff1a<\/p>\n

\n\t\u7cfb\u7edf\u81ea\u52a8\u5730\u63a7\u5236\u6458\/\u6302\u673a\u7535\u8def<\/u>\u6a21\u62df\u6458\u673a\uff0c \u540c\u65f6AT89C51 \u5355\u7247\u673a\u901a\u8fc7\u53ef\u7f16\u7a0b\u5e76\u884c\u63a5\u53e38255 \u5c06MT8880 \u7f6e\u4e3a\u547c\u53eb\u6a21\u5f0f\uff0c \u68c0\u6d4b\u662f\u5426\u6709\u62e8\u53f7\u97f3\u3002\u82e5\u6709\u62e8\u53f7\u97f3\uff0c \u5219\u5c06MT8880 \u8bbe\u4e3a\u7a81\u53d1\u65b9\u5f0f\uff0c \u5e76\u6309\u7528\u6237\u9884\u8bbe\u7684\u7535\u8bdd\u53f7\u7801\u81ea\u52a8\u62e8\u53f7\u3002\u62e8\u5b8c\u7535\u8bdd\u53f7\u7801\u4ee5\u540e\u7acb\u5373\u68c0\u6d4b\u5bf9\u65b9\u662f\u5426\u6458\u673a\uff0c \u4e00\u65e6\u68c0\u6d4b\u5230\u5bf9\u65b9\u6458\u673a\uff0c \u5c31\u542f\u52a8\u8bed\u97f3\u63d0\u793a\u7535\u8def\u53d1\u9001\u4e0e\u8b66\u60c5\u76f8\u4e00\u81f4\u7684\u8bed\u97f3\u4fe1\u606f\uff0c \u5b8c\u6210\u81ea\u52a8\u62e8\u53f7\u62a5\u8b66\u3002<\/p>\n

\n\t2 \u786c\u4ef6\u8bbe\u8ba1<\/p>\n

\n\t2.1 \u8b66\u60c5\u91c7\u96c6\u7535\u8def<\/p>\n

\n\t\u4fe1\u53f7\u91c7\u96c6\u7535\u8def\u753116 \u8def\u9632\u533a\u8f93\u5165\u4fe1\u53f7\u91c7\u96c6\u7535\u8def\u548c16\u8def\u89c6\u9891\u4e22\u5931\u68c0\u6d4b\u91c7\u96c6\u7535\u8def\u7ec4\u6210\u300216 \u8def\u9632\u533a\u8f93\u5165\u4fe1\u53f7\u91c7\u96c6\u7535\u8def\u5982\u56fe2 \u6240\u793a\u3002\u91c7\u96c6\u7535\u8def\u901a\u8fc7\u4e00\u7247\u53ef\u7f16\u7a0b\u5e76\u884c\u63a5\u53e3\u82af\u72478255 \u4e0eAT89C51 \u5355\u7247\u673a\u7684P0 \u53e3\u63a5\u53e3\uff0c \u800c16 \u8def\u9632\u533a\u8f93\u5165\u4fe1\u53f7\u5219\u901a\u8fc7\u5149\u7535\u9694\u79bb\u540e\u4e0e8255 \u7684PA \u53e3\u548cPB \u53e3\u76f8\u63a5\u3002PA \u53e3\u548cPB \u53e3\u5747\u8bbe\u4e3a\u8f93\u5165\u53e3\uff0c \u8fd916 \u4e2a\u8f93\u5165\u53e3\u5206\u522b\u5bf9\u5e9416 \u8def\u63a2\u6d4b\u5668\u7684\u8f93\u5165\u3002\u7cfb\u7edf\u901a\u8fc7\u91c7\u96c68255 \u7684PA\u3001PB\u53e3\u7684\u6570\u636e\u6765\u5224\u65ad\u662f\u5426\u6709\u8b66\u60c5\u4ea7\u751f\u3002<\/p>\n

\n\t\"AT89C51\u5355\u7247\u673a\u5bf9\u667a\u80fd\u8bed\u97f3\u62e8\u53f7\u62a5\u8b66\u7cfb\u7edf\u7684\u8bbe\u8ba1\"<\/p>\n

\n\t16 \u8def\u89c6\u9891\u4e22\u5931\u68c0\u6d4b\u91c7\u96c6\u7535\u8def\u5982\u56fe3 \u6240\u793a\u3002\u8be5\u7535\u8def\u9996\u5148\u901a\u8fc7\u4e00\u724716 \u8def\u6a21\u62df\u5f00\u5173\u82af\u7247CD4067 \u8fdb\u884c\u89c6\u9891\u901a\u8def\u9009\u62e9\uff0c \u968f\u540e\u7ecf\u8fc7\u89c6\u9891\u4fe1\u53f7\u68c0\u6d4b\u7535\u8def\uff0c \u6700\u540e\u518d\u4e0eAT89C51 \u5355\u7247\u673a\u7684P1.3 \u53e3\u76f8\u63a5\u3002\u7cfb\u7edf\u9996\u5148\u5c06\u89c6\u9891\u901a\u8def\u53f7\u9001\u7ed9\u6a21\u62df\u5f00\u5173CD4067\uff0c \u7136\u540e\u5c06\u91c7\u96c6\u7684\u6570\u636e\u9001\u7ed9P1.3\u53e3\uff0c \u6765\u5224\u65ad\u89c6\u9891\u662f\u5426\u4e22\u5931\u3002<\/p>\n

\n\t\"AT89C51\u5355\u7247\u673a\u5bf9\u667a\u80fd\u8bed\u97f3\u62e8\u53f7\u62a5\u8b66\u7cfb\u7edf\u7684\u8bbe\u8ba1\"<\/p>\n

\n\t2.2 DTMF \u53d1\u9001\u63a5\u6536\u7535\u8defMT8880 \u4e0eAT89C51 \u53ca\u8bed\u97f3\u7535\u8def\u7684\u63a5\u53e3<\/p>\n

\n\tMT8880 \u662fMITE<\/u>L \u516c\u53f8\u63a8\u51fa\u7684\u4e13\u95e8\u7528\u4e8e\u5904\u7406DTMF \u4fe1\u53f7\u7684\u4e13\u7528\u96c6\u6210\u7535\u8def\u82af\u7247\uff0c \u4e0d\u4ec5\u5177\u6709\u63a5\u6536\u548c\u53d1\u9001DTMF\u4fe1\u53f7\u7684\u81ea\u52a8\u62e8\u53f7\u529f\u80fd\uff0c \u8fd8\u53ef\u4ee5\u68c0\u6d4b\u7535\u8bdd\u5e72\u7ebf\u4e0a\u62e8\u53f7\u97f3\u3001\u56de\u94c3\u97f3\u548c\u5fd9\u97f3\u7b49\u4fe1\u53f7\u97f3\u3002\u9002\u5408\u4e0e\u5355\u7247\u673a\u63a5\u53e3\uff0c \u5916\u56f4\u7535\u8def\u7b80\u5355\u3002<\/p>\n

\n\tMT8880 \u5185\u90e8\u6709\u4e94\u4e2a\u5bc4\u5b58\u5668<\/u>\uff0c \u5206\u522b\u4e3a\u63a5\u6536\u6570\u636e\u5bc4\u5b58\u5668\u3001\u53d1\u9001\u6570\u636e\u5bc4\u5b58\u5668\u3001\u6536\u53d1\u63a7\u5236\u5bc4\u5b58\u5668CRA \u548cCRB \u4ee5\u53ca\u6536\u53d1\u72b6\u6001\u5bc4\u5b58\u5668\u3002\u5728\u672c\u8bbe\u8ba1\u4e2d\uff0c \u7531\u4e8e\u4ec5\u91c7\u7528\u53d1\u9001\u6570\u636e\u5bc4\u5b58\u5668\u3001\u6536\u53d1\u63a7\u5236\u5bc4\u5b58\u5668CRA \u548cCRB \u53d1\u9001DTMF \u4fe1\u53f7\u5b9e\u73b0\u81ea\u52a8\u62e8\u53f7\u529f\u80fd\uff0c \u56e0\u6b64\u5728\u6b64\u4ec5\u4ecb\u7ecd\u8fd9\u4e09\u4e2a\u5bc4\u5b58\u5668\u3002\u53d1\u9001\u6570\u636e\u5bc4\u5b58\u5668\u4e2d\u7684\u6570\u636e\u51b3\u5b9a\u8981\u53d1\u9001\u7684\u53cc\u97f3\u9891\u4fe1\u53f7\u7684\u9891\u7387\uff0c \u56e0\u6b64\u53ea\u80fd\u5411\u53d1\u9001\u6570\u636e\u5bc4\u5b58\u5668\u5199\u5165\u6570\u636e\u3002\u4e24\u4e2a\u6536\u53d1\u63a7\u5236\u5bc4\u5b58\u5668\u5360\u7528\u540c\u4e00\u4e2a\u5730\u5740\uff0c \u56e0\u6b64\u6839\u636eCRA \u4e2d\u7684\u5bc4\u5b58\u5668\u9009\u62e9\u4f4d\u7684\u503c\u51b3\u5b9a\u662f\u5426\u5bf9CRB \u8fdb\u884c\u64cd\u4f5c\u3002\u5176\u63a5\u53e3\u7535\u8def\u5982\u56fe4 \u6240\u793a\u3002<\/p>\n

\n\tISD1420 \u8bed\u97f3\u82af\u7247\u91c7\u7528\u76f4\u63a5\u6a21\u62df\u5b58\u50a8\u6280\u672f\uff0c \u4e14\u5f55\u653e\u97f3\u8d28\u6781\u597d\uff0c \u5e76\u6709\u4e00\u5b9a\u7684\u6df7\u54cd\u6548\u679c; \u5b83\u7684\u5916\u56f4\u5143\u4ef6\u7b80\u5355\uff0c \u4ec5\u9700\u7b80\u5355\u7684\u963b\u3001\u5bb9\u5668\u4ef6\u5373\u53ef\u7ec4\u6210\u7b80\u5355\u7684\u5f55\u3001\u653e\u97f3\u7535\u8def; \u65e0\u9700\u540e\u5907\u7535\u6e90\uff0c \u4fe1\u606f\u5b58\u50a8\u65f6\u95f4\u957f\uff0c \u4e0d\u9700\u8981\u4e13\u7528\u7684\u7f16\u7a0b\u5668\u53ca\u8bed\u97f3\u5f00\u53d1\u5668; \u5177\u6709\u8f83\u5f3a\u7684\u9009\u5740\u80fd\u529b\uff0c \u53ef\u628a\u5b58\u50a8\u5668\u5206\u6210160\u6bb5\u6765\u7ba1\u7406\uff0c \u5f62\u6210\u6700\u5c0f\u7684\u5f55\u653e\u65f6\u95f4\u4e3a125ms\u3002\u5176\u63a5\u53e3\u7535\u8def\u56fe\u5982\u56fe4 \u6240\u793a\u3002<\/p>\n

\n\t\"AT89C51\u5355\u7247\u673a\u5bf9\u667a\u80fd\u8bed\u97f3\u62e8\u53f7\u62a5\u8b66\u7cfb\u7edf\u7684\u8bbe\u8ba1\"<\/p>\n

\n\t\u8bed\u97f3\u5206\u6bb5\u65b9\u6cd5\uff1a \u5730\u5740\u8f93\u5165\u7aefA0\uff5eA7 \u7531\u4f4e\u4f4d\u5411\u9ad8\u4f4d\u6392\u5217\uff0c \u6bcf\u4f4d\u5730\u5740\u4ee3\u8868125ms \u7684\u5bfb\u5740\uff0c 160 \u4e2a\u5730\u5740\u8986\u76d620s \u7684\u8bed\u97f3\u8303\u56f4\uff08 160×0.125s=20s \uff09 \uff0c \u5f55\u97f3\u53ca\u653e\u97f3\u529f\u80fd\u5747\u4ece\u8bbe\u5b9a\u7684\u8d77\u59cb\u5730\u5740\u5f00\u59cb\uff0c \u5f55\u97f3\u7ed3\u675f\u7531\u505c\u6b62\u64cd\u4f5c\u51b3\u5b9a\uff0c \u82af\u7247\u5185\u90e8\u5728\u8be5\u6bb5\u7684\u7ed3\u675f\u4f4d\u7f6e\u81ea\u52a8\u63d2\u5165\u7ed3\u675f\u6807\u5fd7\uff08 EOM\uff09 ; \u800c\u653e\u97f3\u65f6\u9047\u5230EOM \u6807\u5fd7\u5373\u81ea\u52a8\u505c\u6b62\u653e\u97f3\u3002\u5728\u672c\u8bbe\u8ba1\u4e2d\uff0c \u56e0\u9700\u8981\u56db\u6bb5\u62a5\u8b66\u63d0\u793a\u8bed\u97f3\uff0c \u56e0\u6b64\u5728\u8bbe\u8ba1\u65f6\u5747\u5c06\u6bcf\u6bb5\u8bed\u97f3\u8bbe\u4e3a5s\uff0c\u5176\u8d77\u59cb\u5730\u5740\u5206\u522b\u4e3a00000000B\u300100101000B\u300101010000B\u300101111000B\uff0c \u7531\u8fd9\u56db\u6bb5\u8d77\u59cb\u5730\u5740\u53ef\u4ee5\u770b\u51faA7\u3001A2\u3001A1 \u548cA0 \u5747\u4e3a0\uff0c \u56e0\u6b64\u5c06\u5176\u63a5\u5730\u3002<\/p>\n

\n\t3 \u8f6f\u4ef6\u8bbe\u8ba1<\/p>\n

\n\t3.1 \u4fe1\u53f7\u97f3\u7684\u8bc6\u522b\u65b9\u6cd5<\/p>\n

\n\t\u7cfb\u7edf\u5728\u5de1\u68c0\u5230\u8b66\u60c5\u4fe1\u53f7\u540e\u5c31\u6a21\u62df\u6458\u673a\u3002\u4e3a\u4e86\u8bc6\u522b\u6a21\u62df\u6458\u673a\u540e\u7535\u8bdd\u7cfb\u7edf\u662f\u5426\u5904\u4e8e\u53ef\u62e8\u53f7\u7684\u72b6\u6001\u3001\u7535\u8bdd\u62e8\u5b8c\u53f7\u7801\u540e\u7535\u8bdd\u662f\u5426\u63a5\u901a\u4ee5\u53ca\u5bf9\u65b9\u662f\u5426\u6458\u673a\u63a5\u542c\u7535\u8bdd\u7b49\u51e0\u79cd\u72b6\u6001\uff0c \u7cfb\u7edf\u5fc5\u987b\u8fdb\u884c\u4fe1\u53f7\u97f3\u7684\u8bc6\u522b\u3002\u4e3a\u4e86\u8bc6\u522b\u4fe1\u53f7\u97f3\uff0c \u5fc5\u987b\u77e5\u9053\u5404\u79cd\u4fe1\u53f7\u97f3\u7684\u7279\u6027\u3002\u5404\u79cd\u4fe1\u53f7\u97f3\u7279\u6027\u5982\u4e0b\uff1a<\/p>\n

\n\t\u62e8\u53f7\u97f3\uff1a 450±25Hz \u8fde\u7eed\u8702\u97f3;<\/p>\n

\n\t\u5fd9\u97f3\uff1a 0.35s \u65ad0.35s \u901a\u7684450±25Hz \u8702\u97f3\uff0c \u97f3\u65ad\u5468\u671f\u4e3a0.7s ;<\/p>\n

\n\t\u56de\u94c3\u97f3\uff1a 4s \u65ad1s \u901a\u7684450±25Hz \u8702\u97f3\uff0c \u97f3\u65ad\u5468\u671f\u4e3a5s\u3002<\/p>\n

\n\t\u8fd9\u4e9b\u7535\u8bdd\u4fe1\u53f7\u5747\u662f\u6a21\u62df\u4fe1\u53f7\uff0c \u7136\u800c\u5355\u7247\u673a\u662f\u65e0\u6cd5\u8bc6\u522b\u6a21\u62df\u4fe1\u53f7\u7684\uff0c \u6545\u5fc5\u987b\u5148\u5c06\u6a21\u62df\u4fe1\u53f7\u8f6c\u6362\u4e3a\u8109\u51b2\u4fe1\u53f7\uff0c\u7136\u540e\u518d\u6839\u636e\u8109\u51b2\u4fe1\u53f7\u7684\u8109\u51b2\u4e2a\u6570\u8fdb\u884c\u8bc6\u522b\u3002\u8fd9\u4e9b\u7535\u8bdd\u97f3\u9891\u4fe1\u53f7\u7684\u8109\u51b2\u4e2a\u6570\u53ef\u7528\u4e0b\u5f0f\u8ba1\u7b97\uff1a<\/p>\n

\n\tN=tm\/T<\/p>\n

\n\t\u5f0f\u4e2d\uff0c N \u4e3a\u6bcf\u97f3\u6bb5\u5468\u671f\u7684\u8109\u51b2\u4e2a\u6570; T \u4e3a\u7535\u8bdd\u97f3\u9891\u4fe1\u53f7\u7684\u97f3\u9891\u5468\u671f\uff0c \u5355\u4f4d\u4e3as ; tm \u4e3a\u4fe1\u53f7\u97f3\u65ad\u5468\u671f\u7684\u901a\u65f6\u95f4\uff0c \u5355\u4f4d\u4e3as\u3002<\/p>\n

\n\t\u5728\u5b9e\u9645\u4f7f\u7528\u4e2d\uff0c \u4e3b\u8981\u9700\u8981\u8bc6\u522b\u62e8\u53f7\u97f3\u3001\u5fd9\u97f3\u548c\u56de\u94c3\u97f3\u3002\u5206\u6790\u8fd9\u4e09\u79cd\u4fe1\u53f7\u7684\u7279\u6027\u53ef\u4ee5\u770b\u51fa\uff0c \u5728\u4e00\u5b9a\u7684\u8ba1\u6570\u65f6\u95f4\u5185\uff0c \u5176\u8109\u51b2\u4e2a\u6570\u662f\u4e0d\u4e00\u6837\u7684\u3002\u5728\u8bbe\u8ba1\u4e4b\u521d\uff0c \u8003\u8651\u91c7\u75285s \u4e3a\u4e00\u4e2a\u8ba1\u6570\u5355\u4f4d\u6765\u5224\u65ad\u8fd9\u4e09\u79cd\u4fe1\u53f7\u97f3\uff0c \u4f46\u901a\u8fc7\u5b9e\u9645\u7684\u8c03\u8bd5\u53d1\u73b0\uff1a \u5f53\u5bf9\u65b9\u6458\u673a\u65f6\uff0c \u8981\u7b49\u5f85\u4e00\u6bb5\u65f6\u95f4\u624d\u80fd\u542c\u5230\u62a5\u8b66\u8bed\u97f3\u3002\u901a\u8fc7\u53cd\u590d\u7814\u7a76\u53ca\u8c03\u8bd5\uff0c \u6700\u7ec8\u91c7\u75282s \u8ba1\u6570\u5224\u65ad\u62e8\u53f7\u97f3\uff0c \u91c7\u75282.8s \uff08 \u53734 \u4e2a\u5fd9\u97f3\u5468\u671f\uff09 \u5224\u65ad\u662f\u5426\u4e3a\u5fd9\u97f3\uff0c \u82e5\u5426\u5219\u4ee3\u8868\u7535\u8bdd\u62e8\u901a\u4e86\u3002\u968f\u540e\u91c7\u75281s \u4e3a\u4e00\u4e2a\u8ba1\u6570\u5355\u5143\uff0c \u91c7\u7528\u8ba1\u4e94\u6b21\u540e\u7684\u7d2f\u52a0\u8109\u51b2\u6570\u6765\u5224\u65ad\u5bf9\u65b9\u662f\u5426\u63a5\u542c\u7535\u8bdd\u3002\u82e5\u6709\uff0c \u5219\u653e\u76f8\u5e94\u7684\u62a5\u8b66\u63d0\u793a\u8bed\u97f3; \u5426\u5219\u518d\u8ba11s \uff0c \u7136\u540e\u8ba1\u7b97\u6700\u540e5s \u5185\u7684\u8109\u51b2\u6570\uff0c \u518d\u6b21\u5224\u65ad\u5bf9\u65b9\u662f\u5426\u6458\u673a\u3002\u5982\u6b64\u53cd\u590d\uff0c \u76f4\u5230\u8d85\u8fc7\u7b49\u5f85\u65f6\u95f4\u4ecd\u6ca1\u6709\u4eba\u63a5\u542c\u7535\u8bdd\u5c31\u6302\u673a\u3002\u7531\u4e8e\u5e72\u6270\u548c\u4e00\u4e9b\u5176\u4ed6\u56e0\u7d20\u7684\u5b58\u5728\uff0c \u96be\u514d\u4f1a\u6709\u8bef\u5224\u7684\u73b0\u8c61\u800c\u5bfc\u81f4\u6f0f\u62a5\u8b66\u60c5\u3002\u56e0\u6b64\u91c7\u53d6\u5728\u6240\u6709\u9884\u5148\u8bbe\u5b9a\u7684\u7535\u8bdd\u81f3\u5c11\u6709\u4e00\u4e2a\u62e8\u901a\u5c31\u53ea\u62e8\u4e00\u904d\uff0c \u5982\u679c\u5168\u90e8\u6ca1\u62e8\u901a\u6216\u8005\u6ca1\u4eba\u63a5\u542c\u5219\u628a\u6240\u6709\u9884\u5b58\u7535\u8bdd\u91cd\u62e8\u4e00\u8fb9\uff0c \u8fd9\u6837\u6f0f\u62a5\u62a5\u8b66\u7684\u6982\u7387\u5c31\u975e\u5e38\u4f4e\u4ee5\u81f4\u53ef\u5ffd\u7565\u4e0d\u8ba1\u3002<\/p>\n

\n\t3.2 \u8f6f\u4ef6\u8bbe\u7f6e<\/p>\n

\n\t\u81ea\u52a8\u62e8\u53f7\u7a0b\u5e8f\u7684\u6d41\u7a0b\u56fe\u5982\u56fe5 \u6240\u793a\u3002\u4e0b\u9762\u662f\u81ea\u52a8\u62e8\u53f7\u7684\u90e8\u5206\u7a0b\u5e8f \u3002<\/p>\n

\n\tAUTOCALL\uff1a CLR P1.2 ;\u6a21\u62df\u6458\u673a<\/p>\n

\n\tMOV A\uff0c#5DH ;\u5141\u8bb8\u4fe1\u53f7\u97f3\u8f93\u51fa\uff0c \u4e0b\u4e00\u6b21\u4e3a\u5199\u63a7\u5236\u5bc4\u5b58\u5668CRB<\/p>\n

\n\tMOVX @DPTR\uff0cA ;\u5199\u63a7\u5236\u5bc4\u5b58\u5668CRA<\/p>\n

\n\tMOV A\uff0c#51H ;MT8880 \u7f6e\u4e3a\u7a81\u53d1\u6a21\u5f0f<\/p>\n

\n\tMOVX @DPTR\uff0cA ;\u5199\u63a7\u5236\u5bc4\u5b58\u5668CRB<\/p>\n

\n\tMOV A\uff0c#56H ;MT8880 \u7f6e\u4e3a\u547c\u53eb\u6a21\u5f0f<\/p>\n

\n\tMOVX @DPTR\uff0cA ;\u5199\u63a7\u5236\u5bc4\u5b58\u5668CRA<\/p>\n

\n\tLCALL DELAY<\/p>\n

\n\tLCALL AUTOY ;\u8c03\u7528\u4fe1\u53f7\u97f3\u5224\u522b\u5b50\u7a0b\u5e8f\uff0c \u770b\u662f\u5426\u6709\u62e8\u53f7\u97f3<\/p>\n

\n\tMOV A\uff0c#5DH ;\u5141\u8bb8\u4fe1\u53f7\u97f3\u8f93\u51fa\uff0c \u4e0b\u4e00\u6b21\u4e3a\u5199\u63a7\u5236\u5bc4\u5b58\u5668CRB<\/p>\n

\n\tMOVX @DPTR\uff0cA ;\u5199\u63a7\u5236\u5bc4\u5b58\u5668CRA<\/p>\n

\n\tMOV A\uff0c#50H ;MT8880 \u7f6e\u4e3a\u7a81\u53d1\u6a21\u5f0f<\/p>\n

\n\tMOVX @DPTR\uff0cA ;\u5199\u63a7\u5236\u5bc4\u5b58\u5668CRB<\/p>\n

\n\t…… ;\u62e8\u7535\u8bdd\u53f7\u7801<\/p>\n

\n\tMOV A\uff0c#56H ;MT8880 \u7f6e\u4e3a\u547c\u53eb\u6a21\u5f0f<\/p>\n

\n\tMOVX @DPTR\uff0cA ;\u5199\u63a7\u5236\u5bc4\u5b58\u5668CRA<\/p>\n

\n\tLCALL AUTOY ;\u8c03\u7528\u4fe1\u53f7\u97f3\u5224\u522b\u5b50\u7a0b\u5e8f\uff0c \u770b\u662f\u5426\u6709\u56de\u94c3\u97f3<\/p>\n

\n\tLCALL AUTOY ;\u8c03\u7528\u4fe1\u53f7\u97f3\u5224\u522b\u5b50\u7a0b\u5e8f\uff0c \u770b\u5bf9\u65b9\u662f\u5426\u6458\u673a<\/p>\n

\n\tSETB P1.2 ;\u6a21\u62df\u6302\u673a<\/p>\n

\n\t3.3 \u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u5e94\u6ce8\u610f\u7684\u51e0\u70b9<\/p>\n

\n\t\u9996\u5148\uff0c MT8880 \u7684DTMF \u4ea7\u751f\u5668\u662f\u53d1\u9001\u90e8\u5206\u7684\u4e3b\u4f53\uff0c\u5b83\u4ea7\u751f\u5168\u90e8\u5341\u516d\u79cd\u5931\u771f\u5c0f\u3001\u7cbe\u5ea6\u9ad8\u7684\u6807\u51c6\u53cc\u97f3\u9891\u4fe1\u53f7\uff0c\u8fd9\u4e9b\u9891\u7387\u5747\u75313.579545MHz \u6676\u4f53\u632f\u8361\u5668<\/u>\u5206\u9891\u4ea7\u751f\u3002\u7535\u8def\u7531\u6570\u5b57\u9891\u7387\u5408\u6210\u5668\u3001\u884c\/ \u5217\u53ef\u7f16\u7a0b\u5206\u9891\u5668\u3001\u5f00\u5173\u7535\u5bb9<\/u>\u5f0fD\/A\u53d8\u6362\u5668\u7ec4\u6210\u3002\u884c\u548c\u5217\u5355\u97f3\u6b63\u5f26\u6ce2\u7ecf\u6df7\u5408\u3001\u6ee4\u6ce2\u540e\u4ea7\u751f\u53cc\u97f3\u9891\u4fe1\u53f7\u3002\u901a\u8fc7DTMF \u7f16\u89e3\u7801\u8868\u628a\u7f16\u7801\u6570\u636e\u5199\u5165MT8880 \u53d1\u9001\u5bc4\u5b58\u5668\u4ea7\u751f\u5355\u72ec\u7684fLOW \u548cfHIGH\uff0c \u4e00\u65e6\u7f16\u7801\u9519\u8bef\u5c31\u4f1a\u5bfc\u81f4\u62e8\u53f7\u5931\u8d25\uff0c \u6545\u5728\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u8981\u5341\u5206\u5c0f\u5fc3\u3002\u5176\u7f16\u89e3\u7801\u8868\u89c1MT8880 \u7684Datasheet \u3002<\/p>\n

\n\t\u5176\u6b21\uff0c \u5728\u6458\u673a\u540e\u5e94\u5ef6\u65f6\u4e00\u6bb5\u65f6\u95f4\u518d\u53bb\u5224\u65ad\u6458\u673a\u97f3\uff0c\u56e0\u4e3a\u672c\u7cfb\u7edf\u91c7\u7528\u673a\u68b0<\/u>\u7ee7\u7535\u5668<\/u>\u5b9e\u73b0\u81ea\u52a8\u6458\u673a\uff0c \u6545\u5e94\u8003\u8651\u7ee7\u7535\u5668\u7684\u54cd\u5e94\u65f6\u95f4\u3002<\/p>\n

\n\t\u6700\u540e\uff0c \u4e00\u4e2a\u7535\u8bdd\u53f7\u7801\u62e8\u5b8c\u540e\u4e0d\u80fd\u7acb\u5373\u62e8\u4e0b\u4e00\u4e2a\u7535\u8bdd\u53f7\u7801\uff0c \u5e94\u4fdd\u8bc1\u6302\u673a\u7684\u6700\u77ed\u6709\u6548\u65f6\u95f4\u4ee5\u786e\u4fdd\u524d\u4e00\u7535\u8bdd\u53f7\u7801\u786e\u5b9e\u5df2\u6302\u673a\uff0c \u5426\u5219\u62e8\u4e0b\u4e00\u4e2a\u7535\u8bdd\u53f7\u7801\u65f6\u4f1a\u6ca1\u6709\u62e8\u53f7\u97f3\u3002<\/p>\n

\n\t\u672c\u7cfb\u7edf\u914d\u7f6e\u7075\u6d3b\uff0c \u53ef\u4ee5\u6709\u6548\u3001\u5feb\u901f\u5730\u5e94\u7528\u4e8e\u5bf9\u5b89\u9632\u8981\u6c42\u6bd4\u8f83\u9ad8\u7684\u573a\u5408\u3002\u4f8b\u5982\uff1a \u5bf9\u4e0d\u9700\u8981\u76d1\u89c6\u89c6\u9891\u4e22\u5931\u7684\u573a\u5408\uff0c \u53ef\u4ee5\u4e0d\u914d\u7f6e\u89c6\u9891\u76d1\u6d4b\u76d2; \u800c\u5bf9\u667a\u80fd\u5c0f\u533a\u3001\u533b\u9662\u7b49\uff0c \u53ef\u4ee5\u901a\u8fc7RS<\/u>485 \u603b\u7ebf\u5c06\u4e00\u53f0DVR<\/u> \uff08 Digital Video Recorder \uff09\u4e3b\u673a\u3001\u4e00\u5957\u62a5\u8b66\u76d1\u63a7\u8f6f\u4ef6\u548c\u591a\u53f0\u62a5\u8b66\u4e3b\u673a\u7ec4\u5408\u5230\u4e00\u8d77\uff0c\u6784\u6210\u4e00\u4e2a\u7f51\u7edc\u578b\u667a\u80fd\u76d1\u63a7\u7cfb\u7edf\u3002<\/p>\n

\n\t\u672c\u62a5\u8b66\u7cfb\u7edf\u5177\u6709\u4ef7\u683c\u4f4e\u5ec9\u3001\u64cd\u4f5c\u7b80\u4fbf\u3001\u901a\u8baf\u901f\u5ea6\u5feb\u3001\u53ef\u9760\u6027\u9ad8\u548c\u8bef\u62a5\u7387\u4f4e\u7684\u4f18\u70b9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u968f\u7740\u4eba\u4eec\u751f\u6d3b\u6c34\u5e73\u7684\u63d0\u9ad8\u548c\u5b89\u9632\u610f\u8bc6\u7684\u589e\u5f3a\uff0c \u6025\u9700\u5f00\u53d1\u9762\u5411\u5927\u4f17\u3001\u4ef7\u683c\u4f4e\u5ec9\u3001\u8fd0\u884c\u53ef\u9760\u7684\u81ea\u52a8\u62a5\u8b66\u7cfb\u7edf\u3002\u9274\u4e8e\u4f4f\u5b85\u7535\u8bdd\u548c\u79fb\u52a8\u901a\u4fe1\u8bbe\u5907\u7684\u666e\u53ca\uff0c \u4ee5\u53ca\u7535\u8bdd\u8bed\u97f3\u62a5\u8b66\u7684\u5feb\u6377\u3001\u6709\u6548\u53ca\u4ef7\u683c<\/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\/2231"}],"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=2231"}],"version-history":[{"count":0,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/2231\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2231"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2231"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}