{"id":1649,"date":"2018-05-09T16:17:10","date_gmt":"2018-05-09T07:17:10","guid":{"rendered":"https:\/\/www.dogrow.net\/elecronics\/?p=1649"},"modified":"2019-10-21T03:50:48","modified_gmt":"2019-10-20T18:50:48","slug":"blog27","status":"publish","type":"post","link":"https:\/\/www.dogrow.net\/elecronics\/blog27\/","title":{"rendered":"(27) \u3010\u9023\u8f091-6\u3011\u30de\u30a4\u30b3\u30f3\u3067\u96fb\u5b50\u5de5\u4f5c\u5165\u9580\uff1a\u5408\u6210\u97f3\u58f0\u3067\u6642\u5831"},"content":{"rendered":"<h1 class=\"my_h\">1. \u3084\u3063\u3066\u307f\u305f\u3044\u3053\u3068<\/h1>\n<p><a href=\"https:\/\/www.dogrow.net\/elecronics\/blog24\/\">(24) \u30101-4\u3011\u30de\u30a4\u30b3\u30f3\u3067\u96fb\u5b50\u5de5\u4f5c\u5165\u9580\uff1a\u6642\u5831\u3092\u4f5c\u308b<\/a> \u3067\u306f\u30e9\u30ba\u30d1\u30a4\u3068\u97f3\u6e90IC\u3092\u4f7f\u3063\u3066\u6642\u5831\u3092\u4f5c\u3063\u3066\u307f\u305f\u3002<\/p>\n<p>\u58c1\u306b\u639b\u3051\u305f\u30e9\u30ba\u30d1\u30a4\u304b\u3089\u30d4\u30c3\u30bf\u30ea 1\u6642\u9593\u3054\u3068\u306b\u300c\u30d4\u30b3\u30d4\u30b3\u266a \u30d4\u30fc\u30d4\u266a\u300d\u3068\u97f3\u304c\u9cf4\u308a\u6c17\u306b\u5165\u3063\u3066\u3044\u305f\u306e\u3060\u304c\u3001\u540c\u5c45\u3057\u3066\u3044\u308b\u5bb6\u65cf\u304b\u3089\u306f\u3068\u3063\u3066\u3082\u4e0d\u8a55\u3060\u3002<\/p>\n<p class=\"my_fc_red my_fs_big4\">\u96fb\u5b50\u97f3\u304c\u8033\u969c\u308a\u3060&#8230;<\/p>\n<p>\u3068\u306e\u3053\u3068\u3002<\/p>\n<p>\u4ed5\u65b9\u304c\u306a\u3044\u306e\u3067\u3001\u518d\u751f\u6642\u9593\u3092\u66f2\u306e\u5148\u982d 3\u79d2\u3060\u3051\u306b\u3057\u3066\u904b\u7528\u3057\u3066\u3044\u305f\u304c\u3001\u4eca\u5ea6\u306f\u81ea\u5206\u304c\u9762\u767d\u304f\u306a\u3044\u3002<\/p>\n<p>\u3053\u3093\u306a\u3053\u3068\u3067\u5b50\u4f9b\u3092\u5dfb\u304d\u8fbc\u3093\u3067\u592b\u5a66\u55a7\u5629\u3092\u3057\u3066\u3082\u4ed5\u65b9\u304c\u306a\u3044\u306e\u3067\u3001\u5bfe\u7b56\u3092\u691c\u8a0e\u3057\u3066\u307f\u305f\u7d50\u679c&#8230;<\/p>\n<p class=\"my_fc_deeppink my_fs_big4\">\u96fb\u5b50\u97f3\u304c\u30a4\u30e4\u306a\u3089\u97f3\u58f0\u3067\u6642\u5831\u3092\u4f5c\u308d\u3046\uff01<\/p>\n<p>\u3068\u8003\u3048\u305f\u3002<\/p>\n<p>\u5bb6\u65cf\u4f1a\u8b70\u3092\u7d4c\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u307e\u305f\u4eca\u5ea6\u3082 \u300c\u4e0d\u5feb\u3060\u300d \u3068\u8a00\u308f\u308c\u308b\u53ef\u80fd\u6027\u3082\u3042\u308b\u304c\u3001<br \/>\n\u300c\u25cb\u6642\u25a1\u5206\u3067\u3059\u3002\u300d<br \/>\n\u3068\u3057\u3083\u3079\u3089\u305b\u308b\u3060\u3051\u306a\u3089\u96fb\u5b50\u97f3\u306e\u8a31\u5bb9\u9650\u754c\u3067\u3042\u3063\u305f 3\u79d2\u4ee5\u5185\u306b\u53ce\u307e\u308b\u3057\u3001\u6587\u53e5\u306f\u306a\u3044\u3068\u4fe1\u3058\u3066\u7740\u624b\u3059\u308b\u3002<\/p>\n<h1 class=\"my_h\">2. \u97f3\u58f0\u6642\u5831\u306e\u5b9f\u73fe\u65b9\u6cd5<\/h1>\n<p>Linux\u30de\u30b7\u30f3\u3067\u3042\u308b\u30e9\u30ba\u30d1\u30a4\u3092\u4f7f\u3046\u306e\u3067\u65b9\u6cd5\u306f\u3044\u304f\u3089\u3067\u3082\u3042\u308b\u3002<br \/>\n\u30b5\u30a6\u30f3\u30c9\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308a\u3001\u30b9\u30d4\u30fc\u30ab\u30fc\u51fa\u529b\u7aef\u5b50\u306b\u5916\u90e8\u30b9\u30d4\u30fc\u30ab\u30fc\u3092\u7e4b\u3052\u3066\u518d\u751f\u3059\u308b\u306e\u304c\u7c21\u5358\u3060\u308d\u3046\u3002<\/p>\n<p>\u3067\u3082&#8230;<br \/>\n<span class=\"my_fc_crimson\">\u305d\u308c\u3067\u306f\u96fb\u5b50\u5de5\u4f5c\u3063\u307d\u304f\u306a\u3044\u3002<\/span><\/p>\n<p>\u305d\u3053\u3067&#8230;<\/p>\n<p class=\"my_fc_deeppink\">\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u4e0a\u306e\u97f3\u58f0\u5408\u6210 IC\u3067\u58f0\u3092\u4f5c\u308a\u3001<br \/>\n\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u4e0a\u306e\u5727\u96fb\u30b9\u30d4\u30fc\u30ab\u30fc\u3067\u518d\u751f\u3059\u308b<\/p>\n<p>\u3068\u3044\u3046\u5b9f\u73fe\u65b9\u6cd5\u306b\u6c7a\u3081\u305f\u3002<\/p>\n<h1 class=\"my_h\">3. \u30d1\u30fc\u30c4\u3092\u8abf\u9054<\/h1>\n<p>\u4eca\u56de\u306f\u79cb\u6708\u3055\u3093\u3067\u3053\u3061\u3089\u306e\u97f3\u58f0\u5408\u6210 LSI\u3092\u8cb7\u3063\u3066\u304d\u305f\u3002<br \/>\n<a href=\"http:\/\/akizukidenshi.com\/catalog\/g\/gI-05665\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/www.dogrow.net\/elecronics\/wp-content\/uploads\/2018\/05\/001-5.png\" alt=\"\" \/><\/a><\/p>\n<p>\u3053\u306e\u97f3\u58f0\u5408\u6210LSI<br \/>\n<a href=\"https:\/\/www.a-quest.com\/products\/aquestalkpicolsi.html\" target=\"_blank\" rel=\"noopener noreferrer\">AquesTalk pico LSI ATP3011F<\/a><br \/>\n\u306f\u3001\u81ea\u5206\u304c\u79cb\u6708\u3055\u3093\u3067\u8cfc\u5165\u3059\u308b\u7269\u306e\u4e2d\u3067\u306f\u304b\u306a\u308a\u9ad8\u984d\u306a 1\u500b 850\u5186\u3002<\/p>\n<p>\u30dc\u30fc\u30ab\u30ed\u30a4\u30c9\u306e\u3088\u3046\u306b\u58f0\u5225\u306b\u88fd\u54c1\u304c\u308f\u304b\u308c\u3066\u304a\u308a\u3001\u4ee5\u4e0b\u306e\u30e9\u30a4\u30f3\u30ca\u30c3\u30d7\u304c\u3042\u308b\u3002<br \/>\n\u30fb\u304b\u308f\u3044\u3044\u5973\u6027<br \/>\n\u30fb\u3086\u3063\u304f\u308a\u306a\u5973\u6027<br \/>\n\u30fb\u7537\u6027<br \/>\n\u30fb\u30ed\u30dc\u30c3\u30c8\u58f0<\/p>\n<p>\u4eca\u56de\u306f\u300c\u304b\u308f\u3044\u3044\u5973\u6027\u300d\u306b\u3057\u305f\u3002<\/p>\n<p>\u79cb\u6708\u3055\u3093\u3067\u306f ATP3011F \u3068 ATP3012F \u304c\u58f2\u3089\u308c\u3066\u3044\u305f\u3002<br \/>\n\u6700\u521d\u306f\u300cATP3012F \u5973\u6027\u306e\u58f0\u660e\u77ad\u7248\u300d\u306b\u3057\u3088\u3046\u3068\u8003\u3048\u3066\u3044\u305f\u304c\u30013012\u306f\u5916\u90e8\u30af\u30ed\u30c3\u30af\u306e\u4f9b\u7d66\u304c\u5fc5\u8981\u306a\u305f\u3081\u3001\u5b9f\u88c5\u6642\u306b\u3072\u3068\u624b\u9593\u5897\u3048\u308b\u3002<\/p>\n<p>\u4eca\u56de\u306f\u5b9f\u88c5\u3067\u5c11\u3057\u697d\u3092\u3059\u308b\u305f\u3081\u306b\u3001<span class=\"my_fc_deeppink\">\u5185\u8535\u30af\u30ed\u30c3\u30af\u3067\u52d5\u4f5c\u3059\u308b ATP3011F \u306e\u65b9\u3092\u9078\u629e<\/span>\u3057\u305f\u3002<\/p>\n<p><a href=\"https:\/\/www.a-quest.com\/products\/aquestalkpicolsi.html\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/www.dogrow.net\/elecronics\/wp-content\/uploads\/2018\/05\/002-5.png\" alt=\"\" \/><br \/>\nhttps:\/\/www.a-quest.com\/products\/aquestalkpicolsi.html<\/a><\/p>\n<h1 class=\"my_h\">4. \u56de\u8def\u306e\u8a2d\u8a08<\/h1>\n<h3 class=\"my_h\">(1) \u30e9\u30ba\u30d1\u30a4\u3068 IC\u306e\u7d50\u7dda<\/h3>\n<p>\u3053\u306e\u97f3\u58f0\u5408\u6210 LSI\u306b\u306f\u8db3\u304c 28\u672c\u3082\u3042\u308b\u306e\u3067\u76ee\u304c\u304f\u3089\u3093\u3067\u3057\u307e\u3046\u304c\u3001\u5b9f\u969b\u306b\u7e4b\u3050\u5fc5\u8981\u306e\u3042\u308b\u8db3\u6570\u306f\u5c11\u306a\u3044\u3002<br \/>\n<a href=\"https:\/\/www.a-quest.com\/archive\/manual\/atp3011_datasheet.pdf\" target=\"_blank\" rel=\"noopener noreferrer\">ATP3011F\u306e\u30c7\u30fc\u30bf\u30b7\u30fc\u30c8<\/a> \u3092\u898b\u306a\u304c\u3089\u8003\u3048\u3066\u307f\u308b\u3002<\/p>\n<p class=\"my_fw_bold\">1) \u30d0\u30b9\u30d7\u30ed\u30c8\u30b3\u30eb\u306e\u9078\u629e<\/p>\n<p>ATP3011F\u306f\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u63a5\u7d9a\u7528\u306b\u8907\u6570\u306e\u30d0\u30b9\u30d7\u30ed\u30c8\u30b3\u30eb\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u308b\u3002<br \/>\n\u4eca\u56de\u306f\u4fe1\u53f7\u7dda\u306e\u672c\u6570\u304c 2\u672c\u3068\u5c11\u306a\u304f\u3066\u6e08\u3080 I2C\u3092\u9078\u629e\u3059\u308b\u3002<\/p>\n<p>\u4ed6\u306e\u901a\u4fe1\u30d7\u30ed\u30c8\u30b3\u30eb\u306b\u5909\u66f4\u3059\u308b\u306a\u3069\u904b\u7528\u4e2d\u306b\u5909\u66f4\u3059\u308b\u53ef\u80fd\u6027\u306f 0\u306a\u306e\u3067\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b GND\u3068 VCC\u306b\u7e4b\u3044\u3067\u901a\u4fe1\u30d7\u30ed\u30c8\u30b3\u30eb\u3092 I2C\u56fa\u5b9a\u3068\u3057\u3066\u3057\u307e\u3046\u3002<br \/>\n\u30fbSMOD0: 0 (LOW) \uff0d GND<br \/>\n\u30fbSMOD1: 1 (HIGH) \uff0d VCC<br \/>\n<span class=\"my_fc_crimson\">\u203b\u30c7\u30d5\u30a9\u30eb\u30c8\u3067 IC\u5185\u90e8\u3067\u30d7\u30eb\u30a2\u30c3\u30d7\u3055\u308c\u3066\u3044\u308b\u306e\u3067 SMOD1\u306f\u30aa\u30fc\u30d7\u30f3\u3067\u3088\u3044\u3002<\/span><\/p>\n<p class=\"my_fw_bold\">2) I2C\u306e\u63a5\u7d9a<\/p>\n<p>\u30e9\u30ba\u30d1\u30a4\u3068 IC\u306e I2C\u4fe1\u53f7\u7dda\u3092\u7e4b\u3050\u3002<br \/>\n\u3053\u308c\u306f\u30e9\u30ba\u30d1\u30a4\u5074\u3067\u3082\u7e4b\u3050\u5834\u6240\u304c\u6c7a\u3081\u3089\u308c\u3066\u3044\u308b\u3002<br \/>\n\u30fbSDA \uff0d GPIO2 (SDA)<br \/>\n\u30fbSCL \uff0d GPIO3 (SCL)<br \/>\n<span class=\"my_fc_crimson\">\u203b\u30c7\u30fc\u30bf\u30b7\u30fc\u30c8\u306b\u5f93\u3044\u3001\u3053\u306e 2\u672c\u306f 5k\u03a9\u3067\u30d7\u30eb\u30a2\u30c3\u30d7\u3059\u308b\u3002<\/span><\/p>\n<p class=\"my_fw_bold\">3) \u52d5\u4f5c\u30e2\u30fc\u30c9\u306e\u9078\u629e<\/p>\n<p>\u30e9\u30ba\u30d1\u30a4\u304b\u3089 I2C\u7d4c\u7531\u3067\u30b3\u30de\u30f3\u30c9\u3092\u9001\u3063\u3066\u97f3\u3092\u9cf4\u3089\u3059\u300c\u30b3\u30de\u30f3\u30c9\u5165\u529b\u30e2\u30fc\u30c9\u300d\u3092\u9078\u629e\u3059\u308b\u3002<br \/>\n\u3053\u308c\u3082\u904b\u7528\u4e2d\u306b\u5909\u66f4\u3059\u308b\u3064\u3082\u308a\u306f\u306a\u3044\u306e\u3067\u3001\u3053\u306e\u30e2\u30fc\u30c9\u56fa\u5b9a\u3068\u3059\u308b\u3002<br \/>\n\u30fbPMOD0: 1 (HIGH)<br \/>\n\u30fbPMOD1: 1 (HIGH)<br \/>\n<span class=\"my_fc_crimson\">\u203b\u30c7\u30d5\u30a9\u30eb\u30c8\u3067 IC\u5185\u90e8\u3067\u30d7\u30eb\u30a2\u30c3\u30d7\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u5916\u90e8 VCC\u3078\u306e\u63a5\u7d9a\u306f\u4e0d\u8981\u3060\u3002<\/span><\/p>\n<p class=\"my_fw_bold\">4) \u30b9\u30ea\u30fc\u30d7\u5236\u5fa1<\/p>\n<p>\u6642\u5831\u306f 1\u6642\u9593\u306b 1\u56de\u3057\u304b\u52d5\u304b\u3055\u306a\u3044\u306e\u3067\u3001\u4e0d\u8981\u306a\u6642\u306f\u3053\u306e IC\u3092\u30b9\u30ea\u30fc\u30d7\u72b6\u614b\uff08\uff1d\u7701\u96fb\u529b\u30e2\u30fc\u30c9\uff09\u306b\u3057\u3066\u304a\u304d\u305f\u3044\u3002<br \/>\n\u3053\u306e\u305f\u3081 IC\u306e SLEEP\u30d4\u30f3\u3092\u30e9\u30ba\u30d1\u30a4\u306e GPIO17 \u3068\u7e4b\u304e\u3001\u30de\u30a4\u30b3\u30f3\u304b\u3089\u30bd\u30d5\u30c8\u3067\u5236\u5fa1\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u304a\u304f\u3002<br \/>\n\u30fb\/SLEEP \uff0d GPIO17<br \/>\n<span class=\"my_fc_crimson\">\u203bACTIVE LOW\u306a\u306e\u3067\u30b9\u30ea\u30fc\u30d7\u3055\u305b\u305f\u3044\u5834\u5408\u306f GPIO17\u7d4c\u7531\u3067 LOW\u4fe1\u53f7\u3092\u5165\u308c\u308b\u3002<\/span><\/p>\n<p>\u3064\u307e\u308a&#8230;<br \/>\n\u30fb\u6642\u5831\u3092\u518d\u751f\u4e2d\u306f HIGH<br \/>\n\u30fb\u6642\u5831\u306e\u518d\u751f\u304c\u7d42\u4e86\u3057\u305f\u3089 LOW<br \/>\n\u306e\u3088\u3046\u306b SLEEP\u7aef\u5b50\u306e\u5165\u529b\u4fe1\u53f7\u30ec\u30d9\u30eb\u3092\u5236\u5fa1\u3059\u308b\u3002<\/p>\n<p class=\"my_fw_bold\">5) \u30b9\u30d4\u30fc\u30ab\u30fc\u3068\u63a5\u7d9a<\/p>\n<p>AOUT\u7aef\u5b50\u306f\u56de\u8def\u4f8b\u306b\u5f93\u3063\u3066\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u4e0a\u3067\u5727\u96fb\u30b9\u30d4\u30fc\u30ab\u30fc\u3068\u7e4b\u3050\u3002<\/p>\n<p class=\"my_fw_bold\">6) \u7d50\u7dda\u306e\u307e\u3068\u3081<\/p>\n<p>\u4e0b\u56f3\u306e <span class=\"my_fc_red my_fs_big2\">\u8d64\u67a0\u5185<\/span> \u306e\u30d4\u30f3\uff08\u516810\u672c\uff09\u3060\u3051\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u4e0a\u3067\u7e4b\u3052\u3070\u3088\u3044\u3002<br \/>\n<a href=\"https:\/\/www.a-quest.com\/archive\/manual\/atp3011_datasheet.pdf\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/www.dogrow.net\/elecronics\/wp-content\/uploads\/2018\/05\/003-5.png\" alt=\"\" \/><\/a><\/p>\n<p class=\"my_fc_red my_fs_big6\">\u6ce8\u610f<\/p>\n<p>\u4e0a\u306e\u56de\u8def\u56f3\u306f\u8ad6\u7406\u7684\u306b\u56f3\u793a\u3057\u3066\u3042\u308a\u3001\u96e2\u308c\u305f\u5834\u6240\u306b\u3042\u308b\u30d4\u30f3\u3092\u96a3\u63a5\u3057\u3066\u3044\u308b\u304b\u306e\u3088\u3046\u306b\u66f8\u3044\u3066\u3042\u308b\u3002<br \/>\n\u5b9f\u969b\u306e\u30d4\u30f3\u914d\u7f6e\u306f\u4e0b\u56f3\u306e\u901a\u308a\u306a\u306e\u3067\u6ce8\u610f\u3059\u308b\u3002<br \/>\n<a href=\"https:\/\/www.a-quest.com\/archive\/manual\/atp3011_datasheet.pdf\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/www.dogrow.net\/elecronics\/wp-content\/uploads\/2018\/05\/004-6.png\" alt=\"\" \/><\/a><\/p>\n<h3 class=\"my_h\">(2) \u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u4e0a\u306b\u5c55\u958b<\/h3>\n<p>\u4e0a\u8a18\u306e \u300c(1)-6) \u7d50\u7dda\u306e\u307e\u3068\u3081\u300d \u306b\u5f93\u3063\u3066\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u4e0a\u306e\u914d\u7dda\u3092\u66f8\u3044\u3066\u307f\u305f\u3002<\/p>\n<p>\u3042\u3093\u307e\u308a\u6574\u7406\u3068\u304b\u8003\u3048\u305a\u306b\u66f8\u3044\u3066\u307f\u305f\u306e\u3067\u6c5a\u3044\u304b&#8230;<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.dogrow.net\/elecronics\/wp-content\/uploads\/2018\/05\/005-3.png\" alt=\"\" \/><\/p>\n<p>\u3067&#8230;<br \/>\n\u5b9f\u969b\u306e\u5b9f\u88c5\u306f\u3053\u3061\u3089\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.dogrow.net\/elecronics\/wp-content\/uploads\/2018\/05\/009-2.png\" alt=\"\" \/><\/p>\n<h1 class=\"my_h\">5. \u30de\u30a4\u30b3\u30f3\u5236\u5fa1\u30bd\u30d5\u30c8\u306e\u8a2d\u8a08<\/h1>\n<p class=\"my_fc_deeppink my_fs_big5\">\u7fd2\u3046\u3088\u308a\u6163\u308c\u308d\uff01<\/p>\n<p>\u306e\u500b\u4eba\u7684\u306a\u65b9\u91dd\u306b\u5f93\u3044\u3001\u6b21\u9805\u3067\u5b9f\u969b\u306b\u52d5\u304b\u3057\u306a\u304c\u3089\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4ed5\u4e0a\u3052\u3066\u3044\u304f\u3002<\/p>\n<p>\u3088\u3063\u3066&#8230;<br \/>\n\u30d7\u30ed\u30b0\u30e9\u30e0\u8a2d\u8a08\u30d5\u30a7\u30fc\u30ba\u306f\u8a2d\u3051\u306a\u3044\u3002<\/p>\n<h1 class=\"my_h\">6. \u3084\u3063\u3066\u307f\u308b\uff01<\/h1>\n<h3 class=\"my_h\">(1) \u30e9\u30ba\u30d1\u30a4\u3067 I2C\u3092\u6709\u52b9\u306b\u3059\u308b\u3002<\/h3>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo raspi-config\r\n<\/pre>\n<p>[Interface]\uff0d[I2C] enabled\u306b\u8a2d\u5b9a\u3059\u308b\u3002<\/p>\n<p>ATP3011F\u306e\u30c7\u30fc\u30bf\u30b7\u30fc\u30c8\u306e\u300c9.2 I2C\u901a\u4fe1\u300d\u3067\u306f\u3001I2C\u30b9\u30ec\u30fc\u30d6\u30a2\u30c9\u30ec\u30b9\u521d\u671f\u5024\u306f 0x2E\u3068\u66f8\u304b\u308c\u3066\u3044\u308b\u3002<br \/>\n\u30e9\u30ba\u30d1\u30a4\u5074\u3067\u3069\u3046\u8a8d\u8b58\u3055\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u3066\u307f\u308b\u3068\uff1f<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\npi@rp3:~ $ sudo i2cdetect -l\r\ni2c-1   i2c             bcm2835 I2C adapter                     I2C adapter\r\npi@rp3:~ $ sudo i2cdetect -y 1\r\n     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f\r\n00:          -- -- -- -- -- -- -- -- -- -- -- -- --\r\n10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --\r\n20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- 2e --\r\n30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --\r\n40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --\r\n50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --\r\n60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --\r\n70: -- -- -- -- -- -- -- --\r\npi@rp3:~ $\r\n<\/pre>\n<p>\u78ba\u304b\u306b 0x2E\u306b\u30c7\u30d0\u30a4\u30b9\u304c\u691c\u51fa\u3055\u308c\u305f\u3002<br \/>\n\u3053\u306e\u30a2\u30c9\u30ec\u30b9\u5024\u306f ATP3011F\u4e0a\u306e EEPROM\u306b\u4fdd\u5b58\u3055\u308c\u3066\u3044\u308b\u5024\u3067\u3042\u308a\u3001\u81ea\u7531\u306b\u66f8\u304d\u63db\u3048\u308b\u3053\u3068\u3082\u3067\u304d\u308b\u3002<br \/>\n\u4eca\u56de\u306f I2C\u30d0\u30b9\u4e0a\u306b\u30a2\u30c9\u30ec\u30b9\u304c\u7af6\u5408\u3059\u308b\u30c7\u30d0\u30a4\u30b9\u3082\u3044\u306a\u3044\u306e\u3067\u3001\u3053\u306e\u307e\u307e\u4f7f\u7528\u3059\u308b\u3002<\/p>\n<h3 class=\"my_h\">(2) \u4e8b\u524d\u6e96\u5099<\/h3>\n<p>python\u3092\u8d77\u52d5\u3059\u308b\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\npython\r\n<\/pre>\n<p>ATP3011F\u306b\u5bfe\u3057\u3066\u5358\u767a\u30b3\u30de\u30f3\u30c9\u3092\u9001\u308b\u6e96\u5099\u3092\u3059\u308b\u3002<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">\r\nimport RPi.GPIO as GPIO\r\nimport smbus\r\n\r\nGPIO.setmode(GPIO.BCM)\r\nGPIO.setup(17, GPIO.OUT)  # GPIO17\u3092\u51fa\u529b\u30dd\u30fc\u30c8\u306b\u8a2d\u5b9a\uff08SLEEP\u5236\u5fa1\u7528\uff09\r\nbus = smbus.SMBus(1)      # I2C\u521d\u671f\u8a2d\u5b9a\r\n\r\ndef ATP3011_send_cmd( cmd ):  # \u30b3\u30de\u30f3\u30c9\u9001\u4fe1\u95a2\u6570\r\n    cmd0 = ord(cmd&#x5B;0])\r\n    cmd1 = &#x5B;]\r\n    for c in cmd&#x5B;1:]:\r\n        cmd1.append(ord(c))\r\n    GPIO.output(17, GPIO.HIGH)                   # SLEEP\u30e2\u30fc\u30c9\u3092\u89e3\u9664\r\n    bus.write_i2c_block_data(0x2e, cmd0, cmd1)   # \u30b3\u30de\u30f3\u30c9\u9001\u4fe1\u5b9f\u884c\r\n    GPIO.output(17, GPIO.LOW)                    # SLEEP\u30e2\u30fc\u30c9\u306b\u79fb\u884c\r\n<\/pre>\n<h3 class=\"my_h\">(2) \u30e9\u30ba\u30d1\u30a4\u304b\u3089\u5358\u767a\u30b3\u30de\u30f3\u30c9\u3092\u9001\u3063\u3066\u58f0\u3092\u51fa\u3057\u3066\u307f\u308b\u3002<\/h3>\n<p class=\"my_fs_big2 my_fw_bold\">1) \u30c1\u30e3\u30a4\u30e0\u3092\u9cf4\u3089\u3059\u3002<\/p>\n<p>\u300c\u30d4\u30fc\u30f3\u300d\u3068\u30d9\u30eb\u306e\u97f3\u304c\u3059\u308b\u3002<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">\r\ncmd = &quot;#K\\r&quot;\r\nATP3011_send_cmd(cmd)\r\n<\/pre>\n<p>\u3053\u3063\u3061\u306f\u304b\u3059\u304b\u306b\u300c\u30d4\u30f3\u30dd\u30f3\u300d\u3068\u805e\u3053\u3048\u308b\u304c\u3001\u305d\u306e 3\u500d\u3050\u3089\u3044\u306e\u97f3\u91cf\u3067\u300c\u30b8\u30fc\u30b8\u30fc\u300d\u3068\u30ce\u30a4\u30ba\u304c\u805e\u3053\u3048\u308b&#8230;<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">\r\ncmd = &quot;#J\\r&quot;\r\nATP3011_send_cmd(cmd)\r\n<\/pre>\n<p class=\"my_fs_big2 my_fw_bold\">2) \u521d\u3081\u3066\u3057\u3083\u3079\u3089\u305b\u308b\u3002<\/p>\n<p>\u300c\u3042\u3044\u3046\u3048\u304a\u300d<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">\r\ncmd = &quot;aiueo\\r&quot;\r\nATP3011_send_cmd(cmd)\r\n<\/pre>\n<p>\u300c\u3044\u3061\u300d\u300c\u306b\u3044\u300d\u300c\u3055\u3093\u300d\u300c\u3088\u3093\u300d<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">\r\ncmd = &quot;ichi\\r&quot;\r\nATP3011_send_cmd(cmd)\r\n\r\ncmd = &quot;nii\\r&quot;\r\nATP3011_send_cmd(cmd)\r\n\r\ncmd = &quot;sann\\r&quot;\r\nATP3011_send_cmd(cmd)\r\n\r\ncmd = &quot;yonn\\r&quot;\r\nATP3011_send_cmd(cmd)\r\n<\/pre>\n<p class=\"my_fs_big2 my_fw_bold\">3) \u6642\u523b\u3092\u3057\u3083\u3079\u3089\u305b\u308b\u3002<\/p>\n<p>\u300c1\u6642\u3067\u3059\u300d<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">\r\ncmd = &quot;ichijidesu\\r&quot;\r\nATP3011_send_cmd(cmd)\r\n<\/pre>\n<p>\u300c1\u6642 \u3067\u3059\u300d <span class=\"my_fc_crimson\">\u5c11\u3057\u9593\u3092\u7a7a\u3051\u308b\u3002<\/span><\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">\r\ncmd = &quot;ichiji desu\\r&quot;\r\nATP3011_send_cmd(cmd)\r\n<\/pre>\n<p>\u300c1\u6642,\u3067\u3059\u300d <span class=\"my_fc_crimson\">\u307b\u3093\u306e\u5c11\u3057\u9593\u3092\u7a7a\u3051\u308b\u3002<\/span><\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">\r\ncmd = &quot;ichiji,desu\\r&quot;\r\nATP3011_send_cmd(cmd)\r\n<\/pre>\n<p><span class=\"my_fc_deeppink\">\u6642\u5831\u306b\u306f\u300c\u307b\u3093\u306e\u5c11\u3057\u300d\u3050\u3089\u3044\u304c\u3088\u3044\u304b\u3082<\/span><\/p>\n<p>\u6307\u5b9a\u6642\u523b\u7528\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f5c\u3063\u3066\u304f\u308c\u308b\u95a2\u6570 get_cmd_Jiho() \u3092\u4f5c\u308b\u3002<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">\r\nary_h = &#x5B;'zero','ichi','ni','san','yo','go','roku','siti','hati','ku','juu','juuichi','juuni','juusan','juuyo','juugo','juuroku','juusiti','juuhati','juuku','nijuu','nijuuichi','nijuuni','nijuusan']\r\ndef get_cmd_Jiho( h ) :\r\n    return ary_h&#x5B;h] + 'ji,desu\\r'\r\n<\/pre>\n<p>\u5b9f\u969b\u306b\u4f7f\u3063\u3066\u307f\u308b\u3002<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">\r\nimport time\r\nfor i in range(0,24):\r\n    cmd = get_cmd_Jiho(i)\r\n    ATP3011_send_cmd(cmd)\r\n    time.sleep(3)\r\n<\/pre>\n<p>0\u6642\u304b\u3089 23\u6642\u307e\u3067\u58f0\u306b\u51fa\u3057\u3066\u8aad\u307f\u4e0a\u3052\u3066\u304f\u308c\u305f\u3002<\/p>\n<h3 class=\"my_h\">(3) \u4e00\u3064\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u30d5\u30a1\u30a4\u30eb\u306b\u307e\u3068\u3081\u308b\u3002<\/h3>\n<p>\u73fe\u5728\u306e\u6642\u523b\u5024\u3092\u53d6\u5f97\u3057\u300c\u25cb\u6642\u3067\u3059\u3002\u300d\u3068\u3057\u3083\u3079\u3063\u3066\u304f\u308c\u308b 1\u500b\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u30d5\u30a1\u30a4\u30eb <span class=\"my_fc_blue\">test27.py<\/span> \u306b\u307e\u3068\u3081\u308b\u3002<br \/>\n<span class=\"my_fc_crimson\">\u6642\u5831\u3092\u8aad\u307f\u4e0a\u3052\u308b\u76f4\u524d\u306b\u3001\u30c1\u30e3\u30a4\u30e0\u306e\u97f3 x 3\u56de\u3092\u9cf4\u3089\u3059\u3088\u3046\u306b\u3057\u305f\u3002<\/span><\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">\r\nimport RPi.GPIO as GPIO\r\nimport smbus\r\nfrom datetime import datetime\r\nimport time\r\n\r\nary_h = &#x5B;'zero','ichi','ni','san','yo','go','roku','siti','hati','ku','juu','juuichi','juuni','juusan','juuyo','juugo','juuroku','juusiti','juuhati','juuku','nijuu','nijuuichi','nijuuni','nijuusan']\r\n\r\nGPIO.setmode(GPIO.BCM)\r\nGPIO.setup(17, GPIO.OUT)      # GPIO17\u3092\u51fa\u529b\u30dd\u30fc\u30c8\u306b\u8a2d\u5b9a\uff08SLEEP\u5236\u5fa1\u7528\uff09\r\nbus = smbus.SMBus(1)          # I2C\u521d\u671f\u8a2d\u5b9a\r\n\r\ndef get_cmd_Jiho( h ) :       # \u6642\u5831\u7528\u306e\u97f3\u58f0\u30b3\u30de\u30f3\u30c9\u3092\u4f5c\u6210\r\n    return ary_h&#x5B;h] + 'ji,desu\\r'\r\n\r\ndef ATP3011_send_cmd( cmd ):  # ATP3011F\u3078\u306e\u30b3\u30de\u30f3\u30c9\u9001\u4fe1\r\n    cmd0 = ord(cmd&#x5B;0])\r\n    cmd1 = &#x5B;]\r\n    for c in cmd&#x5B;1:]:\r\n        cmd1.append(ord(c))\r\n    GPIO.output(17, GPIO.HIGH)                   # SLEEP\u30e2\u30fc\u30c9\u3092\u89e3\u9664\r\n    bus.write_i2c_block_data(0x2e, cmd0, cmd1)   # \u30b3\u30de\u30f3\u30c9\u9001\u4fe1\u5b9f\u884c\r\n    GPIO.output(17, GPIO.LOW)                    # SLEEP\u30e2\u30fc\u30c9\u306b\u79fb\u884c\r\n\r\nh   = datetime.now().hour           # \u73fe\u5728\u306e\u6642\u523b\u3092\u53d6\u5f97\r\ncmd = get_cmd_Jiho(h)               # ATP3011F\u306b\u9001\u4fe1\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3092\u4f5c\u6210\r\n\r\nfor i in range(0,3):                # \u30c1\u30e3\u30a4\u30e0\u3092 3\u56de\u9cf4\u3089\u3059\u3002\r\n    ATP3011_send_cmd('#K\\r')\r\n    time.sleep(1)\r\n\r\nATP3011_send_cmd(cmd)\r\n\r\nGPIO.cleanup()\r\n<\/pre>\n<p>\u3053\u308c\u3092 Terminal\u304b\u3089\u5b9f\u884c\u3057\u3066\u307f\u308b\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\npython test27.py\r\n<\/pre>\n<p>\u73fe\u5728 15\u6642 28\u5206\u3001<br \/>\n<span class=\"my_fc_deeppink\">\u300c\u30d4\u30fc\u30f3\u266a\u300d<br \/>\n\u300c\u30d4\u30fc\u30f3\u266a\u300d<br \/>\n\u300c\u30d4\u30fc\u30f3\u266a\u300d<br \/>\n\u300c\uff11\uff15\u6642 \u3067\u3059\u3002\u300d<\/span><br \/>\n\u3068\u3057\u3083\u3079\u3063\u3066\u304f\u308c\u305f\u3002<\/p>\n<h3 class=\"my_h\">(4) \u5468\u671f\u8d77\u52d5\u3055\u305b\u3066\u6642\u5831\u306b\u3059\u308b\u3002<\/h3>\n<p>\u3053\u308c\u306f <a href=\"https:\/\/www.dogrow.net\/elecronics\/blog24\/\">(24) \u30101-4\u3011\u30de\u30a4\u30b3\u30f3\u3067\u96fb\u5b50\u5de5\u4f5c\u5165\u9580\uff1a\u6642\u5831\u3092\u4f5c\u308b<\/a> \u3068\u307e\u3063\u305f\u304f\u540c\u3058\u3053\u3068\u3092\u3059\u308c\u3070\u3088\u3044\u3002<\/p>\n<p>crontab\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ncrontab -e\r\n<\/pre>\n<p>\u6bce\u6642 0\u5206\u306b\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3059\u308b\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n0 * * * * python \/home\/pi\/MyWork\/test27.py\r\n<\/pre>\n<p class=\"my_fc_deeppink my_fs_big6 my_mgT_3rem\">\u97f3\u58f0\u3067\u8aad\u307f\u4e0a\u3052\u308b\u6642\u5831\u304c\u3067\u304d\u305f\uff01<\/p>\n<h1 class=\"my_h\">7. \u5fdc\u7528<\/h1>\n<p>\u3044\u3064\u304b\u6642\u9593\u3068\u6c17\u6301\u3061\u306e\u4f59\u88d5\u304c\u51fa\u6765\u305f\u3089\u3084\u3063\u3066\u307f\u3088\u3046\u3068\u601d\u3046\u3053\u3068\u3002<\/p>\n<h3 class=\"my_h\">(1) \u611f\u60c5\u8868\u73fe\u3092\u52a0\u3048\u308b\u3002<\/h3>\n<p>\u4eca\u56de\u4f7f\u7528\u3057\u305f ATP3011F \u3067\u306f\u3001\u3057\u3083\u3079\u3089\u305b\u308b\u6587\u306b\u6291\u63da\u3092\u3064\u3051\u308b\u3053\u3068\u304c\u51fa\u6765\u308b\u3002<br \/>\n\u6642\u5831\u3067\u3057\u3083\u3079\u308b\u77ed\u6587\u3067\u306f\u3042\u3093\u307e\u308a\u610f\u5473\u304c\u306a\u3044\u304b\u3082\u3057\u308c\u306a\u3044\u304c\u3001\u3044\u3064\u304b\u3084\u3063\u3066\u307f\u3088\u3046\u3002<br \/>\n<a href=\"https:\/\/www.a-quest.com\/archive\/manual\/atp3011_datasheet.pdf\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"my_border_1px\" src=\"https:\/\/www.dogrow.net\/elecronics\/wp-content\/uploads\/2018\/05\/010-4.png\" alt=\"\" \/><br \/>\nhttps:\/\/www.a-quest.com\/archive\/manual\/atp3011_datasheet.pdf<\/a><\/p>\n<h3 class=\"my_h\">(2) \u97f3\u91cf\u30a2\u30c3\u30d7\u306e\u305f\u3081\u306b\u30a2\u30f3\u30d7\u3092\u7e4b\u3052\u308b\u3002<\/h3>\n<p>\u97f3\u58f0\u8aad\u307f\u4e0a\u3052\u306e\u6642\u5831\u304c\u51fa\u6765\u308b\u306b\u306f\u51fa\u6765\u305f\u306e\u3060\u304c\u3001<\/p>\n<p class=\"my_fc_crimson my_fs_big3\">\u30ce\u30a4\u30ba\u4ea4\u3058\u308a\u306e\u868a\u306e\u7fbd\u97f3\u306e\u3088\u3046\u306a\u58f0\u3057\u304b\u805e\u3053\u3048\u306a\u3044&#8230;<\/p>\n<p>\u305d\u3082\u305d\u3082\u4eca\u56de\u306e\u5236\u4f5c\u306f\u3001\u540c\u5c45\u3059\u308b\u5bb6\u65cf\u304b\u3089<br \/>\n\u300c\u96fb\u5b50\u97f3\u306e\u6642\u5831\u304c\u3046\u308b\u3055\u3044\u300d<br \/>\n\u3068\u6012\u3089\u308c\u3066\u59cb\u3081\u305f\u3082\u306e\u3067\u3042\u308a\u3001\u9759\u304b\u306a\u5206\u306b\u306f\u3088\u3044\u306e\u304b\u3082\u3057\u308c\u306a\u3044\u3002<\/p>\n<p>\u3060\u304c\u3001\u30b9\u30d4\u30fc\u30ab\u30fc\u304b\u3089 1m\u306e\u8ddd\u96e2\u3067\u3082\u8033\u3092\u3053\u3089\u3055\u306a\u3044\u3068\u805e\u3053\u3048\u306a\u3044\u30ec\u30d9\u30eb\u306a\u306e\u3067\u3001\u5b9f\u7528\u7684\u3068\u306f\u8a00\u3048\u306a\u3044\u3002<\/p>\n<p>\u3082\u3046\u5019\u88dc\u306f\u6c7a\u3081\u3066\u3042\u308b\u3002\u30b3\u30ec\uff08\u2193\uff09\u3092\u30b7\u30f3\u30b0\u30eb\u30a8\u30f3\u30c9\u5165\u529b\u3067\u4f7f\u7528\u3059\u308b\u3002<br \/>\n<a href=\"http:\/\/akizukidenshi.com\/catalog\/g\/gK-08161\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/www.dogrow.net\/elecronics\/wp-content\/uploads\/2018\/05\/011-3.png\" alt=\"\" \/><\/a><br \/>\n\u30a2\u30f3\u30d7IC\u3092\u8cfc\u5165\u3059\u308c\u3070\u3001\u305d\u306e\u5468\u8fba\u306b\u306f\u30c7\u30fc\u30bf\u30b7\u30fc\u30c8\u306e\u5b9f\u88c5\u4f8b\u306b\u5f93\u3063\u3066\u30b3\u30f3\u30c7\u30f3\u30b5\u3084\u3089\u62b5\u6297\u3084\u3089\u3092\u7e4b\u304c\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u3002<br \/>\n\u3053\u3061\u3089\u306e\u30ad\u30c3\u30c8\u306f\u4ed8\u5c5e\u306e\u57fa\u677f\u4e0a\u306b\u305d\u308c\u3089\u3092\u5b9f\u88c5\u6e08\u307f\u306a\u306e\u3067\u3001AOUT\u3068\u5225\u96fb\u6e90\u3092\u7e4b\u3050\u3060\u3051\u3067\u4f7f\u3048\u3066\u3057\u307e\u3046\u3002<\/p>\n<p>\u3044\u3064\u304b\u30a2\u30f3\u30d7\u3092\u7e4b\u3052\u3066\u30b9\u30d4\u30fc\u30ab\u30fc\u306e\u97f3\u91cf\u3092\u5927\u304d\u304f\u3057\u3001\u304f\u3063\u304d\u308a\u30dc\u30a4\u30b9\u3067\u8074\u304d\u305f\u3044\u306a\u3041&#8230;<\/p>\n<h3 class=\"my_h\">(3) \u30ce\u30a4\u30ba\u9664\u53bb\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u4ed8\u3051\u308b\u3002<\/h3>\n<p>\u30b9\u30da\u30a2\u30ca\u3067\u5468\u6ce2\u6570\u6210\u5206\u3092\u898b\u3066\u307f\u305f\u3044\u304c\u3001\u305d\u3093\u306a\u7269\u306f\u6301\u3063\u3066\u3044\u306a\u3044&#8230;<br \/>\n<span class=\"my_fc_crimson\">\u30b9\u30da\u30a2\u30ca\uff1a \u5468\u6ce2\u6570\u89e3\u6790\u5668 (Spectrum Analyzer)<\/span> <a href=\"https:\/\/auctions.yahoo.co.jp\/search\/search?ei=UTF-8&#038;va=&#038;vo=%E3%82%B9%E3%83%9A%E3%82%A2%E3%83%8A%E3%80%80%E3%82%B9%E3%83%9A%E3%82%AF%E3%83%88%E3%83%A9%E3%83%A0%E3%82%A2%E3%83%8A%E3%83%A9%E3%82%A4%E3%82%B6&#038;ve=&#038;aucminprice=&#038;aucmaxprice=&#038;aucmin_bidorbuy_price=&#038;aucmax_bidorbuy_price=&#038;abatch=0&#038;istatus=0&#038;gift_icon=0&#038;s1=end&#038;o1=a&#038;f=0x2&#038;slider=0&#038;tab_ex=commerce&#038;f_adv=1&#038;charity=&#038;fixed=0&#038;auccat=23761\" target=\"_blank\" rel=\"noopener noreferrer\">\u30e4\u30d5\u30aa\u30af<\/a><\/p>\n<p>\u304a\u305d\u3089\u304f\u300c\u30d3\u30fc\u30d3\u30fc\u300d\u9cf4\u3063\u3066\u3044\u308b\u9ad8\u5468\u6ce2\u6570\u5e2f\u57df\u3092\u3054\u3063\u305d\u308a\u5207\u3063\u3066\u3088\u3044\u306f\u305a\u3002<br \/>\n\u3059\u306a\u308f\u3061\u3001LPF\uff08Low Pass Filter\uff09\u3067\u97f3\u58f0\u30c7\u30fc\u30bf\u306e\u5b58\u5728\u3059\u308b\u5e2f\u57df\u306e\u307f\u3092\u901a\u904e\u3055\u305b\u3066\u30b9\u30d4\u30fc\u30ab\u30fc\u306b\u5165\u529b\u3059\u308b\u3002<\/p>\n<h1 class=\"my_h\">7. \u6240\u611f<\/h1>\n<p>I2C\u3067\u30e9\u30ba\u30d1\u30a4\u3068\u7e4b\u3050\u3053\u3068\u304c\u3067\u304d\u308b\u9762\u767d\u3044\u30c7\u30d0\u30a4\u30b9\u304c\u3042\u308c\u3070\u3001\u3069\u3093\u3069\u3093\u7e4b\u3044\u3067\u307f\u305f\u3044\u3002<br \/>\n\u6839\u56de\u308a\u306e\u901a\u4fe1\u5236\u5fa1\u306f SMBus\u304c\u30e9\u30c3\u30d7\u3057\u3066\u304f\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u5b9f\u88c5\u6642\u306f\u4e0a\u4f4d\u306e\u30d7\u30ed\u30c8\u30b3\u30eb\u3060\u3051\u3092\u610f\u8b58\u3059\u308c\u3070\u3088\u3044\u3002<\/p>\n<p>\u4eca\u56de\u521d\u3081\u3066\u8db3\u304c 28\u672c\uff08\u7247\u507414\u672c x 2\u5217\uff09\u3082\u3042\u308b IC\u3092\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u4e0a\u306b\u8f09\u305b\u305f\u3002<br \/>\n\u5360\u6709\u9762\u7a4d\u3067\u898b\u308c\u3070\u308f\u305a\u304b\u306a\u5927\u304d\u3055\u306a\u306e\u3060\u304c\u3001\u5b9f\u969b\u306b\u306f\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u4e0a\u3067\u6a2a\u65b9\u5411\u306b 14\u672c\/30\u672c\u3082\u5360\u6709\u3057\u3066\u3057\u307e\u3046\u3002<br \/>\n\u3053\u3093\u306a IC\u3092 2\u500b\u3001 3\u500b\u3068\u7e4b\u3050\u56de\u8def\u3092\u4f5c\u308b\u5834\u5408\u306f\u3001\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u304c\u8907\u6570\u679a\u5fc5\u8981\u306b\u306a\u308b\u306a\u3041&#8230;<\/p>\n\n<script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<ins class=\"adsbygoogle\"\n     style=\"display:block\"\n     data-ad-format=\"fluid\"\n     data-ad-layout-key=\"-fb+5w+4e-db+86\"\n     data-ad-client=\"ca-pub-0629873272207301\"\n     data-ad-slot=\"9529643655\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n<h1 class=\"my_h\">\u53c2\u8003\u60c5\u5831<\/h1>\n<p>\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059\u3002 m(_ _)m<br \/>\n<a href=\"https:\/\/abiko-toy-hospital.jimdo.com\/%E8%B3%87%E6%96%99%E9%9B%86-1\/vcc-vee-vdd-vss%E3%81%A8%E3%81%AF\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/abiko-toy-hospital.jimdo.com\/%E8%B3%87%E6%96%99%E9%9B%86-1\/vcc-vee-vdd-vss%E3%81%A8%E3%81%AF\/<\/a><br \/>\n<a href=\"http:\/\/www.picfun.com\/c15.html\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.picfun.com\/c15.html<\/a><br \/>\n<a href=\"http:\/\/www.geocities.jp\/zattouka\/GarageHouse\/micon\/TalkIC\/ATP3011.htm\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.geocities.jp\/zattouka\/GarageHouse\/micon\/TalkIC\/ATP3011.htm<\/a><br \/>\n<a href=\"http:\/\/www.raspberry-projects.com\/pi\/programming-in-python\/i2c-programming-in-python\/using-the-i2c-interface-2\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.raspberry-projects.com\/pi\/programming-in-python\/i2c-programming-in-python\/using-the-i2c-interface-2<\/a><br \/>\n<a href=\"http:\/\/blog-yama.a-quest.com\/?eid=970162\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/blog-yama.a-quest.com\/?eid=970162<\/a><br \/>\n<a href=\"http:\/\/www.cqpub.co.jp\/dwm\/contents\/0053\/dwm005300950.pdf\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.cqpub.co.jp\/dwm\/contents\/0053\/dwm005300950.pdf<\/a><\/p>\n<h1 class=\"my_h\">\u9023\u8f09<\/h1>\n<p>Raspberry Pi\u306e\u521d\u671f\u8a2d\u5b9a\u304b\u3089\u7c21\u5358\u306a\u52d5\u4f5c\u5b9f\u9a13\u307e\u3067\u3001\u4ee5\u4e0b\u306f\u30de\u30a4\u30b3\u30f3\u5236\u5fa1\u5165\u9580\u306e\u9023\u8f09\u3067\u3059\u3002<br \/>\n<a href=\"https:\/\/www.dogrow.net\/elecronics\/blog21\/\" rel=\"noopener noreferrer\">(21) \u3010\u9023\u8f091-1\u3011\u30de\u30a4\u30b3\u30f3\u3067\u96fb\u5b50\u5de5\u4f5c\u5165\u9580\uff1a\u9078\u5b9a<\/a><br \/>\n<a href=\"https:\/\/www.dogrow.net\/elecronics\/blog22\/\" rel=\"noopener noreferrer\">(22) \u3010\u9023\u8f091-2\u3011\u30de\u30a4\u30b3\u30f3\u3067\u96fb\u5b50\u5de5\u4f5c\u5165\u9580\uff1a\u30e9\u30ba\u30d1\u30a4\u521d\u671f\u8a2d\u5b9a<\/a><br \/>\n<a href=\"https:\/\/www.dogrow.net\/elecronics\/blog23\/\" rel=\"noopener noreferrer\">(23) \u3010\u9023\u8f091-3\u3011\u30de\u30a4\u30b3\u30f3\u3067\u96fb\u5b50\u5de5\u4f5c\u5165\u9580\uff1aLED\u70b9\u6ec5<\/a><br \/>\n<a href=\"https:\/\/www.dogrow.net\/elecronics\/blog24\/\" rel=\"noopener noreferrer\">(24) \u3010\u9023\u8f091-4\u3011\u30de\u30a4\u30b3\u30f3\u3067\u96fb\u5b50\u5de5\u4f5c\u5165\u9580\uff1a\u6642\u5831\u3092\u4f5c\u308b<\/a><br \/>\n<a href=\"https:\/\/www.dogrow.net\/elecronics\/blog26\/\" rel=\"noopener noreferrer\">(26) \u3010\u9023\u8f091-5\u3011\u30de\u30a4\u30b3\u30f3\u3067\u96fb\u5b50\u5de5\u4f5c\u5165\u9580\uff1a\u30b5\u30fc\u30dc\u30e2\u30fc\u30bf\u30fc\u3092\u5efb\u3059<\/a><br \/>\n<a href=\"https:\/\/www.dogrow.net\/elecronics\/blog27\/\" rel=\"noopener noreferrer\">(27) \u3010\u9023\u8f091-6\u3011\u30de\u30a4\u30b3\u30f3\u3067\u96fb\u5b50\u5de5\u4f5c\u5165\u9580\uff1a\u5408\u6210\u97f3\u58f0\u3067\u6642\u5831<\/a><\/p>\n<hr class=\"my_hr_bottom\">\n","protected":false},"excerpt":{"rendered":"<p>1. \u3084\u3063\u3066\u307f\u305f\u3044\u3053\u3068 (24) \u30101-4\u3011\u30de\u30a4\u30b3\u30f3\u3067\u96fb\u5b50\u5de5\u4f5c\u5165\u9580\uff1a\u6642\u5831\u3092\u4f5c\u308b \u3067\u306f\u30e9\u30ba\u30d1\u30a4\u3068\u97f3\u6e90IC\u3092\u4f7f\u3063\u3066\u6642\u5831\u3092\u4f5c\u3063\u3066\u307f\u305f\u3002 \u58c1\u306b\u639b\u3051\u305f\u30e9\u30ba\u30d1\u30a4\u304b\u3089\u30d4\u30c3\u30bf\u30ea 1\u6642\u9593\u3054\u3068\u306b\u300c\u30d4\u30b3\u30d4\u30b3\u266a \u30d4\u30fc\u30d4\u266a\u300d\u3068\u97f3\u304c\u9cf4\u308a\u6c17\u306b\u5165\u3063\u3066\u3044\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.dogrow.net\/elecronics\/blog27\/\">\u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,17,19],"tags":[],"class_list":["post-1649","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi","category-17","category-micom"],"views":9961,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.dogrow.net\/elecronics\/wp-json\/wp\/v2\/posts\/1649","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dogrow.net\/elecronics\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dogrow.net\/elecronics\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dogrow.net\/elecronics\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dogrow.net\/elecronics\/wp-json\/wp\/v2\/comments?post=1649"}],"version-history":[{"count":127,"href":"https:\/\/www.dogrow.net\/elecronics\/wp-json\/wp\/v2\/posts\/1649\/revisions"}],"predecessor-version":[{"id":1922,"href":"https:\/\/www.dogrow.net\/elecronics\/wp-json\/wp\/v2\/posts\/1649\/revisions\/1922"}],"wp:attachment":[{"href":"https:\/\/www.dogrow.net\/elecronics\/wp-json\/wp\/v2\/media?parent=1649"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dogrow.net\/elecronics\/wp-json\/wp\/v2\/categories?post=1649"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dogrow.net\/elecronics\/wp-json\/wp\/v2\/tags?post=1649"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}