{"id":39080,"date":"2023-10-01T18:09:47","date_gmt":"2023-10-01T10:09:47","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=39080"},"modified":"2023-10-01T18:09:47","modified_gmt":"2023-10-01T10:09:47","slug":"pyjjgn","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/39080.html","title":{"rendered":"PIC16F57\u5f15\u811a\u53ca\u529f\u80fd"},"content":{"rendered":"
PIC16F57\u662fMicrochip\u63a8\u51fa\u7684\u4e00\u6b3e8\u4f4d\u5355\u7247\u673a\uff0c\u5177\u6709\u5148\u8fdb\u7684\u6027\u80fd\uff0c\u53ef\u4ee5\u6ee1\u8db3\u5b9e\u9645\u5e94\u7528\u7684\u5404\u79cd\u9700\u6c42\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecdPIC16F57\u7684\u5f15\u811a\u53ca\u529f\u80fd\uff0c\u4ee5\u4fbf\u5e2e\u52a9\u8bfb\u8005\u66f4\u597d\u5730\u7406\u89e3PIC16F57\u7684\u6027\u80fd\u7279\u6027\u3002<\/p>\n
PIC16F57\u5177\u670920\u4e2a\u53ef\u7f16\u7a0bI\/O\u5f15\u811a\uff0c\u5176\u4e2d\u5305\u62ec16\u4e2a\u666e\u901aI\/O\u5f15\u811a\u30012\u4e2a\u590d\u7528I\/O\u5f15\u811a\u30012\u4e2a\u590d\u7528\u6bd4\u8f83\u5668\u8f93\u5165\u5f15\u811a\u3002\u6b64\u5916\uff0c\u8fd8\u6709\u4e00\u4e2a\u5168\u901f\u4e32\u884c\u901a\u4fe1\u63a5\u53e3\uff08SPI\uff09\u5f15\u811a\uff0c\u53ef\u4ee5\u652f\u6301SPI\u7b49\u591a\u79cd\u901a\u4fe1\u534f\u8bae\u3002<\/p>\n
PIC16F57\u7684\u666e\u901aI\/O\u5f15\u811a\u4e3b\u8981\u7528\u4e8e\u63a7\u5236\u5916\u90e8\u8bbe\u5907\u7684\u8f93\u5165\u8f93\u51fa\uff0c\u5982LED\u706f\u3001\u6309\u952e\u7b49\uff0c\u4e5f\u53ef\u4ee5\u7528\u4e8e\u4e0e\u5176\u4ed6\u5916\u8bbe\u7684\u6570\u636e\u4ea4\u6362\u3002\u666e\u901aI\/O\u5f15\u811a\u53ef\u4ee5\u8bbe\u7f6e\u4e3a\u8f93\u5165\u6216\u8f93\u51fa\uff0c\u5176\u4e2d\u8f93\u5165\u5f15\u811a\u53ef\u4ee5\u68c0\u6d4b\u7535\u5e73\u53d8\u5316\uff0c\u8f93\u51fa\u5f15\u811a\u53ef\u4ee5\u63a7\u5236\u5176\u4ed6\u5916\u8bbe\u7684\u5de5\u4f5c\u72b6\u6001\u3002<\/p>\n
PIC16F57\u7684\u590d\u7528I\/O\u5f15\u811a\u53ef\u4ee5\u5b9e\u73b0\u591a\u79cd\u529f\u80fd\uff0c\u5982\u6a21\u62df\u8f93\u5165\u3001\u6a21\u62df\u8f93\u51fa\u3001\u6570\u5b57\u8f93\u5165\u3001\u6570\u5b57\u8f93\u51fa\u3001\u4e2d\u65ad\u8f93\u5165\u7b49\u3002\u590d\u7528I\/O\u5f15\u811a\u53ef\u4ee5\u6839\u636e\u5b9e\u9645\u5e94\u7528\uff0c\u8bbe\u7f6e\u4e3a\u4e0d\u540c\u7684\u5de5\u4f5c\u6a21\u5f0f\uff0c\u4ee5\u6ee1\u8db3\u4e0d\u540c\u7684\u9700\u6c42\u3002<\/p>\n
PIC16F57\u7684\u590d\u7528\u6bd4\u8f83\u5668\u8f93\u5165\u5f15\u811a\u53ef\u4ee5\u5b9e\u73b0\u6a21\u62df\u8f93\u5165\u529f\u80fd\uff0c\u53ef\u4ee5\u7528\u4e8e\u68c0\u6d4b\u6a21\u62df\u4fe1\u53f7\uff0c\u5982\u6e29\u5ea6\u3001\u538b\u529b\u7b49\u3002\u590d\u7528\u6bd4\u8f83\u5668\u8f93\u5165\u5f15\u811a\u53ef\u4ee5\u8bbe\u7f6e\u4e3a\u6a21\u62df\u8f93\u5165\u6a21\u5f0f\uff0c\u4e5f\u53ef\u4ee5\u8bbe\u7f6e\u4e3a\u6570\u5b57\u8f93\u5165\u6a21\u5f0f\uff0c\u4ee5\u6ee1\u8db3\u4e0d\u540c\u7684\u5e94\u7528\u9700\u6c42\u3002<\/p>\n
PIC16F57\u7684SPI\u5f15\u811a\u53ef\u4ee5\u5b9e\u73b0SPI\u7b49\u591a\u79cd\u901a\u4fe1\u534f\u8bae\uff0c\u53ef\u4ee5\u7528\u4e8e\u4e0e\u5916\u8bbe\u8fdb\u884c\u6570\u636e\u4ea4\u6362\uff0c\u5982\u63a7\u5236\u5916\u8bbe\u7684\u8f93\u5165\u8f93\u51fa\u7b49\u3002SPI\u5f15\u811a\u4e5f\u53ef\u4ee5\u7528\u4e8e\u4e0e\u5916\u90e8\u5904\u7406\u5668\u8fdb\u884c\u6570\u636e\u4ea4\u6362\uff0c\u53ef\u4ee5\u6781\u5927\u5730\u63d0\u9ad8PIC16F57\u7684\u6027\u80fd\u3002<\/p>\n
PIC16F57\u5177\u6709\u5148\u8fdb\u7684\u6027\u80fd\uff0c\u53ef\u4ee5\u6ee1\u8db3\u5b9e\u9645\u5e94\u7528\u7684\u5404\u79cd\u9700\u6c42\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecdPIC16F57\u7684\u529f\u80fd\u7279\u6027\u3002<\/p>\n
PIC16F57\u91c7\u7528\u7684\u662fMicrochip\u7684\u5148\u8fdb8\u4f4dPIC\u5355\u7247\u673a\u5185\u6838\uff0c\u5177\u6709\u6781\u5f3a\u7684\u5904\u7406\u80fd\u529b\uff0c\u53ef\u4ee5\u6ee1\u8db3\u5b9e\u9645\u5e94\u7528\u7684\u5404\u79cd\u9700\u6c42\u3002PIC16F57\u7684\u5185\u6838\u91c7\u7528\u4e86\u9ad8\u6548\u7684\u7f13\u5b58\u6280\u672f\uff0c\u53ef\u4ee5\u63d0\u9ad8\u7a0b\u5e8f\u7684\u6267\u884c\u6548\u7387\uff0c\u6781\u5927\u5730\u63d0\u9ad8PIC16F57\u7684\u6027\u80fd\u3002<\/p>\n
PIC16F57\u91c7\u7528\u7684\u662f128\u5b57\u8282\u7684\u5185\u90e8\u5b58\u50a8\u5668\uff0c\u53ef\u4ee5\u5b58\u50a8\u7a0b\u5e8f\u4ee3\u7801\u53ca\u6570\u636e\uff0c\u8fd8\u53ef\u4ee5\u5b58\u50a8\u7528\u6237\u81ea\u5b9a\u4e49\u7684\u53c2\u6570\u3002PIC16F57\u8fd8\u652f\u6301\u5916\u90e8\u5b58\u50a8\u5668\uff0c\u53ef\u4ee5\u8fde\u63a5\u5916\u8bbe\uff0c\u6ee1\u8db3\u66f4\u591a\u7684\u5b58\u50a8\u9700\u6c42\u3002<\/p>\n
PIC16F57\u5177\u6709\u4e24\u4e2a\u5b9a\u65f6\u5668\uff0c\u53ef\u4ee5\u5b9e\u73b0\u5b9a\u65f6\u529f\u80fd\uff0c\u53ef\u4ee5\u7528\u4e8e\u63a7\u5236\u5916\u8bbe\u7684\u8f93\u5165\u8f93\u51fa\u7b49\u3002\u6b64\u5916\uff0cPIC16F57\u8fd8\u652f\u6301\u5b9a\u65f6\u4e2d\u65ad\uff0c\u53ef\u4ee5\u5b9e\u73b0\u5b9a\u65f6\u4e2d\u65ad\u529f\u80fd\uff0c\u4ee5\u6ee1\u8db3\u5b9e\u9645\u5e94\u7528\u7684\u5404\u79cd\u9700\u6c42\u3002<\/p>\n
PIC16F57\u5177\u6709\u516b\u8def10\u4f4dADC\uff0c\u53ef\u4ee5\u5b9e\u73b0\u6a21\u62df\u8f93\u5165\u529f\u80fd\uff0c\u53ef\u4ee5\u7528\u4e8e\u68c0\u6d4b\u6a21\u62df\u4fe1\u53f7\uff0c\u5982\u6e29\u5ea6\u3001\u538b\u529b\u7b49\u3002\u6b64\u5916\uff0cPIC16F57\u8fd8\u652f\u6301\u591a\u79cdADC\u6a21\u5f0f\uff0c\u53ef\u4ee5\u6839\u636e\u5b9e\u9645\u5e94\u7528\uff0c\u8bbe\u7f6e\u4e0d\u540c\u7684ADC\u6a21\u5f0f\uff0c\u4ee5\u6ee1\u8db3\u4e0d\u540c\u7684\u9700\u6c42\u3002<\/p>\n
PIC16F57\u5177\u6709\u4e24\u8defPWM\uff0c\u53ef\u4ee5\u5b9e\u73b0\u6a21\u62df\u8f93\u51fa\u529f\u80fd\uff0c\u53ef\u4ee5\u7528\u4e8e\u63a7\u5236\u5916\u8bbe\u7684\u8f93\u5165\u8f93\u51fa\u7b49\u3002\u6b64\u5916\uff0cPIC16F57\u8fd8\u652f\u6301\u591a\u79cdPWM\u6a21\u5f0f\uff0c\u53ef\u4ee5\u6839\u636e\u5b9e\u9645\u5e94\u7528\uff0c\u8bbe\u7f6e\u4e0d\u540c\u7684PWM\u6a21\u5f0f\uff0c\u4ee5\u6ee1\u8db3\u4e0d\u540c\u7684\u9700\u6c42\u3002<\/p>\n
PIC16F57\u5177\u670920\u4e2a\u53ef\u7f16\u7a0bI\/O\u5f15\u811a\uff0c\u5176\u4e2d\u5305\u62ec16\u4e2a\u666e\u901aI\/O\u5f15\u811a\u30012\u4e2a\u590d\u7528I\/O\u5f15\u811a\u30012\u4e2a\u590d\u7528\u6bd4\u8f83\u5668\u8f93\u5165\u5f15\u811a\u548c\u4e00\u4e2aSPI\u5f15\u811a\u3002<\/strong>PIC16F57\u5177\u6709\u5f3a\u5927\u7684\u5904\u7406\u80fd\u529b\uff0c\u53ef\u4ee5\u6ee1\u8db3\u5b9e\u9645\u5e94\u7528\u7684\u5404\u79cd\u9700\u6c42\u3002PIC16F57\u8fd8\u5177\u6709\u5b9a\u65f6\u5668\u3001ADC\u3001PWM\u7b49\u591a\u79cd\u529f\u80fd\uff0c\u53ef\u4ee5\u6ee1\u8db3\u5b9e\u9645\u5e94\u7528\u7684\u5404\u79cd\u9700\u6c42\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" PIC16F57\u662fMicrochip\u63a8\u51fa\u7684\u4e00\u6b3e8\u4f4d\u5355\u7247\u673a\uff0c\u5177\u6709\u5148\u8fdb\u7684\u6027\u80fd\uff0c\u53ef\u4ee5\u6ee1\u8db3\u5b9e\u9645\u5e94\u7528\u7684\u5404\u79cd\u9700\u6c42\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecdPIC16F57\u7684\u5f15\u811a\u53ca\u529f\u80fd\uff0c\u4ee5\u4fbf\u5e2e\u52a9\u8bfb\u8005\u66f4\u597d\u5730\u7406\u89e3P<\/p>\n","protected":false},"author":1,"featured_media":4132,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[305],"class_list":["post-39080","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-dzjs"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/39080"}],"collection":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/comments?post=39080"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/39080\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/4132"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=39080"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=39080"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=39080"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}