{"id":4195,"date":"2025-09-07T17:41:17","date_gmt":"2025-09-07T08:41:17","guid":{"rendered":"https:\/\/www.elehobby.fun\/?page_id=4195"},"modified":"2025-09-07T17:41:18","modified_gmt":"2025-09-07T08:41:18","slug":"3%e3%81%a4%e3%81%ae%e3%82%bb%e3%83%b3%e3%82%b5%e3%83%bc%e3%82%92%e6%90%ad%e8%bc%89%e3%81%97%e3%81%9f%e3%83%a9%e3%82%a4%e3%83%b3%e8%bf%bd%e8%b7%a1%e3%83%ad%e3%83%9c%e3%83%83%e3%83%88-ky-033","status":"publish","type":"page","link":"https:\/\/www.elehobby.fun\/?page_id=4195","title":{"rendered":"3\u3064\u306e\u30bb\u30f3\u30b5\u30fc\u3092\u642d\u8f09\u3057\u305f\u30e9\u30a4\u30f3\u8ffd\u8de1\u30ed\u30dc\u30c3\u30c8 KY-033"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjPwx7g9yh9c5zSRfvS_dR7P-mGNqQAvpP5DoINOC1jQWD7sBeMK5kG6kN1CfMUz18cpUntxZuOLFjyq5N150Xrzs7c1F3GfLUGO0GAFXBBvMTU7aCwAwnRinYsng6XIty-KpxARPkR8ZoA\/s1600\/14.jpg\"><img decoding=\"async\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjPwx7g9yh9c5zSRfvS_dR7P-mGNqQAvpP5DoINOC1jQWD7sBeMK5kG6kN1CfMUz18cpUntxZuOLFjyq5N150Xrzs7c1F3GfLUGO0GAFXBBvMTU7aCwAwnRinYsng6XIty-KpxARPkR8ZoA\/s640\/14.jpg\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<p><strong>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\uff1a3\u3064\u306e\u30bb\u30f3\u30b5\u30fc\u3092\u642d\u8f09\u3057\u305f\u30e9\u30a4\u30f3\u8ffd\u8de1\u30ed\u30dc\u30c3\u30c8 KY-033\u3002&nbsp;<\/strong>\u5fc5\u8981\u306a\u6a5f\u6750\uff1a&nbsp; &nbsp; &nbsp;1.&nbsp;&nbsp;<\/p>\n\n\n\n<p><a href=\"http:\/\/www.robotsiam.com\/product\/24\/2wd-smart-car-robot-chassis-kits\" target=\"_blank\" rel=\"noreferrer noopener\">2WD\u30b9\u30de\u30fc\u30c8\u30ab\u30fc\u30ed\u30dc\u30c3\u30c8\u30b7\u30e3\u30fc\u30b7\u30ad\u30c3\u30c8<\/a>&nbsp; &nbsp; &nbsp;2.&nbsp;&nbsp;<\/p>\n\n\n\n<p><a href=\"http:\/\/www.robotsiam.com\/product\/2\/arduino-uno-r3-made-in-italy\" target=\"_blank\" rel=\"noreferrer noopener\">Arduino UNO R3\uff08\u30a4\u30bf\u30ea\u30a2\u88fd\uff09<\/a>&nbsp; &nbsp; &nbsp;3.&nbsp;<\/p>\n\n\n\n<p><a href=\"http:\/\/www.robotsiam.com\/product\/3\/sensor-shield-v-5-0\" target=\"_blank\" rel=\"noreferrer noopener\">Arduino\u30bb\u30f3\u30b5\u30fc\u30b7\u30fc\u30eb\u30c9 V 5.0<\/a>&nbsp; &nbsp; &nbsp;4.&nbsp;<\/p>\n\n\n\n<p><a href=\"http:\/\/www.robotsiam.com\/product\/4\/motor-drive-module-l298n\" target=\"_blank\" rel=\"noreferrer noopener\">\u30e2\u30fc\u30bf\u30fc\u30c9\u30e9\u30a4\u30d6\u30e2\u30b8\u30e5\u30fc\u30eb L298N<\/a>&nbsp; &nbsp; &nbsp;5.&nbsp;<\/p>\n\n\n\n<p><a href=\"http:\/\/www.robotsiam.com\/product\/16\/jumper-f2m-cable-wire-40pcs-2-54mm-20cm-female-to-male\" target=\"_blank\" rel=\"noreferrer noopener\">\u30e1\u30b9-\u30aa\u30b9\u30b8\u30e3\u30f3\u30d1\u30fc\u30b1\u30fc\u30d6\u30eb\uff08\u9577\u305520cm\uff09<\/a>&nbsp; &nbsp; &nbsp;6.&nbsp;<\/p>\n\n\n\n<p><a href=\"http:\/\/www.robotsiam.com\/product\/18\/jumper-f2f-cable-wire-40pcs-2-54mm-20cm-female-to-female\" target=\"_blank\" rel=\"noreferrer noopener\">\u30e1\u30b9-\u30e1\u30b9\u30b8\u30e3\u30f3\u30d1\u30fc\u30b1\u30fc\u30d6\u30eb\uff08\u9577\u305520cm\uff09<\/a>&nbsp; &nbsp; &nbsp;7.&nbsp;&nbsp;<\/p>\n\n\n\n<p><a href=\"http:\/\/www.robotsiam.com\/product\/20\/%E0%B8%A3%E0%B8%B2%E0%B8%87%E0%B8%96%E0%B9%88%E0%B8%B2%E0%B8%99-18650-2-%E0%B8%81%E0%B9%89%E0%B8%AD%E0%B8%99\" target=\"_blank\" rel=\"noreferrer noopener\">18650\u30d0\u30c3\u30c6\u30ea\u30fc\u30ec\u30fc\u30eb\uff08\u30d0\u30c3\u30c6\u30ea\u30fc2\u500b\u3092\u53ce\u7d0d\u53ef\u80fd<\/a>&nbsp; &nbsp; &nbsp;\uff09 8.&nbsp;&nbsp;<\/p>\n\n\n\n<p><a href=\"http:\/\/www.robotsiam.com\/product\/22\/%E0%B9%81%E0%B8%9A%E0%B8%95%E0%B9%80%E0%B8%95%E0%B8%AD%E0%B8%A3%E0%B8%B5%E0%B9%88-18650-panasonic-ncr18650b-3-7v-3400mah\" target=\"_blank\" rel=\"noreferrer noopener\">18650\u30ea\u30c1\u30a6\u30e0\u30d0\u30c3\u30c6\u30ea\u30fc2\u500b<\/a>&nbsp; &nbsp;&nbsp; 9.&nbsp;&nbsp;<\/p>\n\n\n\n<p><a href=\"http:\/\/www.robotsiam.com\/product\/68\/%E0%B8%AA%E0%B8%81%E0%B8%A3%E0%B8%B9%E0%B8%AB%E0%B8%B1%E0%B8%A7%E0%B8%81%E0%B8%A5%E0%B8%A1%E0%B8%99%E0%B9%87%E0%B8%AD%E0%B8%95%E0%B8%95%E0%B8%B1%E0%B8%A7%E0%B9%80%E0%B8%A1%E0%B8%B5%E0%B8%A2-%E0%B8%82%E0%B8%99%E0%B8%B2%E0%B8%94-3%E0%B8%A1%E0%B8%A1-%E0%B8%A2%E0%B8%B2%E0%B8%A7-10%E0%B8%A1%E0%B8%A1-10%E0%B8%95%E0%B8%B1%E0%B8%A7\" target=\"_blank\" rel=\"noreferrer noopener\">3mm\u4e38\u982d\u30e1\u30b9\u30cd\u30b8\uff08\u9577\u305510mm\uff09<\/a><br>&nbsp; &nbsp; &nbsp;10.&nbsp;&nbsp;<\/p>\n\n\n\n<p><a href=\"http:\/\/www.robotsiam.com\/product\/73\/1-channel-ky-033-track-sensor\" target=\"_blank\" rel=\"noreferrer noopener\">1 \u30c1\u30e3\u30f3\u30cd\u30eb KY-033 \u30c8\u30e9\u30c3\u30af \u30bb\u30f3\u30b5\u30fc\u3001<\/a>&nbsp;&nbsp;3 \u500b&nbsp; &nbsp; &nbsp;11.&nbsp;<\/p>\n\n\n\n<p><a href=\"http:\/\/www.robotsiam.com\/product\/76\/%E0%B9%80%E0%B8%AA%E0%B8%B2%E0%B8%A3%E0%B8%AD%E0%B8%87%E0%B9%81%E0%B8%9C%E0%B9%88%E0%B8%99%E0%B8%9E%E0%B8%B5%E0%B8%8B%E0%B8%B5%E0%B8%9A%E0%B8%B5%E0%B9%81%E0%B8%9A%E0%B8%9A%E0%B9%82%E0%B8%A5%E0%B8%AB%E0%B8%B0-%E0%B8%A2%E0%B8%B2%E0%B8%A7-25-%E0%B8%A1%E0%B8%A1-%E0%B8%88%E0%B8%B3%E0%B8%99%E0%B8%A7%E0%B8%99-4-%E0%B8%8A%E0%B8%B4%E0%B9%89%E0%B8%99\" target=\"_blank\" rel=\"noreferrer noopener\">25 mm \u89d2\u578b\u91d1\u5c5e PCB \u30b5\u30dd\u30fc\u30c8 \u30dd\u30fc\u30eb\u3002<\/a>&nbsp; &nbsp; &nbsp;12.&nbsp;<\/p>\n\n\n\n<p><a href=\"http:\/\/www.robotsiam.com\/product\/44\/%E0%B8%AA%E0%B8%B2%E0%B8%A2%E0%B9%84%E0%B8%9F%E0%B9%81%E0%B8%94%E0%B8%87%E0%B8%94%E0%B8%B3-%E0%B8%82%E0%B8%99%E0%B8%B2%E0%B8%94-22awg-%E0%B8%A1%E0%B8%B2%E0%B8%95%E0%B8%A3%E0%B8%90%E0%B8%B2%E0%B8%99-%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1%E0%B8%A2%E0%B8%B2%E0%B8%A7-1-%E0%B9%80%E0%B8%A1%E0%B8%95%E0%B8%A3\" target=\"_blank\" rel=\"noreferrer noopener\">\u6a19\u6e96\u306e22AWG\u8d64\u3068\u9ed2\u306e\u30ef\u30a4\u30e4\u30fc\u3002<\/a>\u307e\u305a\u30012WD\u30b9\u30de\u30fc\u30c8\u30ab\u30fc\u30ed\u30dc\u30c3\u30c8\u30b7\u30e3\u30fc\u30b7\u30ad\u30c3\u30c8\u3092\u7d44\u307f\u7acb\u3066\u300118650\u30d0\u30c3\u30c6\u30ea\u30fc\u30ec\u30fc\u30eb\u3092\u7d44\u307f\u7acb\u3066\u3001\u56f3\u306b\u793a\u3059\u3088\u3046\u306b\u30e2\u30fc\u30bf\u30fc\u30c9\u30e9\u30a4\u30d6\u30e2\u30b8\u30e5\u30fc\u30ebL298N\u3092Arduino\u30bb\u30f3\u30b5\u30fc\u30b7\u30fc\u30eb\u30c9V 5.0\u56de\u8def\u306b\u63a5\u7d9a\u3057\u307e\u3059\u3002\u6ce8\u610f: L298N \u30dc\u30fc\u30c9\u306e ENA \u30d4\u30f3\u3068 ENB \u30d4\u30f3\u306b\u30b8\u30e3\u30f3\u30d1\u30fc\u304c\u3042\u308b\u5834\u5408\u306f\u3001\u305d\u308c\u3089\u3092\u53d6\u308a\u5916\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiSOACdRU6wVmjSy1MQH7oGUwfDhHtwpG9K5ORov7ynD-qA1PH3dTwEeQnjhJUclef7G9nR_FtRLvh_ENhhDoNnTmQSac0crdzBTh1Wt3GbvF66bpkoj2puLqn2KONnnRJDV9IPEZPbTX5u\/s1600\/1.jpg\"><img decoding=\"async\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiSOACdRU6wVmjSy1MQH7oGUwfDhHtwpG9K5ORov7ynD-qA1PH3dTwEeQnjhJUclef7G9nR_FtRLvh_ENhhDoNnTmQSac0crdzBTh1Wt3GbvF66bpkoj2puLqn2KONnnRJDV9IPEZPbTX5u\/s1600\/1.jpg\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiDTTuvPZPaN7b-CqoRvcAGt7MxnFOltudILL6Buf6g92Zdpl4eoZ1kloisTf4XKJJRHBkIq7R9p03Iv9u-1xTUtrYOmbFYwXERhWIIYBaUpCKiQyB-QIZuiRMMDLmbgJGbD8F0WsVZGI8W\/s1600\/10.jpg\"><img decoding=\"async\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiDTTuvPZPaN7b-CqoRvcAGt7MxnFOltudILL6Buf6g92Zdpl4eoZ1kloisTf4XKJJRHBkIq7R9p03Iv9u-1xTUtrYOmbFYwXERhWIIYBaUpCKiQyB-QIZuiRMMDLmbgJGbD8F0WsVZGI8W\/s1600\/10.jpg\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<p>Arduino Sensor Shield V5.0\u30dc\u30fc\u30c9\u3092L298N\u30dc\u30fc\u30c9\u306b\u63a5\u7d9a\u3059\u308b&nbsp;&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhnIGZND83EhxvotDzXE91QH6oOxbGZkyr8oBJDdtFXVraCB1z4LqFCPo7v5v0s9PCOPMe2sTHZsI5CkqG6aOtUXDd6FpK8arL95l8CPPUKcvc7zFJhCAiGttZcme6-LOlrXbJ-fSUyr_rl\/s1600\/11.jpg\"><img decoding=\"async\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhnIGZND83EhxvotDzXE91QH6oOxbGZkyr8oBJDdtFXVraCB1z4LqFCPo7v5v0s9PCOPMe2sTHZsI5CkqG6aOtUXDd6FpK8arL95l8CPPUKcvc7zFJhCAiGttZcme6-LOlrXbJ-fSUyr_rl\/s1600\/11.jpg\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>*** Arduino \u30bb\u30f3\u30b5\u30fc\u30b7\u30fc\u30eb\u30c9 V5.0 \u306e VCC \u306f V ***<\/strong><\/h3>\n\n\n\n<p>2WD \u30b9\u30de\u30fc\u30c8\u30ab\u30fc \u30ed\u30dc\u30c3\u30c8 \u30b7\u30e3\u30fc\u30b7 \u30ad\u30c3\u30c8\u3092\u7d44\u307f\u7acb\u3066\u300118650 \u30d0\u30c3\u30c6\u30ea\u30fc \u30db\u30eb\u30c0\u30fc\u3092\u7d44\u307f\u7acb\u3066\u3001\u30e2\u30fc\u30bf\u30fc \u30c9\u30e9\u30a4\u30d6 \u30e2\u30b8\u30e5\u30fc\u30eb L298N \u306e 5V \u3068 GND \u3092 Arduino \u30bb\u30f3\u30b5\u30fc \u30b7\u30fc\u30eb\u30c9\u306e V \u3068 G \u306b\u63a5\u7d9a\u3057\u307e\u3059\u3002&nbsp;<\/p>\n\n\n\n<p><a href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjoMbvg6QXBd8uwsYgRa2D_8zve3bSq1MeZUs5pRVG3bmyCpWWBr-KAIbX66WmNmRLVQyUn-kOELTdl4T4ZWEYPnC-bBDKLh2h_g-OQ55Ko7aN8WN46lOTUhvEpQ1pr7pFUZbPx1JOEuiGr\/s1600\/1.jpg\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgX5TsODHWWI-Gt1BNica9k2YusYCTBoSxwTMxzpUkGit7Nz9DfjpCM1B9APEWEts9YiIkfk4h1FXbVQLcil8Z7bNrxQIbMMbgzXV6H6ds2377BM_Q5xlfnczY4YSm5kzf6PSoLVKwdDCvQ\/s1600\/2.jpg\"><img decoding=\"async\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgX5TsODHWWI-Gt1BNica9k2YusYCTBoSxwTMxzpUkGit7Nz9DfjpCM1B9APEWEts9YiIkfk4h1FXbVQLcil8Z7bNrxQIbMMbgzXV6H6ds2377BM_Q5xlfnczY4YSm5kzf6PSoLVKwdDCvQ\/s640\/2.jpg\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<p>\u30e2\u30fc\u30bf\u30fc\u30c9\u30e9\u30a4\u30d6\u30e2\u30b8\u30e5\u30fc\u30ebL298N\u306e\u30e2\u30fc\u30bf\u30fc\u5236\u5fa1\u3092Arduino\u30bb\u30f3\u30b5\u30fc\u30b7\u30fc\u30eb\u30c9\u306b\u63a5\u7d9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgA3xw6vPFvZapeNkYqewOBQLQNRtomdGBzoqBVJlsgSyC7LSTW0Keq8Pl-d1ZXAmDgUV-Vud2t0GhNtzwWdTkLn6IsSR3HjJs0R60QhHU6H1wDMkNb_CcZ_njyEoDMpLXd1f36P7zp3BdF\/s1600\/4.jpg\"><img decoding=\"async\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgA3xw6vPFvZapeNkYqewOBQLQNRtomdGBzoqBVJlsgSyC7LSTW0Keq8Pl-d1ZXAmDgUV-Vud2t0GhNtzwWdTkLn6IsSR3HjJs0R60QhHU6H1wDMkNb_CcZ_njyEoDMpLXd1f36P7zp3BdF\/s640\/4.jpg\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEj9GBtlH7Y3kLDSvyC08h77IOA-Sx95CJ6SMZ35Xz83wiXSkFvCW8gBsAWSSB11SzkwHc4PK9qk6DHpsm_TepZGyNxywZL_QJTKv4YsBhe96DwG5HTc1593yXpCPO9NwDlIhwSU-54x5FtE\/s1600\/5.jpg\"><img decoding=\"async\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEj9GBtlH7Y3kLDSvyC08h77IOA-Sx95CJ6SMZ35Xz83wiXSkFvCW8gBsAWSSB11SzkwHc4PK9qk6DHpsm_TepZGyNxywZL_QJTKv4YsBhe96DwG5HTc1593yXpCPO9NwDlIhwSU-54x5FtE\/s640\/5.jpg\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiX9AXKGRnGpES2K-pY5a-9YJMvQsVtObI5_od3ytO1V1_YAAfnKp5duBVF2tuQWwh0qLs0QIygDHDqgsKlZG0qOItlsq-3Hfwuw-rV7t7m9moHaTug5ag6cMyHAO0VyFtjsaLsLxwsM77t\/s1600\/17.jpg\"><img decoding=\"async\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEiX9AXKGRnGpES2K-pY5a-9YJMvQsVtObI5_od3ytO1V1_YAAfnKp5duBVF2tuQWwh0qLs0QIygDHDqgsKlZG0qOItlsq-3Hfwuw-rV7t7m9moHaTug5ag6cMyHAO0VyFtjsaLsLxwsM77t\/s640\/17.jpg\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<p><strong>\u305d\u306e\u5f8c\u3001\u4e88\u5099\u30c6\u30b9\u30c8\u3092\u884c\u3044\u307e\u3059\u3002\u30db\u30a4\u30fc\u30eb\u306e\u56de\u8ee2\u304c\u6b63\u3057\u3044\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002Arduino<\/strong>\u30d7\u30ed\u30b0\u30e9\u30e0 (IDE)&nbsp;\u3092\u958b\u304d\u3001\u3053\u306e\u30b3\u30fc\u30c9\u3092 Arduino UNO R3 \u30dc\u30fc\u30c9\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002&nbsp;\/\/ \u30e2\u30fc\u30bf\u30fc A \u306e\u30d4\u30f3 (enableA = \u30e2\u30fc\u30bf\u30fc\u6709\u52b9\u3001pinA1 = \u524d\u9032\u3001pinA2 = \u5f8c\u9032)&nbsp;int enableA = 3;&nbsp;int pinA1 = 6;&nbsp;int pinA2 = 7;&nbsp;\/\/ \u30e2\u30fc\u30bf\u30fc B \u306e\u30d4\u30f3 (enabledB = \u30e2\u30fc\u30bf\u30fc\u6709\u52b9\u3001pinB2 = \u524d\u9032\u3001pinB2 = \u5f8c\u9032)&nbsp;int enableB = 5;&nbsp;int pinB1 = 8;&nbsp;int pinB2 = 9;&nbsp;\/\/ \u3053\u308c\u306b\u3088\u308a\u3001\u30c6\u30b9\u30c8\u306e\u305f\u3081\u306b\u30eb\u30fc\u30d7\u3092 1 \u56de\u5b9f\u884c\u3067\u304d\u307e\u3059boolean run = true;&nbsp;void setup() {&nbsp;&nbsp;pinMode(enableA, OUTPUT);&nbsp;&nbsp;pinMode(pinA1, OUTPUT);&nbsp;&nbsp;pinMode(pinA2, OUTPUT);&nbsp;&nbsp;pinMode(enableB, OUTPUT);&nbsp;&nbsp;pinMode(pinB1, OUTPUT);&nbsp;&nbsp;pinMode(pinB2, OUTPUT);&nbsp;}&nbsp;void loop() {&nbsp;&nbsp; if (run) {&nbsp;&nbsp; &nbsp; delay(2000);&nbsp;&nbsp; &nbsp; enableMotors();&nbsp;&nbsp; &nbsp; \/\/\u524d\u9032&nbsp; &nbsp; forward(200);&nbsp;&nbsp; &nbsp; \/\/\u5f8c\u9032&nbsp; &nbsp; backward(200);&nbsp;&nbsp; &nbsp; \/\/\u5de6\u6298&nbsp; &nbsp; turnLeft(400);&nbsp;&nbsp; &nbsp; coast(200);&nbsp;&nbsp; &nbsp; \/\/\u53f3\u6298&nbsp; &nbsp; turnRight(400);&nbsp;&nbsp; &nbsp; coast(200);&nbsp;&nbsp; &nbsp; \/\/\u30eb\u30fc\u30d7\u3092\u505c\u6b62&nbsp; &nbsp; run = false;&nbsp;&nbsp;&nbsp; }&nbsp;}&nbsp;\/\/\u9ad8\u30ec\u30d9\u30eb\u306eH\u30d6\u30ea\u30c3\u30b8\u30b3\u30de\u30f3\u30c9\u3092\u5b9a\u7fa9\u3057\u307e\u3059void enableMotors()&nbsp;{&nbsp;&nbsp;motorAOn();&nbsp;&nbsp;motorBOn();&nbsp;}&nbsp;void disableMotors()&nbsp;{&nbsp;&nbsp;motorAOff();&nbsp;&nbsp;motorBOff();&nbsp;}&nbsp;void forward(int time)&nbsp;{&nbsp;&nbsp;motorAForward();&nbsp;&nbsp;motorBForward();&nbsp;&nbsp;delay(time);&nbsp;}&nbsp;void backward(int time)&nbsp;{&nbsp;&nbsp;motorABackward();&nbsp;&nbsp;motorBBackward();&nbsp;&nbsp;delay(time);&nbsp;}&nbsp;void turnLeft(int time)&nbsp;{&nbsp;&nbsp;motorABackward();&nbsp;&nbsp;motorBForward();&nbsp;&nbsp;delay(time);&nbsp;}&nbsp;void turnRight(int time)&nbsp;{&nbsp;&nbsp;motorAForward();&nbsp;&nbsp;motorBBackward();&nbsp;&nbsp;delay(time);&nbsp;}&nbsp;void coast(int time)&nbsp;{&nbsp;&nbsp;motorACoast();&nbsp;&nbsp;motorBCoast();&nbsp;&nbsp;delay(time);&nbsp;}&nbsp;void break(int time)&nbsp;{&nbsp;&nbsp;motorABrake();&nbsp;&nbsp;motorBBrake();&nbsp;&nbsp;delay(time);&nbsp;}&nbsp;\/\/\u4f4e\u30ec\u30d9\u30ebH\u30d6\u30ea\u30c3\u30b8\u30b3\u30de\u30f3\u30c9\u3092\u5b9a\u7fa9\u3059\u308b\/\/\u30e2\u30fc\u30bf\u30fc\u3092\u6709\u52b9\u306b\u3059\u308bvoid motorAOn()&nbsp;{&nbsp;&nbsp;digitalWrite(enableA, HIGH);&nbsp;}&nbsp;void motorBOn()&nbsp;{&nbsp;&nbsp;digitalWrite(enableB, HIGH);&nbsp;}&nbsp;&nbsp;\/\/\u30e2\u30fc\u30bf\u30fc\u3092\u7121\u52b9\u306b\u3059\u308bvoid motorAOff()&nbsp;{&nbsp;&nbsp;digitalWrite(enableB, LOW);&nbsp;}&nbsp;void motorBOff()&nbsp;{<\/p>\n<div class=\"veu_socialSet veu_socialSet-position-after veu_contentAddSection\"><script>window.twttr=(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],t=window.twttr||{};if(d.getElementById(id))return t;js=d.createElement(s);js.id=id;js.src=\"https:\/\/platform.twitter.com\/widgets.js\";fjs.parentNode.insertBefore(js,fjs);t._e=[];t.ready=function(f){t._e.push(f);};return t;}(document,\"script\",\"twitter-wjs\"));<\/script><ul><li class=\"sb_facebook sb_icon\"><a class=\"sb_icon_inner\" href=\"\/\/www.facebook.com\/sharer.php?src=bm&u=https%3A%2F%2Fwww.elehobby.fun%2F%3Fpage_id%3D4195&amp;t=%E5%AE%9F%E8%B7%B5%E3%81%A7%E3%81%8D%E3%81%9F%E9%9B%BB%E5%AD%90%E5%B7%A5%E4%BD%9C%E3%81%A8%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9F%E3%83%B3%E3%82%B0%E9%96%8B%E7%99%BA\" target=\"_blank\" onclick=\"window.open(this.href,'FBwindow','width=650,height=450,menubar=no,toolbar=no,scrollbars=yes');return false;\"><span class=\"vk_icon_w_r_sns_fb icon_sns\"><\/span><span class=\"sns_txt\">Facebook<\/span><span class=\"veu_count_sns_fb\"><\/span><\/a><\/li><li class=\"sb_twitter sb_icon\"><a class=\"sb_icon_inner\" href=\"\/\/twitter.com\/intent\/tweet?url=https%3A%2F%2Fwww.elehobby.fun%2F%3Fpage_id%3D4195&amp;text=%E5%AE%9F%E8%B7%B5%E3%81%A7%E3%81%8D%E3%81%9F%E9%9B%BB%E5%AD%90%E5%B7%A5%E4%BD%9C%E3%81%A8%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9F%E3%83%B3%E3%82%B0%E9%96%8B%E7%99%BA\" target=\"_blank\" ><span class=\"vk_icon_w_r_sns_twitter icon_sns\"><\/span><span class=\"sns_txt\">twitter<\/span><\/a><\/li><li class=\"sb_hatena sb_icon\"><a class=\"sb_icon_inner\" href=\"\/\/b.hatena.ne.jp\/add?mode=confirm&url=https%3A%2F%2Fwww.elehobby.fun%2F%3Fpage_id%3D4195&amp;title=%E5%AE%9F%E8%B7%B5%E3%81%A7%E3%81%8D%E3%81%9F%E9%9B%BB%E5%AD%90%E5%B7%A5%E4%BD%9C%E3%81%A8%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9F%E3%83%B3%E3%82%B0%E9%96%8B%E7%99%BA\" target=\"_blank\"  onclick=\"window.open(this.href,'Hatenawindow','width=650,height=450,menubar=no,toolbar=no,scrollbars=yes');return false;\"><span class=\"vk_icon_w_r_sns_hatena icon_sns\"><\/span><span class=\"sns_txt\">Hatena<\/span><span class=\"veu_count_sns_hb\"><\/span><\/a><\/li><li class=\"sb_pocket sb_icon\"><a class=\"sb_icon_inner\"  href=\"\/\/getpocket.com\/edit?url=https%3A%2F%2Fwww.elehobby.fun%2F%3Fpage_id%3D4195&title=%E5%AE%9F%E8%B7%B5%E3%81%A7%E3%81%8D%E3%81%9F%E9%9B%BB%E5%AD%90%E5%B7%A5%E4%BD%9C%E3%81%A8%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9F%E3%83%B3%E3%82%B0%E9%96%8B%E7%99%BA\" target=\"_blank\"  onclick=\"window.open(this.href,'Pokcetwindow','width=650,height=450,menubar=no,toolbar=no,scrollbars=yes');return false;\"><span class=\"vk_icon_w_r_sns_pocket icon_sns\"><\/span><span class=\"sns_txt\">Pocket<\/span><span class=\"veu_count_sns_pocket\"><\/span><\/a><\/li><li class=\"sb_copy sb_icon\"><button class=\"copy-button sb_icon_inner\"data-clipboard-text=\"\u5b9f\u8df5\u3067\u304d\u305f\u96fb\u5b50\u5de5\u4f5c\u3068\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u958b\u767a https:\/\/www.elehobby.fun\/?page_id=4195\"><span class=\"vk_icon_w_r_sns_copy icon_sns\"><i class=\"fas fa-copy\"><\/i><\/span><span class=\"sns_txt\">Copy<\/span><\/button><\/li><\/ul><\/div><!-- [ \/.socialSet ] -->","protected":false},"excerpt":{"rendered":"<p>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\uff1a3\u3064\u306e\u30bb\u30f3\u30b5\u30fc\u3092\u642d\u8f09\u3057\u305f\u30e9\u30a4\u30f3\u8ffd\u8de1\u30ed\u30dc\u30c3\u30c8 KY-033\u3002&nbsp;\u5fc5\u8981\u306a\u6a5f\u6750\uff1a&nbsp; &nbsp; &nbsp;1.&nbsp;&nbsp; 2WD\u30b9\u30de\u30fc\u30c8\u30ab\u30fc\u30ed\u30dc\u30c3\u30c8\u30b7\u30e3\u30fc\u30b7\u30ad\u30c3\u30c8&nbsp;  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"vkexunit_cta_each_option":"","footnotes":""},"class_list":["post-4195","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.elehobby.fun\/index.php?rest_route=\/wp\/v2\/pages\/4195","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.elehobby.fun\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.elehobby.fun\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.elehobby.fun\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.elehobby.fun\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4195"}],"version-history":[{"count":1,"href":"https:\/\/www.elehobby.fun\/index.php?rest_route=\/wp\/v2\/pages\/4195\/revisions"}],"predecessor-version":[{"id":4196,"href":"https:\/\/www.elehobby.fun\/index.php?rest_route=\/wp\/v2\/pages\/4195\/revisions\/4196"}],"wp:attachment":[{"href":"https:\/\/www.elehobby.fun\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}