GR-SAKURA
GR-KURUMI
GR-COTTON
GR-CITRUS
GR-PEACH
GR-KAEDE
GR-ADZUKI
GR-LYCHEE
GR-ROSE
GR-MANGO(*)
SNShield
Web Compiler
IDE for GR
TOPPERS関連
女子美コラボ
その他
※プロデューサミーティング中
作り方使い方資料
イベント関連
作品記事
体験記事
ライブラリ
ツール
その他・過去ファイル
がじぇるね岡宮です。
IoT ALGYAN様主催にて、GR-ROSE IoTシステム開発コンテストが開催されます。初回の meet up会 に向けた資料などをここに置きます。
資料
●使い方説明資料
GR-ROSE_HowTo.pdf
Azure IoT Central用
●デバイステンプレート
デフォルトサンプル用のテンプレート (JSON) です。テレメトリとして温湿度を取得、コマンドとしてLED、サーボを制御するようになっています。Azure IoT Centralでデバイスを新規に追加する際、インポートしてください。 gr-rose-sample-template.json [ { "@id": "dtmi:okamyapp:grRoseSampleTemplate1cs;1", "@type": "Interface", "contents": [ { "@id": "dtmi:okamyapp:grRoseSampleTemplate1cs:Temperature;1", "@type": [ "Telemetry", "Temperature" ], "displayName": { "en": "Temperature" }, "name": "Temperature", "schema": "double" }, { "@id": "dtmi:okamyapp:grRoseSampleTemplate1cs:Humidity;1", "@type": [ "Telemetry", "Humidity" ], "displayName": { "en": "Humidity" }, "name": "Humidity", "schema": "double" }, { "@id": "dtmi:okamyapp:grRoseSampleTemplate1cs:Angle;1", "@type": "Command", "commandType": "synchronous", "displayName": { "en": "Angle" }, "name": "Angle", "request": { "@type": "CommandPayload", "displayName": { "en": "Angle" }, "name": "Angle", "schema": "vector" }, "durable": false }, { "@id": "dtmi:okamyapp:grRoseSampleTemplate1cs:LED1;1", "@type": "Command", "commandType": "synchronous", "displayName": { "en": "LED1" }, "name": "LED1", "request": { "@type": "CommandPayload", "displayName": { "en": "LED1" }, "name": "LED1", "schema": "integer" }, "durable": false }, { "@id": "dtmi:okamyapp:grRoseSampleTemplate1cs:LED2;1", "@type": "Command", "commandType": "synchronous", "displayName": { "en": "LED2" }, "name": "LED2", "request": { "@type": "CommandPayload", "displayName": { "en": "LED2" }, "name": "LED2", "schema": "integer" }, "durable": false } ], "displayName": { "en": "gr-rose-sample-template" }, "@context": [ "dtmi:iotcentral:context;2", "dtmi:dtdl:context;2" ] } ]
[ { "@id": "dtmi:okamyapp:grRoseSampleTemplate1cs;1", "@type": "Interface", "contents": [ { "@id": "dtmi:okamyapp:grRoseSampleTemplate1cs:Temperature;1", "@type": [ "Telemetry", "Temperature" ], "displayName": { "en": "Temperature" }, "name": "Temperature", "schema": "double" }, { "@id": "dtmi:okamyapp:grRoseSampleTemplate1cs:Humidity;1", "@type": [ "Telemetry", "Humidity" ], "displayName": { "en": "Humidity" }, "name": "Humidity", "schema": "double" }, { "@id": "dtmi:okamyapp:grRoseSampleTemplate1cs:Angle;1", "@type": "Command", "commandType": "synchronous", "displayName": { "en": "Angle" }, "name": "Angle", "request": { "@type": "CommandPayload", "displayName": { "en": "Angle" }, "name": "Angle", "schema": "vector" }, "durable": false }, { "@id": "dtmi:okamyapp:grRoseSampleTemplate1cs:LED1;1", "@type": "Command", "commandType": "synchronous", "displayName": { "en": "LED1" }, "name": "LED1", "request": { "@type": "CommandPayload", "displayName": { "en": "LED1" }, "name": "LED1", "schema": "integer" }, "durable": false }, { "@id": "dtmi:okamyapp:grRoseSampleTemplate1cs:LED2;1", "@type": "Command", "commandType": "synchronous", "displayName": { "en": "LED2" }, "name": "LED2", "request": { "@type": "CommandPayload", "displayName": { "en": "LED2" }, "name": "LED2", "schema": "integer" }, "durable": false } ], "displayName": { "en": "gr-rose-sample-template" }, "@context": [ "dtmi:iotcentral:context;2", "dtmi:dtdl:context;2" ] } ]
開発環境
●Webコンパイラ
Gadget RenesasのWebサイトからログインできます。MyRenesasアカウントを作ることで、プログラムを保存しておくことができます。 プロジェクト作成時、テンプレート「GR-ROSE_Sketch_V1.xx(Azure)」を使うとAzure IoT Central用のプログラム開発ができます。
●e2studio
RXマイコン用の公式プログラム開発環境です。Eclipseベースなので本格的に開発する方にお勧めです。Windows専用で、インストールする必要があります。 以下はAzure IoT Central用に作成したサンプルプロジェクトです。インポートしてお使いください。 rose_sketch_azure_20210911.zip
●IDE for GR
Arduino IDEと互換性のあるアプリケーションです。Azure IoT Central用のサポート計画はございません(サンプルがでかいので、コンパクトに収まるようであれば検討します)。
●おまけ
Adafruit_NeoPixel(rose_azure).zip