{"id":19117,"date":"2023-06-14T18:30:00","date_gmt":"2023-06-14T10:30:00","guid":{"rendered":"https:\/\/www.circuspi.com\/?p=19117"},"modified":"2023-09-20T10:02:22","modified_gmt":"2023-09-20T02:02:22","slug":"unboxing-m5stack-atom-socket-kit","status":"publish","type":"post","link":"https:\/\/www.circuspi.com\/index.php\/2023\/06\/14\/unboxing-m5stack-atom-socket-kit\/","title":{"rendered":"\u3010\u958b\u7bb1\u8a55\u6e2c\u3011M5Stack ATOM Socket Kit (HLW8032) \u667a\u6167\u63d2\u5ea7\u5957\u4ef6\u89e3\u6790"},"content":{"rendered":"\n<p><style>\n\/* ###\u5be6\u9a57\u4e0b\u4e00\u5217### *\/\n\na:link {color:#0695e4\n;}    \/* \u8a2d\u5b9a\u5c1a\u672a\u9ede\u95b1\u904e\u7684\u9023\u7d50\u6a23\u5f0f *\/\na:visited {color:#0695e4\n;} \/* \u8a2d\u5b9a\u904e\u53bb\u66fe\u7d93\u95b1\u904e\u7684\u9023\u7d50 *\/\na:hover {color:#0695e4\n;}   \/* \u8a2d\u5b9a\u6ed1\u9f20\u6e38\u6a19\u6307\u5728\u9023\u7d50\u4f4d\u7f6e\u4e0a\u7684\u6a23\u5f0f *\/\na:active {color:#0000BB;}  \/* \u8a2d\u5b9a\u4e0a\u9ede\u64ca\u904e\u7684\u9023\u7d50\u6a23\u5f0f *\/\n<\/style><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"526\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2023\/06\/1000x526_1.jpg\" alt=\"\u3010\u958b\u7bb1\u8a55\u6e2c\u3011M5Stack ATOM Socket Kit (HLW8032) \u667a\u6167\u63d2\u5ea7\u5957\u4ef6\u89e3\u6790\" class=\"wp-image-19211\"\/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\">\u4e00\u3001\u524d\u8a00<\/h2>\n\n\n\n<p><a href=\"https:\/\/m5stack.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">M5Stack<\/a> \u7684\u4e3b\u63a7\u677f\u7522\u54c1\u7dda\u4f9d\u64da\u9ad4\u7a4d\u7684\u5927\u5c0f\u4e3b\u8981\u53ef\u5206\u70ba CORE\u3001STICK \u8207 ATOM \u4e09\u500b\u7cfb\u5217\uff0c\u6bcf\u500b\u7cfb\u5217\u90fd\u7531\u9069\u5408\u61c9\u7528\u7684\u74b0\u5883\u53ca\u5834\u57df\u3002\u4f46\u9664\u6b64\u4e4b\u5916 <a href=\"https:\/\/m5stack.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">M5Stack<\/a> \u4e5f\u6709\u63a8\u51fa\u4e00\u4e9b\u5c08\u7528\u5957\u4ef6\uff0c\u4eca\u5929\u4f86\u958b\u7bb1\u7684<a href=\"https:\/\/www.icshop.com.tw\/product-page.php?29036\" target=\"_blank\" rel=\"noreferrer noopener\"> M5Stack ATOM Socket Kit<\/a> \u5c31\u662f\u4ee5 ATOM \u70ba\u4e3b\u63a7\u677f\u7684\u667a\u6167\u63d2\u5ea7\u5957\u4ef6\uff01<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2023\/06\/image-12.png\" alt=\"\u3010\u958b\u7bb1\u8a55\u6e2c\u3011M5Stack ATOM Socket Kit (HLW8023) \u667a\u6167\u63d2\u5ea7\u5957\u4ef6\u89e3\u6790\" class=\"wp-image-19118\" width=\"575\" height=\"384\"\/><figcaption class=\"wp-element-caption\"><a href=\"https:\/\/www.icshop.com.tw\/product-page.php?29036\">M5Stack ATOM Socket Kit<\/a><\/figcaption><\/figure><\/div>\n\n\n<figure class=\"wp-block-embed aligncenter is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"\u3010iCShop\u958b\u7bb1\u8da3\u3011ep3 M5Stack ATOM Socket Kit (HLW8032) Review \u8a55\u6e2c  | \u667a\u6167\u63d2\u5ea7\u5957\u4ef6\u6280\u8853\u89e3\u6790\" width=\"1140\" height=\"641\" src=\"https:\/\/www.youtube.com\/embed\/SnfwPadetxY?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e8c\u3001\u5916\u89c0\u8207\u786c\u9ad4\u898f\u683c<\/h2>\n\n\n\n<p>\u56e0\u70ba\u6574\u9ad4\u9ad4\u7a4d\u8f03\u5927\uff0c\u5916\u5305\u88dd\u4f7f\u7528\u7d19\u76d2\u505a\u6536\u7d0d\uff0c\u9019\u548c M5Stack \u4ee5\u5f80\u5927\u90fd\u4f7f\u7528\u53ef\u91cd\u8907\u4f7f\u7528\u7684\u5851\u81a0\u76d2\u505a\u5305\u88dd\u6709\u6240\u4e0d\u540c\u3002\u5f9e\u5305\u88dd\u6b63\u9762\u53ef\u4ee5\u770b\u5230\u4ee5\u63cf\u908a\u7684\u65b9\u5f0f\u986f\u793a\u5957\u4ef6\u7684\u6a23\u8c8c\uff0c\u4e26\u4e14\u4ee5\u85cd\u8272\u908a\u689d\u660e\u986f\u544a\u8a34\u4f60\u642d\u914d\u7684 ATOM Lite \u4e3b\u63a7\u677f\u4e5f\u540c\u6642\u9644\u5728\u5957\u4ef6\u5167\u3002\u4e0a\u65b9\u6597\u5927\u6587\u5b57\u986f\u793a ATOM Socket\uff0c\u53ef\u7a0b\u5f0f\u5316\u7684\u7121\u7dda\u4ea4\u6d41\u63d2\u5ea7\uff01<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2023\/06\/image-21.png\" alt=\"\" class=\"wp-image-19128\" width=\"380\" height=\"380\"\/><\/figure><\/div>\n\n\n<p>\u5074\u908a\u4f86\u770b\u6a19\u793a\u8457\u5167\u90e8\u4f7f\u7528 ESP32 \u6838\u5fc3\uff0c\u5e36\u6709 Wi-Fi \u8207\u85cd\u7259\u9023\u7dda\u80fd\u529b\uff0c\u4e26\u4e14\u6709\u958b\u95dc\u53ef\u4ee5\u627f\u8f09\u6700\u9ad8 220 \u4f0f\u7279 10 \u5b89\u57f9\u7684\u8ca0\u8f09\u3002\u53e6\u4e00\u5074\u5247\u662f\u4ee5\u529f\u80fd\u505a\u986f\u793a\uff0c\u53ef\u4ee5\u9060\u7aef\u9032\u884c\u63a7\u5236\uff0c\u4e26\u5e36\u6709\u96fb\u80fd\u91cf\u6e2c\u529f\u80fd\uff0c\u53ef\u4ee5\u4f7f\u7528 M5Stack \u7684 UI Flow \u8207 Arduino IDE \u9032\u884c\u958b\u767c\u3002\u80cc\u9762\u8655\u4e5f\u7e6a\u88fd\u4e86\u5957\u4ef6\u7684\u5e95\u90e8\u5916\u89c0\uff0c\u6a19\u793a\u4e86\u5169\u500b\u5341\u5b57\u56fa\u5b9a\u5b54\uff0c\u4ee5\u53ca\u4e0a\u65b9\u4e00\u500b Hook Up \u639b\u52fe\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"600\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2023\/06\/368031600055E.jpg\" alt=\"\" class=\"wp-image-19214\"\/><\/figure><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2023\/06\/image-24.png\" alt=\"\u3010\u958b\u7bb1\u8a55\u6e2c\u3011M5Stack ATOM Socket Kit (HLW8023) \u667a\u6167\u63d2\u5ea7\u5957\u4ef6\u89e3\u6790\" class=\"wp-image-19131\" width=\"432\" height=\"432\"\/><\/figure><\/div>\n\n\n<p>\u6253\u958b\u5f8c\u5167\u90e8\u5c31\u662f\u55ae\u4e00\u500b\u5b8c\u6574\u7684\u5957\u4ef6\uff0c\u5927\u9762\u7a4d\u6a58\u8272\u7684\u5851\u81a0\u5916\u6bbc\u4e26\u4e14\u6709\u4e00\u500b\u5169\u5b54\u8207\u4e00\u500b\u4e09\u5b54\u7684\u63d2\u5ea7\u5404\u4e00\uff0c\u53e6\u4e00\u5074\u5247\u662f ATOM Lite \u7684\u63a7\u5236\u5668\u3002\u4e2d\u9593\u6709\u500b\u7a81\u8d77\u7684\u9ed1\u8272\u50cf\u662f\u62c9\u687f\u7684\u6771\u897f\uff0c\u9019\u5728\u5b98\u65b9\u7684\u5546\u54c1\u7167\u70ba\u91d1\u5c6c\u9280\u8272\uff0c\u4e5f\u4e0d\u662f\u5f88\u78ba\u5b9a\u9019\u500b\u6771\u897f\u7684\u4f5c\u7528\u70ba\u4f55\uff0c\u4e0d\u904e\u9019\u5012\u662f\u7121\u50b7\u5927\u96c5\u3002<\/p>\n\n\n\n<p>\u628a ATOM Lite \u5148\u53d6\u4e0b\u5f8c\uff0c\u53ef\u4ee5\u770b\u5230\u5728\u667a\u6167\u63d2\u5ea7\u4e0a\u65b9\u6709\u51f8\u51fa 9pin \u7684\u6392\u91dd\uff0c\u525b\u597d\u53ef\u4ee5\u8ddf ATOM Lite \u5e95\u90e8\u7684\u5b54\u4f4d\u505a\u9023\u63a5\uff0c\u4e26\u4e14\u5728\u4e2d\u9593\u4e5f\u6709\u4e00\u500b\u6309\u9215\u8207LED\uff0c\u4ee5\u53ca\u5074\u908a\u90e8\u5206\u4e5f\u7559\u6709\u4e00\u500b 4P Grove \u9023\u63a5\u5668\u3002\u4f30\u8a08\u4eca\u5929\u82e5\u6c92\u6709\u8981\u4f7f\u7528 ATOM Lite \u505a\u667a\u6167\u63d2\u5ea7\u7684\u63a7\u5236\uff0c\u4e5f\u53ef\u4ee5\u900f\u904e\u9019\u4e9b\u91dd\u8173\u9023\u63a5\u5230\u5176\u4ed6\u7684\u63a7\u5236\u5668\u50cf\u662f<a rel=\"noreferrer noopener\" href=\"https:\/\/www.icshop.com.tw\/product_list.php?1074\" target=\"_blank\">\u6a39\u8393\u6d3e<\/a>\u6216\u662f <a rel=\"noreferrer noopener\" href=\"https:\/\/www.icshop.com.tw\/product_list.php?2260\" target=\"_blank\">Pi P<\/a><a rel=\"noreferrer noopener\" href=\"https:\/\/www.icshop.com.tw\/product_list.php?2260\" target=\"_blank\">i<\/a><a rel=\"noreferrer noopener\" href=\"https:\/\/www.icshop.com.tw\/product_list.php?2260\" target=\"_blank\">c<\/a><a href=\"https:\/\/www.icshop.com.tw\/product_list.php?2260\" target=\"_blank\" rel=\"noreferrer noopener\">o<\/a> \u7b49\u53bb\u505a\u63a7\u5236\u3002\u5f8c\u9762\u6211\u5011\u53ef\u4ee5\u518d\u91dd\u5c0d\u786c\u9ad4\u53bb\u505a\u7d30\u90e8\u63a2\u8a0e\u3002<\/p>\n\n\n\n<p>\u5e95\u90e8\u7684\u90e8\u5206\u5c31\u5982\u5916\u5305\u88dd\u6240\u793a\uff0c\u5169\u500b\u5341\u5b57\u56fa\u5b9a\u5b54\u65b9\u4fbf\u9396\u9644\u5728\u7246\u4e0a\u56fa\u5b9a\uff0c\u6703\u8a2d\u8a08\u5341\u5b57\u5b54\u4e5f\u662f\u8b93\u5b89\u88dd\u8005\u4e0d\u7ba1\u76f4\u7684\u639b\u6216\u662f\u6a6b\u7684\u639b\u63a5\u53ef\u4ee5\u3002\u5728\u4e0a\u65b9\u5c31\u662f\u4e00\u500b\u53ef\u4ee5\u7ffb\u8d77\u7684\u639b\u9264\uff0c\u5982\u679c\u662f\u66ab\u6642\u6027\u7684\u8981\u540a\u639b\u5728\u5929\u82b1\u677f\u6216\u67d0\u8655\u7684\u8a71\uff0c\u9019\u61c9\u8a72\u4e5f\u883b\u5be6\u7528\u7684\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2023\/06\/image-14.png\" alt=\"\u3010\u958b\u7bb1\u8a55\u6e2c\u3011M5Stack ATOM Socket Kit (HLW8023) \u667a\u6167\u63d2\u5ea7\u5957\u4ef6\u89e3\u6790\" class=\"wp-image-19120\" width=\"400\" height=\"400\"\/><figcaption class=\"wp-element-caption\">\u79fb\u9664\u6389 ATOM Lite \u53ef\u4ee5\u770b\u5230 9P \u9023\u63a5\u6392\u91dd\u8207 4P Grove \u9023\u63a5\u5668\uff0c\u4e2d\u9593\u9084\u6709\u4e00\u500b\u6309\u9215\u8207LED\u3002\uff08\u5716\u7247\u4f86\u6e90\uff1aM5Stack\uff09<\/figcaption><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\">\u4e09\u3001\u4e0a\u96fb\u6e2c\u8a66<\/h2>\n\n\n\n<p>\u5099\u59a5\u96fb\u6e90\u7dda\u4ee5\u53ca Type C \u50b3\u8f38\u7dda\uff0c\u518d\u6e96\u5099\u4e00\u500b\u6e2c\u8a66\u7528\u7684\u8ca0\u8f09\uff0c\u5206\u5225\u9023\u63a5\u5230\u667a\u6167\u63d2\u5ea7\u6a21\u7d44\u8ddf\u96fb\u8166\u3002\u63a5\u4e0a\u96fb\u6e90\u5f8c\u53ef\u4ee5\u770b\u5230 ATOM Lite \u4e0a\u65b9 LED \u4eae\u8d77\u7d05\u71c8\uff0c\u6b64\u6642\u88dd\u7f6e\u5df2\u6709\u96fb\u4f46\u5167\u90e8\u7e7c\u96fb\u5668\u672a\u5c0e\u901a\uff0c\u4e0a\u65b9\u63d2\u5ea7\u7684\u8ca0\u8f09\u4e26\u672a\u4f9b\u96fb\u3002\u6309\u4e00\u4e0b ATOM Lite \u4e0a\u65b9\u6309\u9215\uff0c\u6703\u807d\u5230\u5167\u90e8\u7e7c\u96fb\u5668\u505a\u52d5\u7684\u300c\u55d2\u300d\u4e00\u8072\uff0c\u540c\u6642 LED \u8f49\u8b8a\u70ba\u7da0\u8272\uff0c\u6b64\u6642\u63d2\u5ea7\u4fbf\u6709\u96fb\u6e90\u4f9b\u61c9\u3002<\/p>\n\n\n\n<p>\u6253\u958b <a href=\"https:\/\/www.arduino.cc\/en\/software\/\" target=\"_blank\" rel=\"noreferrer noopener\">Arduino IDE<\/a> \u9078\u64c7\u5c0d\u61c9\u7684 port \u865f\uff0c\u958b\u555f\u5e8f\u5217\u57e0\u76e3\u63a7\u8996\u7a97 Serial Monitor\uff0c\u6703\u770b\u5230\u4e0d\u65b7\u6709\u8cc7\u8a0a\u5f9e\u5e8f\u5217\u57e0\u5370\u51fa\uff0c\u5305\u542b\u96fb\u58d3\u3001\u96fb\u6d41\u3001\u529f\u7387\u7b49\u8cc7\u8a0a\uff0c\u5c31\u662f\u6b64\u6642\u5167\u90e8\u96fb\u91cf\u91cf\u6e2c IC \u6240\u611f\u6e2c\u5230\u7684\u8ca0\u8f09\u96fb\u529b\u53c3\u6578\u3002\u7b46\u8005\u5be6\u6e2c\u7576\u8ca0\u8f09\u63a5\u4e0a\u7b46\u96fb\u7684\u96fb\u6e90\u4f9b\u61c9\u5668\uff0c\u5728 ATOM Socket Kit \u4e0a\u91cf\u6e2c\u5230 113.2 V 0.44 A \u7d04 55 W\uff0c\u6b64\u6642\u7528\u771f\u6709\u6548\u503c(True RMS)\u7684\u842c\u7528\u96fb\u8868\u7684\u96fb\u58d3\u6a94\u9032\u884c\u91cf\u6e2c\uff0c\u6240\u91cf\u5230\u96fb\u58d3\u503c\u70ba 113.9 V\u3002\u6bd4\u5c0d\u4e4b\u4e0b\u5169\u8005\u7684\u5dee\u7570\u7d04\u5728 0.6%\uff0c\u7b97\u662f\u5728\u5408\u7406\u7bc4\u570d\u5167\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2023\/06\/image-15.png\" alt=\"\u3010\u958b\u7bb1\u8a55\u6e2c\u3011M5Stack ATOM Socket Kit (HLW8023) \u667a\u6167\u63d2\u5ea7\u5957\u4ef6\u89e3\u6790\" class=\"wp-image-19121\" width=\"575\" height=\"324\"\/><figcaption class=\"wp-element-caption\">\u4f7f\u7528\u771f\u6709\u6548\u503c\u96fb\u8868\u6bd4\u5c0d\u96fb\u58d3\u6578\u503c\uff0c\u5169\u8005\u91cf\u6e2c\u5dee\u7570\u7d04\u57280.6%<\/figcaption><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\">\u56db\u3001\u786c\u9ad4\u7dda\u8def\u5206\u6790<\/h2>\n\n\n\n<p>\u5b98\u65b9\u63d0\u4f9b\u7684\u7dda\u8def\u5716\u5206\u70ba\u5169\u500b\u5340\u584a\uff0c\u4e00\u500b\u662f\u96fb\u6e90\u91cf\u6e2c IC \u985e\u6bd4\u7aef\u96fb\u8def\uff0c\u53e6\u4e00\u500b\u5247\u662f\u8207\u5fae\u63a7\u5236\u5668\u5468\u908a\u7684\u6578\u4f4d\u7aef\u96fb\u8def\u3002\u5148\u5f9e\u6578\u4f4d\u7aef\u96fb\u8def\u4f86\u770b\uff0c\u548c ATOM Lite \u4e3b\u63a7\u677f\u9023\u63a5\u7684 9p \u6392\u91dd\u9664\u4e86\u96fb\u6e90\u4ee5\u5916\uff0c\u53ea\u7528\u5230\u4e00\u500b\u7e7c\u96fb\u5668\u63a7\u5236\u4ee5\u53ca\u548c\u96fb\u91cf\u91cf\u6e2c IC HLW8032 \u9023\u63a5\u7684 UART RX \u5f15\u8173\u3002\u53e6\u5916\u4e0b\u65b9\u9ed1\u8272 4P Grove \u9023\u63a5\u5668(J3)\u5247\u662f\u63a7\u5236\u7e7c\u96fb\u5668\u4ee5\u53ca\u4e00\u500b ATOM Socket \u4e0a\u7684\u6309\u9215(S1)\u8a0a\u865f\uff0c\u5982\u679c\u8981\u63a5\u5230\u5176\u4ed6\u63a7\u5236\u5668\uff08\u5982\u6a39\u8393\u6d3e\u3001Arduino\u7b49\uff09\u53ef\u4ee5\u904b\u7528\u3002 \u96fb\u6e90\u90e8\u5206\u4f7f\u7528\u4e00\u500b AC \u8f49 DC \u7684\u96fb\u6e90\u8f49\u63db\u6a21\u7d44(PWR1)\uff0c\u548c\u985e\u6bd4\u7aef\u9023\u63a5\u5247\u4f7f\u7528\u4e00\u500b 4P \u9023\u63a5\u5668(J1)\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2023\/06\/image-16.png\" alt=\"ATOM Socket Kit \u786c\u9ad4\u96fb\u8def\uff0d\u6578\u4f4d\u7aef\" class=\"wp-image-19122\" width=\"638\" height=\"363\"\/><figcaption class=\"wp-element-caption\">ATOM Socket Kit \u786c\u9ad4\u96fb\u8def\uff0d\u6578\u4f4d\u7aef<\/figcaption><\/figure><\/div>\n\n\n<p>\u985e\u6bd4\u7aef\u7684\u7dda\u8def\u5716\u4e3b\u8981\u570d\u7e5e\u5728 HLW8032 \u9019\u9846\u96fb\u91cf\u91cf\u6e2c IC\uff0c\u4ee5\u53ca\u5176\u985e\u6bd4\u524d\u7aef\u96fb\u8def\uff08Analog Front End, AFE\uff09\u3002\u96fb\u6d41\u611f\u6e2c\u4f7f\u7528\u4e00\u9846 0.001\u6b50\u59c6\u7684 Shunt \u96fb\u963b(R1) \u5c07\u96fb\u6d41\u8a0a\u865f\u8f49\u70ba\u96fb\u58d3\u8a0a\u865f\u518d\u7d93\u904e\u6ffe\u6ce2\u63a5\u5165 HLW8032\u3002\u96fb\u58d3\u611f\u6e2c\u5247\u662f\u7528\u56db\u9846 470K \u6b50\u59c6\u96fb\u963b(R6~R9)\u5c0d 1K \u6b50\u59c6(R10) \u9032\u884c\u5206\u58d3\u5f8c\u518d\u63a5\u5165HLW8032 P4\u8173\u3002\u7531\u65bc HLW8032 \u9019\u9846\u6676\u7247\u50c5\u6709 8 \u96bb\u5f15\u8173\u63a5\u7dda\u76f8\u5c0d\u5bb9\u6613\uff0c\u6578\u4f4d\u7aef\u50c5\u63d0\u4f9b UART \u56fa\u5b9a\u4ee5 4800 bps \u5410\u51fa\u6676\u7247\u5167\u90e8\u66ab\u5b58\u5668\u8cc7\u6599\uff0c\u7dda\u8def\u4e0a\u4e5f\u6709\u4f7f\u7528\u5149\u8026\u5408 IC \u9694\u96e2\u985e\u6bd4\u8207\u6578\u4f4d\u7aef\uff0c\u518d\u5230 4P \u9023\u63a5\u5668(J1)\u8ddf\u4e0a\u65b9\u7684\u6578\u4f4d\u7aef\u96fb\u8def\u505a\u9023\u63a5\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2023\/06\/image-17.png\" alt=\"ATOM Socket Kit \u786c\u9ad4\u96fb\u8def\uff0d\u985e\u6bd4\u7aef\" class=\"wp-image-19123\" width=\"674\" height=\"429\"\/><figcaption class=\"wp-element-caption\">ATOM Socket Kit \u786c\u9ad4\u96fb\u8def\uff0d\u985e\u6bd4\u7aef<\/figcaption><\/figure><\/div>\n\n\n<p>\u6574\u9ad4\u800c\u8a00 ATOM Socket Kit \u5167\u90e8\u7dda\u8def\u96d6\u7136\u55ae\u7d14\uff0c\u4f46\u5c0d\u5b89\u5168\u6027\u505a\u5230\u76f8\u5c0d\u56b4\u8b39\u7684\u8a2d\u8a08\uff0c\u5c07\u985e\u6bd4\u7aef\u8207\u6578\u4f4d\u7aef\u96fb\u8def\u505a\u5230\u5168\u9694\u96e2\uff0c\u9664\u4e86\u4eba\u54e1\u8f03\u4e0d\u6703\u611f\u96fb\u5916\uff0c\u4e5f\u53ef\u4ee5\u4fdd\u8b77\u6578\u4f4d\u7aef\u7684\u96fb\u5b50\u5143\u4ef6\u8207\u8a2d\u5099\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e94\u3001\u7aba\u63a2 HLW8032 \u96fb\u80fd\u91cf\u6e2c IC<\/h2>\n\n\n\n<p>\u5728 <a href=\"https:\/\/www.icshop.com.tw\/product-page.php?29036\" target=\"_blank\" rel=\"noreferrer noopener\">ATOM Socket Kit<\/a> \u4e0a\u4f7f\u7528\u7684\u96fb\u80fd\u91cf\u6e2c IC \u662f\u4e2d\u570b\u5927\u9678\u7684<a href=\"http:\/\/www.hiliwi.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u5408\u529b\u70ba\u79d1\u6280<\/a>\u6240\u751f\u7522\u7684 HLW8032\uff0c\u4f5c\u70ba\u4e00\u500b\u4f4e\u6210\u672c\u667a\u6167\u63d2\u5ea7\u7684\u89e3\u6c7a\u65b9\u6848\uff0c \u5f15\u8173\u6578\u50c5\u6709 8 \u96bb\u7dda\u8def\u8a2d\u8a08\u4e0a\u76f8\u5c0d\u5bb9\u6613\uff0c\u6709 UART \u8207\u8108\u885d\u8f38\u51fa\u3002\u96fb\u58d3\u96fb\u6d41\u7684\u91cf\u6e2c\u8aa4\u5dee\u50c5\u6709 0.5%\uff0c\u6709\u6548\u529f\u7387\u91cf\u6e2c\u8aa4\u5dee\u66f4\u4f86\u5230 0.2%\uff0c\u5c0d\u65bc\u4e0d\u9808\u6821\u6b63\u7684\u91cf\u6e2c\u6676\u7247\u800c\u8a00\u7b97\u662f\u975e\u5e38\u4e0d\u932f\uff01\u6676\u7247\u5167\u90e8\u786c\u9ad4\u65b9\u584a\u5716\u4e5f\u76f8\u5c0d\u55ae\u7d14\uff0c\u96fb\u58d3\u8207\u96fb\u6d41\u7684\u611f\u6e2c\u7d93\u7531\u524d\u7aef\u96fb\u8def\u9032\u5230 HLW8032 \u7684\u53ef\u7a0b\u5f0f\u529f\u7387\u653e\u5927\u5668\uff08Programmable Gain Amplifier, PGA \uff09\uff0c\u518d\u5230 sigma-delta \u7684\u985e\u6bd4\u6578\u4f4d\u8f49\u63db\u5668\uff08Analog Digital Converter, ADC\uff09\uff0c\u6700\u5f8c\u9032\u884c\u904b\u7b97\u5f9e UART \u5410\u51fa\u3002\u548c MCU \u7684\u901a\u8a0a\u50c5\u6709\u9b91\u7387\u56fa\u5b9a\u70ba 4800 bps \u7684\u55ae\u5411 UART \u4ecb\u9762\uff0c\u512a\u9ede\u662f\u7c21\u55ae\u6613\u7528\uff0c\u7f3a\u9ede\u5247\u662f\u901f\u5ea6\u6162\u3001\u5f48\u6027\u5c0f\u3001\u6c92\u6709\u66ab\u614b\u8cc7\u8a0a\u3001\u6c92\u6709\u6676\u7247\u8a2d\u5b9a\u53ef\u5beb\u5165\u7b49\u3002\u4e0d\u904e\u82e5\u662f\u7528\u65bc\u6d88\u8cbb\u7d1a\u7684\u667a\u6167\u63d2\u5ea7\uff0c\u4e5f\u7b97\u662f\u7dbd\u7dbd\u6709\u9918\u4e86\uff01<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2023\/06\/image-18.png\" alt=\"HLW8032 \u786c\u9ad4\u65b9\u584a\u5716\uff08\u5716\u7247\u4f86\u6e90\uff1a HLW8032 datasheet\uff09\" class=\"wp-image-19124\" width=\"625\" height=\"379\"\/><figcaption class=\"wp-element-caption\">HLW8032 \u786c\u9ad4\u65b9\u584a\u5716\uff08\u5716\u7247\u4f86\u6e90\uff1a HLW8032 datasheet\uff09<\/figcaption><\/figure><\/div>\n\n\n<p>\u96fb\u58d3\u7684\u8a08\u7b97\u65b9\u5f0f\u5247\u662f\u5206\u5225\u5c07\u5169\u500b\u66ab\u5b58\u5668\u7684\u6578\u503c\u8b80\u51fa\u5f8c\uff0c\u76f8\u9664\u518d\u4e58\u4e0a\u96fb\u58d3\u4fc2\u6578\u3002\u96fb\u58d3\u4fc2\u6578\u7684\u6578\u503c\u5247\u53d6\u6c7a\u65bc AFE \u5206\u9d28\u7684\u96fb\u963b\u503c\uff0cATOM Socket Kit \u7684\u5206\u58d3\u96fb\u963b\u8207 HLW8032 \u53c3\u8003\u8a2d\u8a08\u76f8\u540c\uff0c\u5206\u58d3\u6bd4\u503c\u70ba1880:1\uff0c\u56e0\u6b64\u96fb\u58d3\u4fc2\u6578\u5982\u4e0b\u5716\u7684\u8a08\u7b97\u70ba\u300c1.88\u300d\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2023\/06\/image-19.png\" alt=\"HLW8032 \u786c\u9ad4\u65b9\u584a\u5716\uff08\u5716\u7247\u4f86\u6e90\uff1a HLW8032 datasheet\uff09\" class=\"wp-image-19125\" width=\"625\" height=\"182\"\/><figcaption class=\"wp-element-caption\">\u96fb\u58d3(RMS)\u8a08\u7b97\u516c\u5f0f\uff08\u5716\u7247\u4f86\u6e90\uff1aHLW8032 datasheet\uff09<\/figcaption><\/figure><\/div>\n\n\n<p>\u96fb\u6d41\u7684\u8a08\u7b97\u65b9\u5f0f\u8207\u96fb\u58d3\u76f8\u4eff\uff0c\u53ea\u662f\u904b\u7b97\u7684\u66ab\u5b58\u5668\u4e0d\u540c\uff0c\u4ee5\u53ca\u6700\u5f8c\u4e58\u4e0a\u7684\u96fb\u6d41\u4fc2\u6578\u662f\u7d93\u7531 Shunt \u96fb\u963b\u503c\u904b\u7b97\u51fa\u4f86\u3002\u4ee5 <a href=\"https:\/\/www.icshop.com.tw\/product-page.php?29036\" target=\"_blank\" rel=\"noreferrer noopener\">ATOM Socket Kit<\/a> \u7684 Shunt \u96fb\u963b 0.001 \u6b50\u59c6\uff0c\u8a08\u7b97\u51fa\u4f86\u7684\u96fb\u6d41\u4fc2\u6578\u5247\u662f\u300c1\u300d\u3002\u5176\u9918\u6709\u6548\u529f\u7387\u8207\u529f\u7387\u56e0\u6578\u5247\u53ef\u4ee5\u53c3\u7167\u624b\u518a\u5167\u5bb9\u904b\u7b97\u51fa\u4f86\u3002\u7136\u800c\u5373\u4f7f\u4e0d\u77e5\u9053\u600e\u9ebc\u904b\u7b97\u4e5f\u4e0d\u7528\u64d4\u5fc3\uff0c M5Stack \u7684<a href=\"https:\/\/github.com\/m5stack\/M5Atom\/tree\/master\/examples\/ATOM_BASE\/ATOM_Socket\" target=\"_blank\" rel=\"noreferrer noopener\">\u7bc4\u4f8b\u7a0b\u5f0f<\/a>\u4e5f\u5df2\u7d93\u6709\u5b8c\u6574\u51fd\u5f0f\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u4e86\uff01<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2023\/06\/image-20.png\" alt=\"\u96fb\u6d41(RMS)\u8a08\u7b97\u516c\u5f0f\uff08\u5716\u7247\u4f86\u6e90\uff1aHLW8032 datasheet\uff09\" class=\"wp-image-19126\" width=\"530\" height=\"172\"\/><figcaption class=\"wp-element-caption\">\u96fb\u6d41(RMS)\u8a08\u7b97\u516c\u5f0f\uff08\u5716\u7247\u4f86\u6e90\uff1aHLW8032 datasheet\uff09<\/figcaption><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\">\u516d\u3001\u5c0f\u7d50\uff0d\u667a\u6167\u63d2\u5ea7\u5c08\u6848\u9996\u9078<\/h2>\n\n\n\n<p>\u6700\u5f8c\u6211\u5011\u4f86\u7e3d\u7d50\u4e00\u4e0b\uff0c\u5982\u679c\u5404\u4f4d\u5925\u4f34\u6709\u5728\u8003\u616e\u627e\u500b\u53ef\u4ee5\u81ea\u5df1\u5beb\u97cc\u9ad4\u7684\u667a\u6167\u63d2\u5ea7\uff0c\u7b46\u8005\u8a8d\u70ba <a href=\"https:\/\/www.icshop.com.tw\/product-page.php?29036\" target=\"_blank\" rel=\"noreferrer noopener\">M5Stack ATOM Socket Kit<\/a> \u7d55\u5c0d\u662f\u9996\u9078\uff01\u7b2c\u4e00\u9ede\u5957\u4ef6\u51fa\u5ee0\u5df2\u7d93\u505a\u597d\u5916\u6bbc\u4e86\uff0c\u4e0d\u9700\u8981\u984d\u5916\u5c0b\u627e\u5916\u6bbc\u6216\u662f\u7528\u5f88\u571f\u70ae\u7684\u65b9\u5f0f\u628a\u5fae\u63a7\u5236\u5668\u585e\u5230\u6c34\u96fb\u76d2\u88e1\u9762\uff0c\u9664\u4e86\u4eba\u5bb9\u6613\u89f8\u96fb\uff0c\u96fb\u8def\u677f\u4e5f\u6c92\u8fa6\u6cd5\u505a\u597d\u4fdd\u8b77\u3002\u7b2c\u4e8c\u9ede\u5b83\u5167\u5efa\u6574\u5408\u4e86\u96fb\u6e90\u91cf\u6e2c IC \u4ee5\u53ca\u7e7c\u96fb\u5668\uff0c\u667a\u6167\u63d2\u5ea7\u8a72\u6709\u7684\u529f\u80fd\u4e5f\u90fd\u4e00\u61c9\u4ff1\u5168\u4e86\uff01<\/p>\n\n\n\n<p>\u6700\u5f8c\u4ed6\u7684\u4f7f\u7528\u65b9\u5f0f\u4e5f\u5f88\u50bb\u74dc\uff0c\u4f7f\u7528\u8005\u53ea\u8981\u63a5\u4e0a\u96fb\u6e90\u7dda\uff0c\u5728\u628a\u96fb\u5668\u63a5\u4e0a\u5c31\u80fd\u958b\u59cb\u4f7f\u7528\uff0c\u771f\u7684\u662f\u9023\u6211\u554a\u7f75\u90fd\u6703\u10da(\u0301\u25d5\u25de\u0c6a\u25df\u25d5\u2035\u10da)\uff0c\u4e5f\u4e0d\u7528\u64d4\u5fc3\u4eba\u54e1\u64cd\u4f5c\u4e0a\u6709\u5b89\u5168\u7591\u616e\u3002\u5f8c\u7e8c\u8981\u5728\u63a5\u5165\u667a\u6167\u5bb6\u5ead\u5c08\u6848\u50cf\u662f Home Assistant \u9084\u662f\u5176\u4ed6\u74b0\u63a7\u7cfb\u7d71\u90fd\u4e5f\u76f8\u5c0d\u5bb9\u6613\uff0c\u771f\u5fc3\u63a8\u85a6\u7d66\u5404\u4f4d\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>M5Stack \u7684\u4e3b\u63a7\u677f\u7522\u54c1\u7dda\u4f9d\u64da\u9ad4\u7a4d\u7684\u5927\u5c0f\u4e3b\u8981\u53ef\u5206\u70ba CORE\u3001STICK \u8207 ATOM \u4e09\u500b\u7cfb\u5217\uff0c\u6bcf\u500b\u7cfb\u5217\u90fd\u7531\u9069\u5408\u61c9\u7528\u7684\u74b0\u5883\u53ca\u5834\u57df\u3002\u4f46\u9664\u6b64\u4e4b\u5916 M5Stack \u4e5f\u6709\u63a8\u51fa\u4e00\u4e9b\u5c08\u7528\u5957\u4ef6\uff0c\u4eca\u5929\u4f86\u958b\u7bb1\u7684 M5Stack ATOM Socket Kit \u5c31\u662f\u4ee5 ATOM \u70ba\u4e3b\u63a7\u677f\u7684\u667a\u6167\u63d2\u5ea7\u5957\u4ef6\uff01<\/p>\n","protected":false},"author":1,"featured_media":19213,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[111,238],"tags":[],"table_tags":[],"_links":{"self":[{"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/19117"}],"collection":[{"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/comments?post=19117"}],"version-history":[{"count":13,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/19117\/revisions"}],"predecessor-version":[{"id":20436,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/19117\/revisions\/20436"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/media\/19213"}],"wp:attachment":[{"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/media?parent=19117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/categories?post=19117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/tags?post=19117"},{"taxonomy":"table_tags","embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/table_tags?post=19117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}