{"id":803,"date":"2019-12-22T19:46:16","date_gmt":"2019-12-22T10:46:16","guid":{"rendered":"https:\/\/dalomo.net\/blog\/?p=803"},"modified":"2019-12-22T19:46:16","modified_gmt":"2019-12-22T10:46:16","slug":"%e3%83%a2%e3%83%bc%e3%82%bf%e3%83%bc%e3%83%89%e3%83%a9%e3%82%a4%e3%83%90%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%8b-arduinota7291p-drv8835-tb6612fng","status":"publish","type":"post","link":"https:\/\/dalomo.net\/blog\/2019\/12\/22\/803\/","title":{"rendered":"\u30e2\u30fc\u30bf\u30fc\u30c9\u30e9\u30a4\u30d0\u3092\u4f7f\u3063\u3066\u307f\u308b Arduino+(TA7291P, DRV8835, TB6612FNG)"},"content":{"rendered":"<h1>\u30e2\u30fc\u30bf\u30fc\u30c9\u30e9\u30a4\u30d0<\/h1>\n<p>\u30e2\u30fc\u30bf\u30fc\u3092\u4f7f\u3063\u3066\u307f\u305f\u3044\u306e\u3067\u3001\u30e2\u30fc\u30bf\u30fc\u30c9\u30e9\u30a4\u30d0\u3092\u8cb7\u3063\u305f\u30023\u7a2e\u985e\u8cb7\u3063\u3066\u3069\u308c\u304c\u4e00\u756a\u3044\u3044\u3093\u3060\u308d\u30fc\u306a\u30fc\u3068\u8003\u3048\u3066\u3001\u3068\u308a\u3042\u3048\u305a\u5168\u90e8\u8a66\u3057\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n<p><a href=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/12\/md.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-807\" src=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/12\/md-300x225.png\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/12\/md-300x225.png 300w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/12\/md-768x576.png 768w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/12\/md.png 1000w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u5927\u304d\u3055\u306f\u3053\u3093\u306a\u611f\u3058\u3002TA7291P\u306f\u30e2\u30fc\u30bf\u30fc\uff11\u500b\u3060\u3051\u3067\u3001\u4ed6\u306f2\u500b\u6271\u3048\u308b\u3002<\/p>\n<h2>\u30b9\u30b1\u30c3\u30c1<\/h2>\n<pre><code class=\"cpp\">int PIN_IN1 = 9;\r\nint PIN_IN2 = 10;\r\n\r\nvoid setup() {\r\n  \/\/ put your setup code here, to run once:\r\n  pinMode(PIN_IN1, OUTPUT);\r\n  pinMode(PIN_IN2, OUTPUT);\r\n}\r\n\r\nvoid loop() {\r\n  \/\/ put your main code here, to run repeatedly:\r\n  digitalWrite(PIN_IN1, HIGH);\r\n  digitalWrite(PIN_IN2, LOW);\r\n  delay(5000);\r\n  digitalWrite(PIN_IN1, HIGH);\r\n  digitalWrite(PIN_IN2, HIGH);\r\n  delay(5000);\r\n  digitalWrite(PIN_IN1, LOW);\r\n  digitalWrite(PIN_IN2, HIGH);\r\n  delay(5000);\r\n  digitalWrite(PIN_IN1, LOW);\r\n  digitalWrite(PIN_IN2, LOW);\r\n  delay(5000);\r\n}<\/code><\/pre>\n<p>delay\u306f5\u79d2\u306b\u3057\u305f\u308a3\u79d2\u306b\u3057\u305f\u308a\u3057\u3066\u308b\u3002<\/p>\n<h2>TA7291P<\/h2>\n<p><a href=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/12\/ta.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-805\" src=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/12\/ta-300x225.png\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/12\/ta-300x225.png 300w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/12\/ta-768x576.png 768w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/12\/ta.png 1000w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/VnAcflA8HIE\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>\u52d5\u304f\u3002\u306a\u3093\u304b\u5f31\u3044\u3002<\/p>\n<h2>DRV8835<\/h2>\n<p><a href=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/12\/drv.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-804\" src=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/12\/drv-300x225.png\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/12\/drv-300x225.png 300w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/12\/drv-768x576.png 768w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/12\/drv.png 1000w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/rhWbkOqEcu4\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>\u52d5\u304f\u3002\u5f37\u3081\u3002<\/p>\n<h2>TB6612FNG<\/h2>\n<p><a href=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/12\/tb.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-806\" src=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/12\/tb-300x225.png\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/12\/tb-300x225.png 300w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/12\/tb-768x576.png 768w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/12\/tb.png 1000w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/84S0HjTUjpU\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>\u52d5\u304f\u3002\u3044\u3047\u3044\u3002\u3053\u308c\u3060\u3051\u3001\u8ad6\u7406\u5165\u529b\u306e\u4ed6\u306b\u3001\u30b9\u30bf\u30f3\u30d0\u30a4\u3068PWM\u306e\u30e9\u30a4\u30f3\u306b\u3082\u5165\u529b\u3057\u306a\u3044\u3068\u52d5\u304b\u306a\u3044\u3002\u306e\u3067\u7dda\u304c2\u672c\u591a\u3044\u3002\u3067\u3082\u307e\u3041\u4f7f\u3048\u308b\u3002<\/p>\n<h2>\u611f\u60f3<\/h2>\n<p>\u30e2\u30fc\u30bf\u30fc\u30c9\u30e9\u30a4\u30d0\u306e\u9078\u5b9a\u306b\u3042\u305f\u3063\u3066\u3001\u81ea\u5206\u306b\u3068\u3063\u3066\u306f\u3068\u308a\u3042\u3048\u305aGPIO\u306e\u96fb\u5727\u3067\u30c9\u30e9\u30a4\u30d0\u306e\u96fb\u6e90\u304c\u5165\u308b\u3063\u3066\u306e\u304c\u5927\u4e8b\u3060\u3063\u305f\u306e\u3067\u3001\u3053\u306e3\u3064\u306f\u3069\u308c\u3082\u305d\u308c\u3092\u6e80\u305f\u3057\u3066\u308b\u3002\u3069\u308c\u4f7f\u3063\u3066\u3082\u3044\u3044\u3093\u3060\u3051\u3069\u3001\u3084\u3063\u3071DRV8835\u304c\u3044\u3044\u611f\u3058\u306b\u601d\u3048\u308b\u306a\u3041\u3002<\/p>\n<p>\u95a2\u4fc2\u306a\u3044\u3051\u3069Bluetooth\u306b\u96e3\u5100\u3057\u3066\u308b\u3002\u30b9\u30de\u30db\u4f7f\u3063\u3066\u30e9\u30b8\u30b3\u30f3\u4f5c\u308a\u305f\u3044\u306e\u3067\u3001\u592a\u967d\u8a98\u96fb\u306eBluetooth\u30e2\u30b8\u30e5\u30fc\u30eb\u8cb7\u3063\u3066\u307f\u305f\u3051\u3069\u3001\u30b9\u30de\u30db\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089\u52d5\u304b\u305b\u306a\u3044\u3002\u3002\u3002\u3053\u3093\u3069\u306fHC-06\u3092\u8cb7\u3063\u3066\u8a66\u3057\u3066\u307f\u3088\u3046\u3068\u601d\u3063\u3066\u308b\u3002\u3053\u3053\u3055\u3048\u4f55\u3068\u304b\u306a\u308c\u3070\u4f5c\u6210\u306e\u76ee\u9014\u304c\u7acb\u3064\u3093\u3060\u3051\u3069\u306a\u3041\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30e2\u30fc\u30bf\u30fc\u30c9\u30e9\u30a4\u30d0 \u30e2\u30fc\u30bf\u30fc\u3092\u4f7f\u3063\u3066\u307f\u305f\u3044\u306e\u3067\u3001\u30e2\u30fc\u30bf\u30fc\u30c9\u30e9\u30a4\u30d0\u3092\u8cb7\u3063\u305f\u30023\u7a2e\u985e\u8cb7\u3063\u3066\u3069\u308c\u304c\u4e00\u756a\u3044\u3044\u3093\u3060\u308d\u30fc\u306a\u30fc\u3068\u8003\u3048\u3066\u3001\u3068\u308a\u3042\u3048\u305a\u5168\u90e8\u8a66\u3057\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u305f\u3002 \u5927\u304d\u3055\u306f\u3053\u3093\u306a\u611f\u3058\u3002TA7291P\u306f\u30e2\u30fc\u30bf\u30fc\uff11\u500b\u3060\u3051\u3067\u3001\u4ed6\u306f2 &hellip; <a href=\"https:\/\/dalomo.net\/blog\/2019\/12\/22\/803\/\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":807,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[8],"tags":[69,78,66,63,67,74],"class_list":["post-803","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-8","tag-arduino","tag-bluetooth","tag-drv8835","tag-ta7291p","tag-tb6612fng","tag-74"],"_links":{"self":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts\/803","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/comments?post=803"}],"version-history":[{"count":1,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts\/803\/revisions"}],"predecessor-version":[{"id":808,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts\/803\/revisions\/808"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/media\/807"}],"wp:attachment":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/media?parent=803"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/categories?post=803"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/tags?post=803"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}