{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Arduino インポート連携","description":"Treasure Data Product Documentation · Collect and Unify · Segment and Activate · Experiment and Analyze · Decisioning Automate with AI Scale and Trust.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"arduino-インポート連携","__idx":0},"children":["Arduino インポート連携"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://www.arduino.cc/"},"children":["Arduino"]},"は、物理世界とデジタル世界のオブジェクトを感知および制御できるデジタルデバイスとインタラクティブオブジェクトの構築に使用される人気のオープンソースプラットフォームです。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Arduinoで多くのデバイス情報を収集できます。収集したデータをTreasure Dataサービスに配信すると、Pelion IoTプラットフォームの一部としてデータ管理が実行されます。ArduinoとTreasure Dataを使用したIoT実装に最適なアーキテクチャを決定する必要があります。以下の図は、一般的なアーキテクチャの例を示しています。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191021-201234.ad7ebe834c8489b15e9ff48412b2bb73e4beade35f7c7b8e1f20960a4f6bec09.6953d675.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Wi-Fi接続を使用して、HTTPSでArduinoデバイスから直接Treasure Dataに接続できます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["プロジェクトページはこちらです: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://create.arduino.cc/editor/JunkoNakajima/0482174c-3beb-4561-a2cc-df79eeba25fd/preview"},"children":["https://create.arduino.cc/editor/JunkoNakajima/0482174c-3beb-4561-a2cc-df79eeba25fd/preview"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このプログラムは",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://store.arduino.cc/usa/arduino-mkr-wifi-1010"},"children":["ARDUINO MKR WIFI 1010"]},"でテストされています。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"前提条件","__idx":1},"children":["前提条件"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Treasure アカウント (IoTプラットフォームに興味がある場合は",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://www.treasuredata.com/custom-demo/"},"children":["お問い合わせください"]},")"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Arduinoアカウント - (アカウントをお持ちでない場合は",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://create.arduino.cc/"},"children":["サインアップ"]},")"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Arduinoデバイス (例: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://store.arduino.cc/usa/arduino-mkr-wifi-1010"},"children":["ARDUINO MKR WIFI 1010"]},")"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["監視したいセンサー (例: 温度センサー)"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2020-11-20_14-11-11.a43f837e276bfa137e79e6df247f05594bebb22dfa18add5a1f57083c995338e.6953d675.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"arduino-onlineでプロジェクトを構築する","__idx":2},"children":["Arduino Onlineでプロジェクトを構築する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Arduino Onlineでインポートするプロジェクトを構築します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"インポート","__idx":3},"children":["インポート"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["サンプルプロジェクトをワークスペースにインポートします。以下の画像に示すように、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://create.arduino.cc/editor/JunkoNakajima/0482174c-3beb-4561-a2cc-df79eeba25fd/preview"},"children":["Create in Arduino"]},"ページにアクセスし、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Add To My Sketchbook"]},"を選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191021-201303.802e3da64581bfbd4e17914bb4590177ba3fa85cf584158ff59e5b0da99b7b07.6953d675.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["プログラムがオンラインエディターにインポートされます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"パラメータの設定","__idx":4},"children":["パラメータの設定"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["3つのパラメータ(SECRET_SSID、SECRET_PASS、SECRET_TD_API_KEY)を設定する必要があります。インポートしたプロジェクトのSECRETタブからパラメータを設定します。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SECRET_SSID: Wi-FiのSSID"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SECRET_PASS: Wi-Fiのパスワード"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SECRET_TD_API_KEY: Treasure DataのAPIキー (",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.treasuredata.com/smart/project-product-documentation/getting-your-api-keys"},"children":["こちら"]},"を参照)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191021-201336.2c586ab23821f7b979df5866235d888c98d26a1cb3622c4d432ff071ac332cf7.6953d675.png","alt":""},"children":[]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["次に、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["MKRWIFI1010_to_TD"]},"スケッチで、Database、Tableを\"iot_test/arduino\"から\"<your_database>/<your_table>\"に編集します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191001-191039.fbb810249e8a21a8032fbb3725c441a31bb221f0ab9938ac637bbbc444ef568e.6953d675.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["MKRWIFI1010_to_TD"]},"スケッチのDevice Set upセクションで、異なるセンサーを使用する場合は",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["tempPin"]},"と",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["get_temprature"]},"関数を変更します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191021-201354.dd668adb21107a9a28ce74a2e8e940576fbd6717db3a5be70739c58400d5fed1.6953d675.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"アプリケーションの起動","__idx":5},"children":["アプリケーションの起動"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["監視するデバイスがPC に(WiFi経由で)接続されていることを確認します。検証を行う前にデバイスを接続する必要があります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["最後に、アプリケーションを検証し、検証済みのアプリケーションをArduinoにアップロードします。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure DataでArduinoから配信されたレコードを確認できます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191021-201405.3877a7f82bcb81f8a97bf727599fb2d81df8ea7d3bb9ed2559c47b0dd5337ee9.6953d675.png","alt":""},"children":[]}]}]},"headings":[{"value":"Arduino インポート連携","id":"arduino-インポート連携","depth":1},{"value":"前提条件","id":"前提条件","depth":1},{"value":"Arduino Onlineでプロジェクトを構築する","id":"arduino-onlineでプロジェクトを構築する","depth":1},{"value":"インポート","id":"インポート","depth":1},{"value":"パラメータの設定","id":"パラメータの設定","depth":1},{"value":"アプリケーションの起動","id":"アプリケーションの起動","depth":1}],"frontmatter":{"seo":{"title":"Arduino インポート連携"}},"lastModified":"2026-06-01T09:34:27.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/int/arduino-import-integration","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}