{"id":77433,"date":"2024-01-07T13:02:02","date_gmt":"2024-01-07T05:02:02","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=77433"},"modified":"2024-01-07T13:02:02","modified_gmt":"2024-01-07T05:02:02","slug":"tsuzjkljsjdql","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/77433.html","title":{"rendered":"\u63a2\u7d22UART\u8f6c485\u63a5\u53e3\uff1a\u8fde\u63a5\u4e16\u754c\u7684\u6865\u6881"},"content":{"rendered":"
UART\u8f6c485\u63a5\u53e3\u662f\u4e00\u79cd\u91cd\u8981\u7684\u6570\u636e\u901a\u4fe1\u6280\u672f\uff0c\u901a\u8fc7\u5b9e\u73b0\u4e0d\u540c\u8bbe\u5907\u4e4b\u95f4\u7684\u8fde\u63a5\u548c\u901a\u4fe1\uff0c\u4e3a\u73b0\u4ee3\u4fe1\u606f\u6280\u672f\u7684\u53d1\u5c55\u63d0\u4f9b\u4e86\u91cd\u8981\u7684\u652f\u6301\u3002\u672c\u6587\u5c06\u6df1\u5165\u4ecb\u7ecdUART\u8f6c485\u63a5\u53e3\u7684\u539f\u7406\u3001\u5e94\u7528\u548c\u672a\u6765\u53d1\u5c55\u65b9\u5411\u3002<\/p>\n
UART<\/a>\uff08Universal Asynchronous Receiver\/Transmitter\uff09\u662f\u4e00\u79cd\u901a\u7528\u7684\u5f02\u6b65\u4e32\u884c\u901a\u4fe1\u63a5\u53e3\uff0c\u5e38\u7528\u4e8e\u5355\u7247\u673a<\/a>\u4e0e\u5916\u8bbe\u4e4b\u95f4\u7684\u6570\u636e\u4f20\u8f93\u3002\u800cRS-485\u662f\u4e00\u79cd\u5de5\u4e1a\u9886\u57df\u5e38\u7528\u7684\u6807\u51c6\uff0c\u7528\u4e8e\u5b9e\u73b0\u591a\u4e2a\u8bbe\u5907\u4e4b\u95f4\u7684\u8fdc\u8ddd\u79bb\u901a\u4fe1\u3002<\/p>\n UART\u901a\u8fc7\u4e24\u6839\u7ebf\uff08TXD\u548cRXD\uff09\u6765\u5b9e\u73b0\u6570\u636e\u7684\u53cc\u5411\u4f20\u8f93\uff0c\u5176\u4e2dTXD\u7528\u4e8e\u53d1\u9001\u6570\u636e\uff0cRXD\u7528\u4e8e\u63a5\u6536\u6570\u636e\u3002\u5b83\u53ef\u4ee5\u5b9e\u73b0\u70b9\u5bf9\u70b9\u7684\u6570\u636e\u4f20\u8f93\uff0c\u9002\u7528\u4e8e\u77ed\u8ddd\u79bb\u901a\u4fe1\u3002<\/p>\n RS-485\u662f\u4e00\u79cd\u5dee\u5206\u4fe1\u53f7\u4f20\u8f93\u6807\u51c6\uff0c\u53ef\u4ee5\u5b9e\u73b0\u591a\u70b9\u4e4b\u95f4\u7684\u901a\u4fe1\uff0c\u5177\u6709\u6297\u5e72\u6270\u80fd\u529b\u5f3a\u3001\u4f20\u8f93\u8ddd\u79bb\u8fdc\u7b49\u4f18\u70b9\u3002\u5b83\u9002\u7528\u4e8e\u5de5\u4e1a\u73af\u5883\u4e2d\u5bf9\u901a\u4fe1\u8d28\u91cf\u548c\u7a33\u5b9a\u6027\u8981\u6c42\u8f83\u9ad8\u7684\u573a\u666f\u3002<\/p>\n UART\u8f6c485\u63a5\u53e3\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5de5\u4e1a\u63a7\u5236\u3001\u667a\u80fd\u5bb6\u5c45\u3001\u667a\u80fd\u7535\u529b\u3001\u4ea4\u901a\u8fd0\u8f93\u7b49\u9886\u57df\u3002\u5176\u7a33\u5b9a\u53ef\u9760\u7684\u6570\u636e\u4f20\u8f93\u7279\u6027\uff0c\u4f7f\u5176\u6210\u4e3a\u8fde\u63a5\u5404\u79cd\u8bbe\u5907\u7684\u91cd\u8981\u6865\u6881\u3002<\/p>\n \u5728\u5de5\u4e1a\u81ea\u52a8\u5316\u9886\u57df\uff0c\u5404\u79cd\u4f20\u611f\u5668\u3001\u6267\u884c\u5668\u3001PLC\u7b49\u8bbe\u5907\u5e38\u5e38\u9700\u8981\u8fdb\u884c\u957f\u8ddd\u79bb\u3001\u7a33\u5b9a\u7684\u6570\u636e\u4f20\u8f93\uff0cUART\u8f6c485\u63a5\u53e3\u7684\u5e94\u7528\u6709\u6548\u89e3\u51b3\u4e86\u8fd9\u4e00\u95ee\u9898\u3002<\/p>\n \u5728\u667a\u80fd\u5bb6\u5c45\u7cfb\u7edf\u4e2d\uff0c\u5404\u79cd\u667a\u80fd\u8bbe\u5907\u9700\u8981\u8fdb\u884c\u6570\u636e\u4ea4\u4e92\u548c\u63a7\u5236\uff0cUART\u8f6c485\u63a5\u53e3\u53ef\u4ee5\u5b9e\u73b0\u5404\u79cd\u8bbe\u5907\u4e4b\u95f4\u7684\u4e92\u8054\u4e92\u901a\uff0c\u4ece\u800c\u6784\u5efa\u667a\u80fd\u5bb6\u5c45\u751f\u6001\u7cfb\u7edf\u3002<\/p>\n UART\u5de5\u4f5c\u539f\u7406<\/h3>\n
RS-485\u5de5\u4f5c\u539f\u7406<\/h3>\n
UART\u8f6c485\u63a5\u53e3\u7684\u5e94\u7528\u9886\u57df<\/h2>\n
\u5de5\u4e1a\u63a7\u5236<\/h3>\n
\u667a\u80fd\u5bb6\u5c45<\/h3>\n
\u672a\u6765\u53d1\u5c55\u4e0e\u603b\u7ed3<\/h2>\n