{"id":2840,"date":"2019-10-07T03:33:35","date_gmt":"2019-10-07T03:33:35","guid":{"rendered":""},"modified":"2019-10-07T11:34:17","modified_gmt":"2019-10-07T03:34:17","slug":"%e5%9f%ba%e4%ba%8eavr%e5%8d%95%e7%89%87%e6%9c%ba%e7%9a%84%e8%bd%ae%e8%83%8e%e5%86%85%e5%be%84%e6%b5%8b%e9%87%8f%e7%b3%bb%e7%bb%9f%e8%ae%be%e8%ae%a1","status":"publish","type":"post","link":"http:\/\/www.szryc.com\/?p=2840","title":{"rendered":"\u57fa\u4e8eAVR\u5355\u7247\u673a\u7684\u8f6e\u80ce\u5185\u5f84\u6d4b\u91cf\u7cfb\u7edf\u8bbe\u8ba1"},"content":{"rendered":"
\n\t\u8f6e\u80ce\u6a21\u5177\u7528\u4e8e\u6210\u578b<\/u>\u8f6e\u80ce\uff0c\u5176\u52a0\u5de5\u8d28\u91cf\u5bf9\u8f6e\u80ce\u7684\u751f\u4ea7\u975e\u5e38\u91cd\u8981\u3002\u4e3a\u4e86\u751f\u4ea7\u51fa\u597d\u7684\u8f6e\u80ce\uff0c\u5fc5\u987b\u5bf9\u8f6e\u80ce\u6a21\u5177\u52a0\u5de5\u8d28\u91cf\u63d0\u51fa\u9ad8\u7684\u8981\u6c42\u3002\u4f20\u7edf\u7684\u52a0\u5de5\u8d28\u91cf\u68c0\u6d4b\u6cd5\u4e3b\u8981\u662f\u9760\u767e\u5206\u8868\uff0c\u4eba\u4e3a\u91c7\u96c6\u6570\u636e\u540e\u5206\u6790\u5f97\u51fa\u52a0\u5de5\u8d28\u91cf\u62a5\u544a\u3002\u8fd9\u79cd\u529e\u6cd5\u7684\u5c40\u9650\u6027\u662f\u9700\u8981\u64cd\u4f5c\u8005\u6709\u4e00\u5b9a\u7684\u5de5\u4f5c\u7ecf\u9a8c\uff0c\u800c\u4e14\u53d6\u6837\u8fc7\u7a0b\u4eba\u4e3a\u63a7\u5236\uff0c\u7cbe\u5ea6\u53d7\u5230\u4e00\u5b9a\u5f71\u54cd\u3002\u8fd1\u51e0\u5e74\u6765\uff0c\u8f6e\u80ce\u6a21\u5177\u5de5\u4e1a\u968f\u7740\u8f6e\u80ce\u7684\u5927\u91cf\u9700\u6c42\u800c\u5f97\u5230\u4e86\u5feb\u901f\u53d1\u5c55\uff0c\u4f20\u7edf\u7684\u68c0\u6d4b\u65b9\u6cd5\u4e0d\u80fd\u6ee1\u8db3\u5e02\u573a\u9700\u6c42\u3002\u5149\u6805\u5c3a\u662f\u4e00\u79cd\u6570\u5b57\u4f4d\u79fb\u6d4b\u91cf<\/u>\u8bbe\u5907\uff0c\u6d4b\u91cf\u8303\u56f4\u53ef\u8fbe\u51e0\u5341\u7c73\uff0c\u6d4b\u91cf\u7cbe\u786e\u5728\u5fae\u7c73\u7ea7\uff1b\u6fc0\u5149<\/u>\u6d4b\u8ddd\u4eea\u662f\u4e00\u79cd\u975e\u63a5\u89e6\u6d4b\u91cf\u8bbe\u5907\uff0c\u53ef\u4ee5\u5bf9\u4e0d\u89c4\u5219\u8868\u9762\u7684\u76ee\u6807\u4f4d\u79fb\u8fdb\u884c\u6d4b\u91cf\uff0c\u4f46\u662f\u6d4b\u91cf\u8ddd\u79bb\u8f83\u5c0f\u3002\u5c06\u5927\u8303\u540c\u7684\u5149\u6805\u5c3a\u548c\u975e\u63a5\u89e6\u6d4b\u91cf\u7684\u6fc0\u5149\u6d4b\u8ddd\u4eea\u7ed3\u5408\u8d77\u6765\u5c31\u53ef\u4ee5\u5b9e\u73b0\u5bf9\u4e0d\u89c4\u5219\u9762\u7684\u76ee\u6807\u8ddd\u79bb\u8fdb\u884c\u6d4b\u91cf\u3002\u5c06\u5149\u6805\u5c3a\u8bfb\u5934\u4e0e\u6fc0\u5149\u6d4b\u8ddd\u4eea\u56fa\u5b9a\u5728\u673a\u68b0<\/u>\u6a2a\u6881\u4e0a\uff0c\u8fd0\u7528\u6b65\u8fdb\u7535\u673a<\/u>\u63a7\u5236\u6a2a\u6881\u7684\u8fd0\u52a8\uff0c\u5206\u522b\u5bf9\u6a21\u5177\u4e0d\u540c\u5c42\u9762\u7684\u5185\u5f84\u8fdb\u884c\u6d4b\u91cf\u3002<\/p>\n
\n\t\u7cfb\u7edf\u91c7\u7528AVR<\/u>\u5355\u7247\u673a<\/u>\u5b9e\u73b0\u63a7\u5236\u6b65\u8fdb\u7535\u673a\u548c\u5149\u6805\u5c3a\u6570\u636e\u8bfb\u53d6\uff0c\u901a\u8fc7\u63a5\u6536\u4e0a\u4f4d\u673a\u7684\u63a7\u5236\u547d\u4ee4\uff0cAVR\u5355\u7247\u673a\u63a7\u5236\u6b65\u8fdb\u7535\u673a\u8fd0\u52a8\uff0c\u6570\u663e\u8868\u6570\u636e\u548c\u6fc0\u5149\u63a7\u5236\u5668\u4f4d\u79fb\u6570\u636e\u81ea\u52a8\u7ecf\u4e32\u53e3\u53d1\u9001\u7ed9\u4e0a\u4f4d\u673a\uff0c\u4ece\u800c\u5b8c\u6210\u5bf9\u6a21\u5177\u5185\u5f84\u7684\u81ea\u52a8\u6d4b\u91cf\u3002<\/p>\n \n\t1 \u7cfb\u7edf\u7ec4\u6210<\/p>\n \n\t\u57fa\u4e8eAVR\u7684\u8f6e\u80ce\u5185\u5f84\u6d4b\u91cf\u7cfb\u7edf\u4e3b\u8981\u7531AVR\u5355\u7247\u673a\u3001\u4e0a\u4f4d\u673a\u3001\u5149\u6805\u5c3a\u3001\u6570\u663e\u8868\u3001\u6fc0\u5149\u6d4b\u8ddd\u4eea\u3001\u9a71\u52a8\u5668\u3001\u6b65\u8fdb\u7535\u673a\u3001\u7535\u5b50\u624b\u8f6e\u3001\u884c\u7a0b\u5f00\u5173<\/u>\u7b49\u7ec4\u6210\u3002\u5176\u529f\u80fd\u6846\u56fe\u5982\u56fe1\u6240\u793a\u3002<\/p>\n \n\t<\/p>\n \n\t\u5355\u7247\u673a\u9009\u7528\u7684\u662f\u7231\u7279\u6885\u5c14\u516c\u53f8\u7684ATmega16\uff1b\u4e0a\u4f4d\u673a\u91c7\u7528\u7814\u534e\u516c\u53f8\u751f\u4ea7\u7684ARK3360L\u5de5\u63a7\u673a\uff0c\u5b83\u62e5\u6709\u591a\u4e2aRS<\/u>232\u63a5\u53e3<\/u>\uff1b\u6fc0\u5149\u6d4b\u8ddd\u4eea\u91c7\u7528\u7684\u662f\u65e5\u672c\u57fa\u6069\u58eb\u516c\u53f8\u7684LK-G85\u6fc0\u5149\u6d4b\u8ddd\u4f20\u611f\u5668<\/u>\u548cLK-G3001V\u6fc0\u5149\u6d4b\u8ddd\u63a7\u5236\u5668\uff0c\u5176\u5206\u8fa8\u7387\u4e3a0\uff0e1μm\uff0c\u6d4b\u91cf\u8303\u56f4-15\uff5e+15 mm\uff0c\u6d4b\u91cf\u8ddd\u79bb\u4e3a80 mm\uff1b\u5149\u6805\u5c3a\u91c7\u7528\u5e7f\u5dde\u8bfa\u4fe1\u6570\u5b57\u6d4b\u63a7\u8bbe\u5907\u6709\u9650\u516c\u53f8\u7684KA300\u578b\u7cfb\u5217\u5149\u6805\u4f4d\u79fb\u6d4b\u91cf\u8bbe\u5907\uff0c\u8bfb\u6570\u7531\u5176\u516c\u53f8\u7684SDS6\u578b\u6570\u663e\u8868\u5b9e\u73b0\u3002\u6700\u7ec8\u7684\u5185\u5f84\u8ba1\u7b97\u7531\u4e0a\u4f4d\u673a\u63a5\u6536\u5230\u6fc0\u5149\u6d4b\u8ddd\u4eea\u6570\u636e\u548c\u5149\u6805\u5c3a\u6570\u636e\u540e\u5b8c\u6210\u3002<\/p>\n \n\t2 \u7cfb\u7edf\u529f\u80fd\u5206\u6790<\/p>\n \n\t2\uff0e1 \u6a21\u5177\u5185\u5f84\u6d4b\u91cf\u65b9\u6cd5<\/p>\n \n\t\u8f6e\u80ce\u6a21\u5177\u7f6e\u4e8e\u9759\u6b62\u7684\u5de5\u4f5c\u5e73\u53f0\u4e4b\u4e0a\uff0c\u65cb\u8f6c\u6d4b\u91cf\u5e73\u53f0\u5904\u4e8e\u5de5\u4f5c\u5e73\u53f0\u7684\u4e2d\u5fc3\u4f4d\u7f6e\uff0c\u5728\u65cb\u8f6c\u6d4b\u91cf\u5e73\u53f0\u4e0a\u7684\u6a2a\u6881\u548c\u7acb\u67f1\u53ef\u4ee5\u6cbf\u5f84\u5411\u548c\u5782\u76f4\u4e24\u4e2a\u65b9\u5411\u79fb\u52a8\uff0c\u6fc0\u5149\u611f\u6d4b\u5934\u7f6e\u4e8e\u6d4b\u91cf\u6a2a\u7cb1\u4e0a\u3002\u6839\u636e\u8f6e\u80ce\u6a21\u5177\u7684\u5185\u5f84\u4e0d\u540c\uff0c\u6cbf\u5f84\u5411\u79fb\u52a8\u6d4b\u91cf\u6a2a\u6881\uff0c\u5c06\u6fc0\u5149\u611f\u6d4b\u5934\u79fb\u52a8\u81f3\u6d4b\u91cf\u8303\u56f4\u5185\uff0c\u5373\u53ef\u6d4b\u5f97\u6fc0\u5149\u611f\u6d4b\u5934\u81f3\u8f6e\u80ce\u6a21\u5177\u5185\u5706\u7684\u8ddd\u79bb\uff0c\u518d\u901a\u8fc7\u5229\u7528\u5149\u6805\u5c3a\u6d4b\u91cf\u6a2a\u6881\u5f84\u5411\u79fb\u52a8\u7684\u8ddd\u79bb\uff0c\u6362\u7b97\u51fa\u8f6e\u80ce\u6a21\u5177\u7684\u5185\u5f84\u3002\u901a\u8fc7\u63a7\u5236\u7535\u673a\u65cb\u8f6c\u6d4b\u91cf\u5e73\u53f0\uff0c\u5c31\u53ef\u4ee5\u6309\u7167\u8282\u8ddd\u9010\u4e00\u6d4b\u91cf\u8f6e\u80ce\u6a21\u5177\u5185\u5f84\uff0c\u4ece\u800c\u5f97\u5230\u8f6e\u80ce\u6a21\u5177\u7684\u5706\u5ea6\u3002\u5c06\u6d4b\u91cf\u6a2a\u6881\u6cbf\u7acb\u67f1\u5782\u76f4\u79fb\u52a8\uff0c\u5c31\u53ef\u4ee5\u6d4b\u91cf\u8f6e\u80ce\u6a21\u5177\u4e0d\u540c\u5782\u5411\u9ad8\u5ea6\u7684\u5185\u5f84\uff0c\u4ece\u800c\u5f97\u5230\u6a21\u5177\u7684\u5706\u9525\u5ea6\u3002<\/p>\n \n\t\u6d4b\u91cf\u7cfb\u7edf\u4e00\u5171\u67093\u4e2a\u6b65\u8fdb\u7535\u673a\u63a7\u5236\u6d4b\u91cf\u8bbe\u5907\u6cbf3\u65b9\u5411\u8fd0\u52a8\uff1b\u4e24\u628a\u5149\u6805\u5c3a\u8bfb\u53d6\u6c34\u5e73\u548c\u5782\u76f4\u4f4d\u79fb\u6570\u636e\uff0c\u8fd8\u6709\u6fc0\u5149\u6d4b\u8ddd\u4eea\u5b9e\u73b0\u975e\u63a5\u89e6\u4f4d\u79fb\u6d4b\u91cf\uff0c\u5176\u6d4b\u91cf\u7ed3\u6784\u5982\u56fe2\u6240\u793a\u3002<\/p>\n \n\t<\/p>\n \n\t2\uff0e2 \u6d4b\u91cf\u539f\u7406\u548c\u529f\u80fd\u5b9e\u73b0<\/p>\n \n\t\u8f6e\u80ce\u6a21\u5177\u82b1\u7eb9\u5757\u5256\u9762\u5982\u56fe3\u6240\u793a\uff1a\u82b1\u7eb9\u5757\u6700\u4e0a\u8fb9\u7684\u662f\u6a21\u5177\u80ce\u53e3\uff0c\u5176\u52a0\u5de5\u7684\u8bef\u5dee\u4e00\u822c\u8f83\u5c0f\uff0c\u9009\u53d6\u4f5c\u4e3a\u57fa\u51c6\u3002\u8bbe\u80ce\u53e3\u79bb\u82b1\u7eb9\u5757\u4e2d\u5fc3\u7ebfX1\u7684\u8ddd\u79bb\u4e3aRT\uff0c\u628a\u8fd9\u4e2a\u5185\u5708\u8bbe\u5b9a\u4e3a\u57fa\u51c6\u5708\u3002\u8f6e\u80ce\u6a21\u5177\u5185\u5f84\u6d4b\u91cf\u662f\u57fa\u4e8e\u6a21\u5177\u80ce\u53e3\u534a\u5f84RT\u5df2\u77e5\u7684\u524d\u63d0\u4e0b\uff0c\u7531\u7a0b\u5e8f\u63a7\u5236\u6574\u4e2a\u6d4b\u91cf\u8fc7\u7a0b\u3002<\/p>\n \n\t<\/p>\n \n\t\u5728\u4fdd\u8bc1\u5f85\u6d4b\u6a21\u5177\u7684\u5e73\u9762\u5ea6\u548c\u540c\u5fc3\u5ea6\u72b6\u6001\u4e0b\uff0c\u8c03\u6574\u8f6c\u52a8\u7535\u673a\u548c\u5782\u76f4\u4f4d\u79fb\u7535\u673a\uff0c\u4f7f\u5f97\u6fc0\u5149\u611f\u6d4b\u5934\u4f4d\u4e8e\u88ab\u6d4b\u70b9\u4e0a\u65b9\u7684\u5df2\u77e5\u80ce\u53e3\u76f4\u5f84\u4f4d\u7f6e\u3002\u8c03\u6574\u6c34\u5e73\u4f4d\u79fb\u7535\u673a\uff0c\u4f7f\u5f97\u6fc0\u5149\u611f\u6d4b\u5934\u4e0e\u80ce\u53e3\u88ab\u6d4b\u70b9\u7684\u6c34\u5e73\u8ddd\u79bb\u4e3a80±0\uff0e5 mm\uff0c\u6fc0\u5149\u4f20\u611f\u5668\u5728\u8fd9\u4e2a\u8ddd\u79bb\u4e0b\u6d4b\u91cf\u7cbe\u5ea6\u6700\u9ad8\u3002<\/p>\n \n\t\u6839\u636e\u80ce\u53e3\u534a\u5f84RT\u548c\u80ce\u53e3\u88ab\u6d4b\u70b9\u7684\u6fc0\u5149\u6d4b\u8ddd\u503c\u3001\u6c34\u5e73\u5149\u6805\u5c3a\u8bfb\u6570\uff0c\u53ef\u4ee5\u5f97\u5230\u5982\u4e0b\u7b49\u5f0f\uff1a<\/p>\n \n\t<\/p>\n \n\t\u5176\u4e2d\uff0cXL\u662f\u6fc0\u5149\u6d4b\u8ddd\u503c\uff0cXR\u662f\u6c34\u5e73\u5149\u6805\u5c3a\u8bfb\u6570\uff0c\u8fd9\u4e24\u4e2a\u503c\u53ef\u4ee5\u591a\u6b21\u6d4b\u91cf\u53d6\u5e73\u5747\uff0cXS\u662f\u7cfb\u7edf\u88c5\u914d\u548c\u653e\u7f6e\u5f85\u6d4b\u6a21\u5177\u65f6\u7684\u56fa\u6709\u503c\uff0c\u5373\u5982\u56fe\u8bbe\u5907\u4e2d\u5fc3X0\u79bb\u82b1\u7eb9\u5708\u4e2d\u5fc3X1\u7684\u8ddd\u79bb\uff0c\u76f8\u5bf9\u4e8e\u5782\u76f4\u65b9\u5411\u7684\u6bcf\u4e2a\u88ab\u6d4b\u70b9\u800c\u8a00\uff0cXS\u5728\u6574\u4e2a\u6d4b\u91cf\u8fc7\u7a0b\u4e2d\u662f\u4e0d\u53d8\u7684\uff0c\u56e0\u6b64\u53ef\u4ee5\u5f97\u5230\u4e0b\u5f0f\uff1a<\/p>\n \n\t<\/p>\n \n\t\u5f53\u6d4b\u91cf\u81c2\u5782\u76f4\u79fb\u52a8\u81f3\u5f85\u6d4b\u6a21\u5177\u88ab\u6d4b\u70b9\u7684\u5782\u76f4\u4f4d\u7f6e\u540e\uff0c\u5e73\u79fb\u6fc0\u5149\u611f\u6d4b\u5934\u81f3\u8ddd\u79bb\u88ab\u6d4b\u70b980±0\uff0e5 mm\u5904\uff0c\u7136\u540e\u8bfb\u53d6\u88ab\u6d4b\u70b9\u7684\u6fc0\u5149\u6d4b\u8ddd\u503cXL’\u548c\u6c34\u5e73\u5149\u6805\u5c3a\u8bfb\u6570XR’\uff0c\u5219\u88ab\u6d4b\u70b9\u7684\u534a\u5f84\u6ee1\u8db3\uff1a<\/p>\n \n\t<\/p>\n \n\t\u53ea\u8981\u6309\u7167\u4e0a\u8ff0\u65b9\u6cd5\u9010\u70b9\u6d4b\u91cf\u548c\u8ba1\u7b97\u51fa\u5404\u4e2a\u88ab\u6d4b\u70b9\u7684\u76f4\u5f84\uff0c\u5c31\u53ef\u4ee5\u5b8c\u6210\u5706\u5ea6\u6d4b\u91cf\u4e86\u3002<\/p>\n \n\t\u5728\u6574\u4e2a\u6d4b\u91cf\u8fc7\u7a0b\u4e2d\uff0c\u7531\u4e8e\u8981\u907f\u5f00\u6a21\u5177\u7684\u82b1\u7eb9\uff0c\u56e0\u800c\u5bf9\u6d4b\u91cf\u70b9\u6709\u4e00\u5b9a\u7684\u8981\u6c42\u3002\u4f7f\u7528ATmega16\u7cbe\u786e\u63a7\u5236\u6b65\u8fdb\u7535\u673a\u8fd0\u884c\u53ef\u4ee5\u627e\u5230\u5f85\u6d4b\u70b9\uff0c\u5e76\u5728\u6b64\u57fa\u7840\u4e0a\u52a0\u5165\u624b\u8f6e\u63a7\u5236\u5668\u5fae\u8c03\u6b65\u8fdb\u7535\u673a\u627e\u5230\u5408\u9002\u4f4d\u7f6e\u540e\u518d\u91c7\u96c6\u6570\u636e\uff0c\u8fd9\u6837\u5c31\u53ef\u4ee5\u5bf9\u4eba\u4e3a\u8bbe\u5b9a\u7684\u6d4b\u91cf\u70b9\u8fdb\u884c\u6d4b\u91cf\u3002<\/p>\n \n\t2\uff0e3 \u8bbe\u5907\u7684\u884c\u7a0b\u63a7\u5236<\/p>\n \n\t\u5728\u6d4b\u91cf\u8bbe\u5907\u6c34\u5e73\u548c\u5782\u76f4\u79fb\u52a8\u6781\u9650\u4f4d\u7f6e\u5904\u653e\u7f6e\u884c\u7a0b\u5f00\u5173<\/u>\u6765\u4fdd\u8bc1\u8fd0\u884c\u5b89\u5168\uff0c\u4e3a\u4e86\u964d\u4f4e\u6210\u672c\uff0c\u901a\u8fc7\u6d4b\u91cf\u8f6c\u76d8\u7684\u6240\u6709\u4fe1\u53f7\u6ca1\u6709\u91c7\u7528\u7535\u6ed1\u73af\u800c\u4f7f\u7528\u7535\u7f06<\/u>\u76f4\u63a5\u8fde\u63a5\u3002\u56e0\u6b64\u8bbe\u5907\u5728\u65cb\u8f6c\u65f6\u4e0d\u80fd\u603b\u662f\u6cbf\u4e00\u4e2a\u65b9\u5411\u65cb\u8f6c\uff0c\u5426\u5219\u4f1a\u626d\u65ad\u7535\u7f06\u3002\u672c\u8bbe\u8ba1\u4e2d\u65cb\u8f6c\u89d2\u5ea6\u4e0d\u8d85\u8fc7360°\uff0c\u4e3a\u4e86\u533a\u5206\u65cb\u8f6c\u76840°\u548c36 0°\uff0c\u5728\u6d4b\u91cf\u8f6c\u76d8\u6307\u5b9a\u7684\u4f4d\u7f6e\u5904\u5206\u522b\u653e\u7f6e\u4e24\u4e2a\u5e76\u6392\u7684\u884c\u7a0b\u5f00\u5173\u3002\u901a\u8fc7\u5224\u65ad\u8fd9\u4e24\u4e2a\u884c\u7a0b\u5f00\u5173\u52a8\u4f5c\u7684\u5148\u540e\u6b21\u5e8f\u6765\u786e\u5b9a\u65cb\u8f6c\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u51b3\u5b9a\u53ef\u65cb\u8f6c\u7684\u65b9\u5411\u3002<\/p>\n \n\t3\u5355\u7247\u673a\u8bbe\u8ba1<\/p>\n \n\t\u4e3b\u8981\u601d\u8def\uff1a\u4e0a\u4f4d\u673a\u5bf9\u7535\u673a\u8fdb\u884c\u6d4b\u91cf\u6b65\u9aa4\u7684\u63a7\u5236\uff0c\u901a\u8fc7\u53d1\u9001\u547d\u4ee4\u4f7f\u6b65\u8fdb\u7535\u673a\u6cbf\u8bbe\u8ba1\u601d\u8def\u6b63\u786e\u6d4b\u91cf\u6570\u636e\u3002\u800c\u5728\u67d0\u4e9b\u6d4b\u91cf\u70b9\u4e0a\uff0c\u9700\u8981\u4eba\u5de5\u5e72\u9884\u65f6\u901a\u8fc7\u8f6c\u52a8\u624b\u8f6e\u5373\u53ef\u5fae\u8c03\u7535\u673a\u3002\u800c\u884c\u7a0b\u5f00\u5173\u53ef\u4ee5\u9650\u5236\u673a\u68b0\u8f6c\u52a8\u7684\u4f4d\u7f6e\uff0c\u4e5f\u53ef\u4ee5\u7528\u4e8e\u590d\u4f4d\u8bbe\u7f6e\u3002<\/p>\n \n\t3\uff0e1 \u6b65\u8fdb\u7535\u673a\u7684\u9a71\u52a8<\/p>\n \n\t\u6b65\u8fdb\u7535\u673a\u7684\u8fd0\u884c\u8981\u6709\u6b65\u8fdb\u7535\u673a\u9a71\u52a8\u5668<\/u>\uff0c\u628a\u63a7\u5236\u7cfb\u7edf\u53d1\u51fa\u7684\u8109\u51b2\u4fe1\u53f7\u8f6c\u5316\u4e3a\u6b65\u8fdb\u7535\u673a\u7684\u89d2\u4f4d\u79fb\u3002\u6b65\u8fdb\u7535\u673a\u7684\u8f6c\u901f\u4e0e\u8109\u51b2\u4fe1\u53f7\u9891\u7387\u6210\u6b63\u6bd4\uff0c\u6b65\u8fdb\u89d2\u5ea6\u4e0e\u8109\u51b2\u6570\u76ee\u6210\u6b63\u6bd4\u3002\u6b65\u8fdb\u7535\u673a\u542f\u52a8\u65f6\uff0c\u5fc5\u987b\u6709\u5347\u901f\u3001\u964d\u901f\u8fc7\u7a0b\uff0c\u5347\u964d\u901f\u7684\u8bbe\u8ba1\u81f3\u5173\u91cd\u8981\u3002\u5982\u679c\u8bbe\u8ba1\u4e0d\u5408\u9002\uff0c\u5c06\u5f15\u8d77\u6b65\u8fdb\u7535\u673a\u7684\u5835\u8f6c\u3001\u5931\u6b65\u3001\u5347\u964d\u901f\u8fc7\u7a0b\u6162\u7b49\u95ee\u9898\u3002\u4e3a\u4e86\u5b9e\u73b0\u5347\u964d\u901f\uff0c\u7528\u9636\u68af\u578b\u9891\u7387\u53d8\u5316\u6765\u6a21\u62df\u9891\u7387\u7ebf\u6027\u53d8\u5316\u8fc7\u7a0b\u3002\u5982\u56fe4\u6240\u793a\u3002<\/p>\n \n\t<\/p>\n \n\t\u6b65\u8fdb\u7535\u673a\u8109\u51b2\u7684\u4ea7\u751f\u7531\u5b9a\u65f6\u5668<\/u>1\u548c\u5b9a\u65f6\u56682\u5b9e\u73b0\uff0cATmega16\u63a7\u5236\u5668\u63a5\u6536\u5230\u4e0a\u4f4d\u673a\u7684\u547d\u4ee4\u540e\uff0c\u9996\u5148\u83b7\u53d6\u9700\u8981\u8f6c\u52a8\u7684\u6b65\u6570\uff0c\u7136\u540e\u6839\u636e\u76f8\u5e94\u547d\u4ee4\u6253\u5f00\u76f8\u5e94\u5b9a\u65f6\u5668\u7684\u8ba1\u6570\u529f\u80fd\u3002\u63a7\u5236\u7a0b\u5e8f\u4e2d\u7528\u5b9a\u65f6\u56681\u63a7\u5236\u4e8c\u8def\u8109\u51b2\u8f93\u51fa\uff0c\u5b9a\u65f6\u56682\u63a7\u5236\u4e00\u8def\u8109\u51b2\u8f93\u51fa\uff0c\u4ece\u800c\u5b8c\u62103\u8def\u7535\u673a\u7684\u63a7\u5236\u3002<\/p>\n \n\t\u5b9a\u65f6\u56682\u4f7f\u7528CTC\u6a21\u5f0f\uff0c\u5339\u914d\u4e2d\u65ad\u4f7f\u80fd\u3002\u901a\u8fc7\u5339\u914d\u4e2d\u65ad\uff0c\u5728OCR2\u7aef\u53e3\u53ef\u4ee5\u8f93\u51fa\u8109\u51b2\uff0c\u901a\u8fc7\u8bbe\u5b9a\u5bc4\u5b58\u5668<\/u>OCR2\u5bc4\u5b58\u5668\u7684\u503c\u53ef\u4ee5\u6539\u53d8\u8f93\u5c71\u8109\u51b2\u9891\u7387\u3002\u5b9a\u65f6\u56681\u4f7f\u7528\u76f8\u4f4d\u4e0e\u9891\u7387\u4fee\u6b63\u6a21\u5f0f\uff0c\u5728\u4e0d\u540c\u4e32\u53e3\u547d\u4ee4\u4e0b\u5206\u522b\u8bbe\u7f6eICR1\u3001OCR1A\u548cOCR1B\u5bc4\u5b58\u5668\u7684\u503c\u5e76\u6253\u5f00\u4e0d\u540c\u7684\u5339\u914d\u4e2d\u65ad\uff0c\u4ece\u800c\u53ef\u4ee5\u5206\u522b\u5728OC1A\u548cOC1B\u7aef\u53e3\u8f93\u51fa\u5339\u914d\u8109\u51b2\u3002\u5176\u8f93\u51fa\u9891\u7387\u63a7\u5236\u548c\u5b9a\u65f6\u56682\u539f\u7406\u4e00\u6837\uff0c\u53ea\u662f\u8fd8\u9700\u8981\u6539\u53d8\u8ba1\u6570\u4e0a\u9650\u503cICR1\u3002\u7531\u4e8e3\u8def\u7535\u673a\u4e0d\u540c\u65f6\u8fd0\u52a8\uff0c\u56e0\u6b64\u6bcf\u6b21\u53ea\u6709\u4e00\u4e2a\u5b9a\u65f6\u5668\u5904\u4e8e\u6253\u5f00\u72b6\u6001\uff0c\u5176\u4f59\u5219\u9700\u8981\u5173\u95ed\u3002<\/p>\n \n\t\u5728\u7a0b\u5e8f\u8fd0\u884c\u4e2d\uff0c\u8bbe\u7f6e\u4e86\u4e00\u4e2a\u5168\u5c40\u53d8\u91cf\u4fdd\u5b58\u7535\u673a\u8fd0\u884c\u7684\u6b65\u6570\u3002\u5728\u6536\u5230\u4e0a\u4f4d\u673a\u7684\u547d\u4ee4\u540e\uff0c\u63a7\u5236\u7a0b\u5e8f\u9996\u5148\u5c06\u8be5\u6b65\u6570\u5199\u5165\u7247\u5185EEPROM<\/u>\u4e2d\u518d\u6267\u884c\u3002\u7531\u4e8eEEPROM\u6570\u636e\u6389\u7535\u4e0d\u4e22\u5931\uff0c\u56e0\u6b64\u7cfb\u7edf\u6389\u7535\u540e\u590d\u4f4d\u65f6\u53ef\u4ee5\u4eceEEPROM\u4e2d\u53d6\u51fa\u6570\u636e\u7136\u540e\u6267\u884c\u4e0b\u4e00\u6b21\u64cd\u4f5c\u3002<\/p>\n \n\t3\uff0e2 \u624b\u8f6e\u5fae\u8c03\u63a7\u5236<\/p>\n \n\t\u624b\u8f6e\u7684\u4f5c\u7528\u4e3b\u8981\u662f\u5b9e\u73b0\u5fae\u8c03\u8bbe\u5907\u627e\u5230\u5408\u9002\u7684\u6d4b\u91cf\u70b9\u3002\u7535\u5b50\u624b\u8f6e\u4e00\u5171\u6709\u4e24\u8def\u8109\u51b2\u8f93\u51fa\uff0c\u4e24\u8def\u8109\u51b2\u76f8\u4f4d\u5dee\u51b3\u5b9a\u4e86\u624b\u8f6e\u7684\u65cb\u8f6c\u65b9\u5411\u3002\u624b\u8f6e\u7684\u63a7\u5236\u91c7\u7528\u5b9a\u65f6\u56680\uff0c\u4f7f\u7528\u8ba1\u6570\u6a21\u5f0f\u3002\u5b9a\u65f6\u56680\u6ca1\u7f6e\u4e3aCTC\u6a21\u5f0f\uff0c\u4e0a\u5347\u6cbf\u89e6\u53d1\uff0cOCR0\u4e3a1\uff0c\u8ba1\u6570\u521d\u59cb\u503c\u4e3a0\uff0c\u4e2d\u65ad\u4f7f\u80fd\u3002\u5f53\u5916\u90e8\u4e0a\u5347\u6cbf\u89e6\u53d1\u65f6\u8ba1\u6570\u52301\u65f6\u89e6\u53d1\u4e2d\u65ad\uff0c\u5728\u4e2d\u65ad\u5b50\u7a0b\u5e8f\u91cc\u9762\u6839\u636e\u624b\u8f6e\u72b6\u6001\u4ea7\u751f\u76f8\u5e94\u7684\u8109\u51b2\u8f93\u51fa\u3002<\/p>\n \n\t\u5728\u624b\u8f6e\u4e2d\u65ad\u5b50\u7a0b\u5e8f\u4e2d\uff0c\u9996\u5148\u5c06\u8ba1\u6570\u5668\u81ea\u52a8\u6e05\u96f6\u7b49\u5f85\u4e0b\u4e00\u4e2a\u624b\u8f6e\u8109\u51b2\u3002\u7136\u540e\u5224\u65ad\u6b63\u53cd\u4fe1\u53f7\u548c\u624b\u8f6e\u6863\u4f4d\u72b6\u6001\uff0cATmega16\u6839\u636e\u72b6\u6001\u4fe1\u606f\u901a\u8fc7\u5ef6\u65f6\u65b9\u6cd5\u4ea7\u751f\u4e00\u5b9a\u6570\u91cf\u7684\u8109\u51b2\u63a7\u5236\u6b65\u8fdb\u7535\u673a\u3002\u624b\u8f6e\u72b6\u6001\u5171\u6709Z\u3001Y\u3001X 3\u4e2a\u65b9\u5411\uff0cX1\u3001X10\u3001X100 3\u4e2a\u6863\u4f4d\u3002\u82e5\u624b\u8f6e\u5728X\u6863\u4f4d\u5219\u5728\u76f8\u5e94\u7aef\u53e3\uff08\u8be5\u7aef\u53e3\u540c\u65f6\u4e5f\u662f\u5b9a\u65f6\u5668\u8109\u51b2\u8f93\u51fa\u53e3\uff09\u8f93\u51fa\u4e00\u5b9a\u6570\u76ee\u7684\u8109\u51b2\u3002\u6539\u53d8\u5ef6\u65f6\u7684\u5927\u5c0f\u53ef\u4ee5\u6539\u53d8\u8f93\u51fa\u9891\u7387\uff0c\u4f46\u662f\u7531\u4e8e\u5ef6\u65f6\u8f93\u51fa\u8109\u51b2\u7684\u6700\u5927\u9891\u7387\u51b3\u5b9a\u4e8e\u6676\u632f<\/u>\uff0c\u56e0\u6b64\u8f93\u51fa\u8109\u51b2\u53d7\u5230\u4e00\u5b9a\u5f71\u54cd\u3002\u5ef6\u8fdf\u65b9\u6cd5\u4ea7\u751f\u7684\u8109\u51b2\u4e0d\u80fd\u7cbe\u786e\u63a7\u5236\u6b65\u8fdb\u7535\u673a\u7684\u6b65\u8fdb\u89d2\u5ea6\uff0c\u4f46\u662f\u53ef\u4ee5\u7528\u4e8e\u5fae\u8c03\u3002<\/p>\n \n\t\u624b\u8f6e\u7684\u6b63\u53cd\u4fe1\u53f7\u901a\u8fc7D\u89e6\u53d1\u5668<\/u>\u6765\u5224\u65ad\u3002\u5c06\u624b\u8f6e\u8109\u51b2A\u4f5c\u4e3aCLK\u4fe1\u53f7\uff0c\u8109\u51b2B\u4e3aCP\u4fe1\u53f7\uff0c\u590d\u4f4d\u7aef\u548c\u7f6e\u4f4d\u7aef\u63a5\u9ad8\u7535\u5e73\u3002\u5f53\u624b\u8f6e\u6b63\u8f6c\u65f6\u8109\u51b2A\u8109\u51b2\u4e0e\u8109\u51b2B\u7684\u76f8\u4f4d\u5dee\u4e3a\u6b6390\u5ea6\uff0cD\u89e6\u53d1\u5668\u8f93\u51fa\u9ad8\u7535\u5e73\uff1b\u82e5\u53cd\u8f6cA\u8109\u51b2\u4e0eB\u8109\u51b2\u7684\u76f8\u4f4d\u5dee\u4e3a\u8d1f90\u5ea6\uff0c\u8f93\u51fa\u4f4e\u7535\u5e73\u3002<\/p>\n \n\t3\uff0e3 \u4e32\u53e3\u6a21\u5757<\/p>\n \n\t\u4e0a\u4f4d\u673a\u548c\u5355\u7247\u673a\u4e3b\u8981\u91c7\u7528UART<\/u>\u5f02\u6b65\u901a\u4fe1\uff0c\u6536\u53d1\u6309\u5b57\u8282\u5904\u7406\u3002\u5355\u7247\u673a\u63a5\u6536\u4e0a\u4f4d\u673a\u547d\u4ee4\u65f6\u91c7\u7528UART\u67e5\u8be2\u65b9\u6cd5\u5b9e\u73b0\u6570\u636e\u63a5\u6536\u3002\u5176\u901a\u4fe1\u683c\u5f0f\u4e3a\uff1a\u8d77\u59cb\u5b57+\u63a7\u5236\u5b57\u8282+\u6b65\u6570+\u7ed3\u675f\u5b57\uff0c\u6570\u636e\u4f7f\u7528\u56fd\u9645\u901a\u7528\u6807\u51c6ASCII\u7801\u683c\u5f0f\uff0c\u5982\u88681\u6240\u793a\u3002<\/p>\n \n\t<\/p>\n \n\t\u8bbe\u8ba1\u8fc7\u7a0b\u4e2d\u4f7f\u7528ICCAVR\u7f16\u8bd1\u5668\u7f16\u5199\u5355\u7247\u673a\u63a7\u5236\u7a0b\u5e8f\uff0c\u53ef\u4ee5\u4f7f\u7528atoi\u51fd\u6570\u5c06ASCII\u7801\u683c\u5f0f\u6b65\u6570\u8f6c\u5316\u4e3a\u6574\u578b\u6570\u636e\u3002 \u8f6e\u80ce\u6a21\u5177\u7528\u4e8e \u6210\u578b \u8f6e\u80ce\uff0c\u5176\u52a0\u5de5\u8d28\u91cf\u5bf9\u8f6e\u80ce\u7684\u751f\u4ea7\u975e\u5e38\u91cd\u8981\u3002\u4e3a\u4e86\u751f\u4ea7\u51fa\u597d\u7684\u8f6e\u80ce\uff0c\u5fc5\u987b\u5bf9\u8f6e\u80ce\u6a21\u5177\u52a0\u5de5\u8d28\u91cf\u63d0\u51fa\u9ad8\u7684\u8981\u6c42\u3002\u4f20\u7edf\u7684\u52a0\u5de5\u8d28\u91cf\u68c0\u6d4b\u6cd5\u4e3b\u8981\u662f\u9760\u767e\u5206\u8868\uff0c\u4eba\u4e3a\u91c7\u96c6\u6570\u636e\u540e<\/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\/2840"}],"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=2840"}],"version-history":[{"count":0,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/2840\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2840"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2840"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2840"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\n\t\u6765\u6e90\uff1b21ic<\/p>\n","protected":false},"excerpt":{"rendered":"