SlideShare a Scribd company logo
1 of 19
Download to read offline
株式会社デバイスドライバーズ 日高亜友
D2Cコンテスト 2013 参加者トレーニング
2013/8/31 1
- Visual Studio / C# で簡単に制御できる
センサー・マイコンボード -
Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31 2
 .NET Gadgeteer とは?
◦ ハードウェア
◦ ソフトウェア
◦ 利用目的
 .NET Gadgeteer の使いこなし
◦ Hostとの接続方法
◦ 電源供給
◦ 注意点
 動作事例
 サポート情報
Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31 3
 Microsoftリサーチが開発している
.NET Micro Framework ベース組み込みシステム統
合開発環境とそれを構成するモジュール製品群
 MMU無しマイコン上でVisual Studioで開発した
.NETアセンブリ(中間コード)をインタプリタ実行
 Visual Studio のGUI操
作により自動的に
モジュールの初期化コード
とクラスライブラリが追加
Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31 4
 具体的には次のもの
◦ ハードウェア
 専用メインボード、専用モジュール群、
開発環境としての Windows PC
◦ ソフトウェア
 ROM化されたOS、組み込み用各種ドライバとライブラリ、
Visual Studio用Plug In(ライブラリとGUIツール、シミュレータ)
 新規モジュール開発やカスタマイズ可能
◦ オープンソース
Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31
 C#/VB言語レベルでライブラリと豊富なミドルウェアを提供
◦ プロトコル、グラフィック
◦ ファイルシステム
◦ サービス、マルチスレッド
 12種以上のCPUボードと
80種以上の
センサー, コントローラ,
ネットワークアダプタ,
コネクティビティ,
ストレージデバイス,
表示デバイス等の
モジュール を提供
5
Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31 6
 年譜
◦ 2001 V 1.0
SPOT Watch / MSN Direct Service
販売&運用開始
(US Microsoftリサーチの研究成果)
◦ 2006 V2.0
Windows SideShow Device for Windows Vista
◦ 2008 V3.0
◦ 2009 V4.0 for Open Source
◦ 2010 V4.1 for Big Endian
◦ 2010 MSN Direct Service終了
◦ 2011 V4.2 with VB
◦ 2011 .NET Gadgeteer 公開
◦ 2012 V4.3 for VS2012
Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31 7
 元々Microsoft が提供していた コミュニティ開発ベースの
オープンソース小規模組込みシステム用実行環境
ARM7 72MHz / 512KB ROM / 96KB RAM 程度で動作
 少ないリソースで .NET マネージド・コードを
中間コードインタプリタ (CLR) で実行をサポートする環境
 多様なIOとサービスをサポートする
ドライバやプロトコル、ミドルウェアを最初から備える
 Visual Studio + SDKの無償統合開発環境により
Visual Basic / C#で 組み込みアプリケーション開発可能
Windows 開発と互換性がある強力な言語仕様
Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31 8
 アプリケーション開発環境
◦ Visual Studio 2010 または2012
 無償のExpress版も対応可能 (DreamSparkも可)
◦ .NET Micro Framework 4.2 QFE1または 4.3
◦ GHI Software Package v4.2
 アーキテクチャ
◦ 豊富なクラスライブラリと
強力なC#言語により
最少10行程度で
センサー制御が可能
.NET Micoro Framework
OS / Driver
CLR Interpreter
Application / Lib.
.NET Gadgeteer
Gadgeteer アプリケーション
Device Drivers, Ltd. D2Cコンテスト参加者トレーニング
 メインボードとモジュール
2013/8/31 9
Sensor
モジュール
Storage
モジュール
Control
モジュール
Visual
モジュール
Interface
モジュール
mainboard
メインボード
(ARM マイコン)
Power
モジュール
USB Aコネクタ
電源供給+デバッグ(デプロイ)
Device Drivers, Ltd. D2Cコンテスト参加者トレーニング
 センサー
◦ 温度湿度、大気圧、人感、加速度、照度、反射、距離、
ジャイロ、コンパス、GPS、電流、ガス、水分、パルス等
 入出力
◦ ボタン、タッチ、ボリューム、ジョイスティック、LED、LCD
 制御
◦ リレー、パルス、モーター制御、ステッパー
 インターフェース
◦ USB、RS232、RS485、CAN、OneWire、XBee
 その他
◦ カメラ、ストレージ、オーディオ、ワイヤレス
2013/8/31 10
Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31 11
 センサーシステム
◦ 各種センサー類を接続・制御してHost (Armadillo-440)
に接続するためのセンサーサーバー・システム
◦ 25種類以上のセンサーや入力デバイスを利用可能
 アクチュエーター・システム
◦ アクチュエーター:入力された信号を物理的動作に変換
 例:モーター制御、パルス制御、リレー等
 LEDや各種ディスプレイデバイスも一種のアクチュエーター
◦ 25種類以上のコントローラや表示デバイスを利用可能
 勿論、利用しなくてもOK
Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31 12
 シリアル (RS232C)
◦ WEC 7 開発キットでは未サポート
 USB (Host/Target)
◦ 一部のメインボードでのみサポート
◦ USB Host 接続はWEC 7 開発キットでは未サポート
◦ USB Targetは通常 Debug で利用
 WiFi / Bluetooth
◦ 電波法の問題
 Ethernet LAN (TCP/IP)
◦ 開発 Host (Armadillo-440 + WEC7) で標準サポート
◦ アクセスポイントや変換アダプタを介して無線接続可能
Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31 13
 REST インターフェースの採用
 上記両方の接続をサポート
◦ 双方の接続プログラムを自前で開発する必要がある
Armadillo
-440
Gadgeteer
HttpServerHttpClient
Web Request (GET / PUT)
Web Response
Armadillo
-440
Gadgeteer
HttpClientHttpServer
Web Request (GET / PUT)
Web Response
Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31 14
 Web サーバー・コーディングの事例
◦ C# Socketライブラリ
 低レベル (Bind, Listen, Accept, Connect, Send, Receive)
 最少100行程度
◦ NETMF http ライブラリ
 Web/ http 制御に特化したインターフェース
 最少50行程度
◦ Gadgeteer.WebServer ライブラリ
 単純化をさらにすすめたインターフェース
 最少10行程度
Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31 15
 USB miniB
◦ DC5V
◦ デバッグ、デプロイ、インターフェースと兼用
◦ 大容量電力向けには利用できない
 ACアダプタ
◦ AC100V/DC12V (DC7V-30V)
 バッテリー
◦ 単三乾電池4本
USB Client SP Module
USB Client DP Module
UC Battery 4xAA Module
Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31 16
 ファームウェア(OS) の更新
◦ 必ずFlash ROM上のファームウェア(OS)を最新版に更新
 文字列処理
◦ 日本語処理は全くできない(UTF8として処理)
◦ 文字列操作関数はあるが書式変換機能が乏しい
 ネットワーク
◦ MACアドレスも含めたネットワーク設定はGHI 製ツール
「FEZ_Config」 を使用して設定する
◦ 一部メインボードではネットワーク機能を内蔵した
専用ファームウェア(OS)を使用する必要がある
 情報・ドキュメント
◦ ライブラリAPI等、多くの情報が英語だけで公開
Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31 17
 アプリケーション事例
◦ センサー(温度、湿度、大気圧、ボリューム制御)
◦ Web Server / Web Client
 Visual Studioを使ったプロジェクト作成
 Visual Studioを使ったデプロイとデバッグ
Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31 18
 日本語販売&サポートページ
 http://tinyclr.jp/
 D2Cコンテスト用上場公開&資料配布
 http://tinyclr.jp/d2c
 特別割引販売
 http://tinyclr.jp/13
 開発・製造元
 https://www.ghielectronics.com/
Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31 19
 .NET Gadgeteer とは?
◦ ハードウェア
◦ ソフトウェア
◦ 利用目的
 .NET Gadgeteer の使いこなし
◦ Hostとの接続方法
◦ 電源供給
◦ 注意点
 動作事例
 サポート情報
お問い合わせ
株式会社デバイスドライバーズ
e-kit@devdrv.co.jp
問い合わせはメールで、必ず
「D2Cコンテストに参加する」と伝えて下さい。

More Related Content

Similar to D2Cコンテスト 2013 参加者トレーニング .NET Gadgeteer の活用

AWS IoT EduKit ワークショップのご紹介
AWS IoT EduKit ワークショップのご紹介AWS IoT EduKit ワークショップのご紹介
AWS IoT EduKit ワークショップのご紹介Yukinobu Mine
 
【17-D-6】「ソフトウェアの収益増大のためのセキュリティソリューション」小池康幸氏
【17-D-6】「ソフトウェアの収益増大のためのセキュリティソリューション」小池康幸氏【17-D-6】「ソフトウェアの収益増大のためのセキュリティソリューション」小池康幸氏
【17-D-6】「ソフトウェアの収益増大のためのセキュリティソリューション」小池康幸氏Developers Summit
 
Microsoft AI and IoT Platform
Microsoft AI and IoT PlatformMicrosoft AI and IoT Platform
Microsoft AI and IoT PlatformDaiyu Hatakeyama
 
Kadecot アプリ認証
Kadecot アプリ認証Kadecot アプリ認証
Kadecot アプリ認証sonycsl
 
【de:code 2020】 SaaS で迅速に IoT を実現 - Azure IoT Central 最新アップデートと活用術
【de:code 2020】 SaaS で迅速に IoT を実現 - Azure IoT Central 最新アップデートと活用術【de:code 2020】 SaaS で迅速に IoT を実現 - Azure IoT Central 最新アップデートと活用術
【de:code 2020】 SaaS で迅速に IoT を実現 - Azure IoT Central 最新アップデートと活用術日本マイクロソフト株式会社
 
Microsoft Azure IoT Overview 2020/12/18
Microsoft Azure IoT Overview 2020/12/18Microsoft Azure IoT Overview 2020/12/18
Microsoft Azure IoT Overview 2020/12/18Knowledge & Experience
 
VPN・証明書はもう不要? Azure ADによるデバイス認証 at Tech Summit 2018
VPN・証明書はもう不要? Azure ADによるデバイス認証 at Tech Summit 2018VPN・証明書はもう不要? Azure ADによるデバイス認証 at Tech Summit 2018
VPN・証明書はもう不要? Azure ADによるデバイス認証 at Tech Summit 2018Shinichiro Kosugi
 
1.コース概要
1.コース概要1.コース概要
1.コース概要openrtm
 
2015/05/23 シニア技術者プログラム第3弾 「第二回IoT勉強会&交流会」 15:00~15:20 Arduinoで簡単回路作成実演
2015/05/23 シニア技術者プログラム第3弾 「第二回IoT勉強会&交流会」  15:00~15:20 Arduinoで簡単回路作成実演2015/05/23 シニア技術者プログラム第3弾 「第二回IoT勉強会&交流会」  15:00~15:20 Arduinoで簡単回路作成実演
2015/05/23 シニア技術者プログラム第3弾 「第二回IoT勉強会&交流会」 15:00~15:20 Arduinoで簡単回路作成実演aitc_jp
 
IETF111 RATS: Remote Attestation ProcedureS 報告
IETF111 RATS: Remote Attestation ProcedureS 報告IETF111 RATS: Remote Attestation ProcedureS 報告
IETF111 RATS: Remote Attestation ProcedureS 報告Kuniyasu Suzaki
 
Qiita x Microsoft - 機械学習セミナー Microsoft AI Platform
Qiita x Microsoft - 機械学習セミナー Microsoft AI PlatformQiita x Microsoft - 機械学習セミナー Microsoft AI Platform
Qiita x Microsoft - 機械学習セミナー Microsoft AI PlatformDaiyu Hatakeyama
 
Modernization of IT Infrastructure by Microsoft Azure
Modernization of IT Infrastructure by Microsoft AzureModernization of IT Infrastructure by Microsoft Azure
Modernization of IT Infrastructure by Microsoft AzureTakeshi Fukuhara
 
20140926 vd iand_azure_slideshare
20140926 vd iand_azure_slideshare20140926 vd iand_azure_slideshare
20140926 vd iand_azure_slideshareOsamu Takazoe
 
Cld014 セキュアな io_t_システ
Cld014 セキュアな io_t_システCld014 セキュアな io_t_システ
Cld014 セキュアな io_t_システTech Summit 2016
 
Cld014 セキュアな io_t_システ
Cld014 セキュアな io_t_システCld014 セキュアな io_t_システ
Cld014 セキュアな io_t_システTech Summit 2016
 
[Azure Antenna] HPCだけじゃないDeep Learningでも使える ハイパフォーマンスAzureインフラ ~ Azureハイパフォーマ...
[Azure Antenna] HPCだけじゃないDeep Learningでも使える ハイパフォーマンスAzureインフラ ~ Azureハイパフォーマ...[Azure Antenna] HPCだけじゃないDeep Learningでも使える ハイパフォーマンスAzureインフラ ~ Azureハイパフォーマ...
[Azure Antenna] HPCだけじゃないDeep Learningでも使える ハイパフォーマンスAzureインフラ ~ Azureハイパフォーマ...Shuichi Gojuki
 
Jenkins ユーザ・カンファレンス 2012 東京 S406-4/マルチステージ型継続的インテグレーションのすすめ
Jenkins ユーザ・カンファレンス 2012 東京 S406-4/マルチステージ型継続的インテグレーションのすすめJenkins ユーザ・カンファレンス 2012 東京 S406-4/マルチステージ型継続的インテグレーションのすすめ
Jenkins ユーザ・カンファレンス 2012 東京 S406-4/マルチステージ型継続的インテグレーションのすすめatsushi_tmx
 

Similar to D2Cコンテスト 2013 参加者トレーニング .NET Gadgeteer の活用 (20)

AWS IoT EduKit ワークショップのご紹介
AWS IoT EduKit ワークショップのご紹介AWS IoT EduKit ワークショップのご紹介
AWS IoT EduKit ワークショップのご紹介
 
【17-D-6】「ソフトウェアの収益増大のためのセキュリティソリューション」小池康幸氏
【17-D-6】「ソフトウェアの収益増大のためのセキュリティソリューション」小池康幸氏【17-D-6】「ソフトウェアの収益増大のためのセキュリティソリューション」小池康幸氏
【17-D-6】「ソフトウェアの収益増大のためのセキュリティソリューション」小池康幸氏
 
Microsoft AI and IoT Platform
Microsoft AI and IoT PlatformMicrosoft AI and IoT Platform
Microsoft AI and IoT Platform
 
Kadecot アプリ認証
Kadecot アプリ認証Kadecot アプリ認証
Kadecot アプリ認証
 
IoT アップデート​
IoT アップデート​	IoT アップデート​
IoT アップデート​
 
【de:code 2020】 SaaS で迅速に IoT を実現 - Azure IoT Central 最新アップデートと活用術
【de:code 2020】 SaaS で迅速に IoT を実現 - Azure IoT Central 最新アップデートと活用術【de:code 2020】 SaaS で迅速に IoT を実現 - Azure IoT Central 最新アップデートと活用術
【de:code 2020】 SaaS で迅速に IoT を実現 - Azure IoT Central 最新アップデートと活用術
 
Microsoft Azure IoT Overview 2020/12/18
Microsoft Azure IoT Overview 2020/12/18Microsoft Azure IoT Overview 2020/12/18
Microsoft Azure IoT Overview 2020/12/18
 
VPN・証明書はもう不要? Azure ADによるデバイス認証 at Tech Summit 2018
VPN・証明書はもう不要? Azure ADによるデバイス認証 at Tech Summit 2018VPN・証明書はもう不要? Azure ADによるデバイス認証 at Tech Summit 2018
VPN・証明書はもう不要? Azure ADによるデバイス認証 at Tech Summit 2018
 
1.コース概要
1.コース概要1.コース概要
1.コース概要
 
2015/05/23 シニア技術者プログラム第3弾 「第二回IoT勉強会&交流会」 15:00~15:20 Arduinoで簡単回路作成実演
2015/05/23 シニア技術者プログラム第3弾 「第二回IoT勉強会&交流会」  15:00~15:20 Arduinoで簡単回路作成実演2015/05/23 シニア技術者プログラム第3弾 「第二回IoT勉強会&交流会」  15:00~15:20 Arduinoで簡単回路作成実演
2015/05/23 シニア技術者プログラム第3弾 「第二回IoT勉強会&交流会」 15:00~15:20 Arduinoで簡単回路作成実演
 
IETF111 RATS: Remote Attestation ProcedureS 報告
IETF111 RATS: Remote Attestation ProcedureS 報告IETF111 RATS: Remote Attestation ProcedureS 報告
IETF111 RATS: Remote Attestation ProcedureS 報告
 
第10回「高信頼性仮想化ソフトウェア「Avance™」」(2011/10/27 on しすなま!)
第10回「高信頼性仮想化ソフトウェア「Avance™」」(2011/10/27 on しすなま!)第10回「高信頼性仮想化ソフトウェア「Avance™」」(2011/10/27 on しすなま!)
第10回「高信頼性仮想化ソフトウェア「Avance™」」(2011/10/27 on しすなま!)
 
Qiita x Microsoft - 機械学習セミナー Microsoft AI Platform
Qiita x Microsoft - 機械学習セミナー Microsoft AI PlatformQiita x Microsoft - 機械学習セミナー Microsoft AI Platform
Qiita x Microsoft - 機械学習セミナー Microsoft AI Platform
 
Modernization of IT Infrastructure by Microsoft Azure
Modernization of IT Infrastructure by Microsoft AzureModernization of IT Infrastructure by Microsoft Azure
Modernization of IT Infrastructure by Microsoft Azure
 
20140926 vd iand_azure_slideshare
20140926 vd iand_azure_slideshare20140926 vd iand_azure_slideshare
20140926 vd iand_azure_slideshare
 
Cld014 セキュアな io_t_システ
Cld014 セキュアな io_t_システCld014 セキュアな io_t_システ
Cld014 セキュアな io_t_システ
 
Cld014 セキュアな io_t_システ
Cld014 セキュアな io_t_システCld014 セキュアな io_t_システ
Cld014 セキュアな io_t_システ
 
[Azure Antenna] HPCだけじゃないDeep Learningでも使える ハイパフォーマンスAzureインフラ ~ Azureハイパフォーマ...
[Azure Antenna] HPCだけじゃないDeep Learningでも使える ハイパフォーマンスAzureインフラ ~ Azureハイパフォーマ...[Azure Antenna] HPCだけじゃないDeep Learningでも使える ハイパフォーマンスAzureインフラ ~ Azureハイパフォーマ...
[Azure Antenna] HPCだけじゃないDeep Learningでも使える ハイパフォーマンスAzureインフラ ~ Azureハイパフォーマ...
 
ゼロから学ぶIoT
ゼロから学ぶIoTゼロから学ぶIoT
ゼロから学ぶIoT
 
Jenkins ユーザ・カンファレンス 2012 東京 S406-4/マルチステージ型継続的インテグレーションのすすめ
Jenkins ユーザ・カンファレンス 2012 東京 S406-4/マルチステージ型継続的インテグレーションのすすめJenkins ユーザ・カンファレンス 2012 東京 S406-4/マルチステージ型継続的インテグレーションのすすめ
Jenkins ユーザ・カンファレンス 2012 東京 S406-4/マルチステージ型継続的インテグレーションのすすめ
 

More from Atomu Hidaka

IoT in the era of generative AI, Thanks IoT ALGYAN.pptx
IoT in the era of generative AI, Thanks IoT ALGYAN.pptxIoT in the era of generative AI, Thanks IoT ALGYAN.pptx
IoT in the era of generative AI, Thanks IoT ALGYAN.pptxAtomu Hidaka
 
Tips and Tricks for developing Windows APO drivers
Tips and Tricks for developing Windows APO driversTips and Tricks for developing Windows APO drivers
Tips and Tricks for developing Windows APO driversAtomu Hidaka
 
Useful Tips and Tricks for Windows 11 TPM
Useful Tips and Tricks for Windows 11 TPMUseful Tips and Tricks for Windows 11 TPM
Useful Tips and Tricks for Windows 11 TPMAtomu Hidaka
 
Develop Windows 11 drivers with GitHub Copilot's AI capabilities
Develop Windows 11 drivers with GitHub Copilot's AI capabilitiesDevelop Windows 11 drivers with GitHub Copilot's AI capabilities
Develop Windows 11 drivers with GitHub Copilot's AI capabilitiesAtomu Hidaka
 
Windows 11 22H2 Feature-Update, Copilot, and Tips
Windows 11 22H2 Feature-Update, Copilot, and TipsWindows 11 22H2 Feature-Update, Copilot, and Tips
Windows 11 22H2 Feature-Update, Copilot, and TipsAtomu Hidaka
 
Windows 11 information that can be used at the development site
Windows 11 information that can be used at the development siteWindows 11 information that can be used at the development site
Windows 11 information that can be used at the development siteAtomu Hidaka
 
ChatGPT solution with EnOcean Gateway
ChatGPT solution with EnOcean GatewayChatGPT solution with EnOcean Gateway
ChatGPT solution with EnOcean GatewayAtomu Hidaka
 
Windows ChatGPT Bing AI
Windows ChatGPT Bing AIWindows ChatGPT Bing AI
Windows ChatGPT Bing AIAtomu Hidaka
 
Windows ChatGPT Bing AI.pptx
Windows ChatGPT Bing AI.pptxWindows ChatGPT Bing AI.pptx
Windows ChatGPT Bing AI.pptxAtomu Hidaka
 
Music Tech Community LT, Introducing Windows APO
Music Tech Community LT, Introducing Windows APOMusic Tech Community LT, Introducing Windows APO
Music Tech Community LT, Introducing Windows APOAtomu Hidaka
 
LLILUM and TinyCLR OS
LLILUM and TinyCLR OSLLILUM and TinyCLR OS
LLILUM and TinyCLR OSAtomu Hidaka
 
Introducing new features of EnOcean Gateway
Introducing new features of EnOcean GatewayIntroducing new features of EnOcean Gateway
Introducing new features of EnOcean GatewayAtomu Hidaka
 
Windows 11 Overview
Windows 11 OverviewWindows 11 Overview
Windows 11 OverviewAtomu Hidaka
 
IoT implemented in Windows 11.pptx
IoT implemented in Windows 11.pptxIoT implemented in Windows 11.pptx
IoT implemented in Windows 11.pptxAtomu Hidaka
 
How to use Windows 11 effectively.pptx
How to use Windows 11 effectively.pptxHow to use Windows 11 effectively.pptx
How to use Windows 11 effectively.pptxAtomu Hidaka
 
Recent my activities in 2022 1Q.pptx
Recent my activities in 2022 1Q.pptxRecent my activities in 2022 1Q.pptx
Recent my activities in 2022 1Q.pptxAtomu Hidaka
 
My highlight topics_in_2021
My highlight topics_in_2021My highlight topics_in_2021
My highlight topics_in_2021Atomu Hidaka
 
Windows 11 insider tips for developer
Windows 11 insider tips for developerWindows 11 insider tips for developer
Windows 11 insider tips for developerAtomu Hidaka
 
Azure Skkynet datahub service
Azure Skkynet datahub serviceAzure Skkynet datahub service
Azure Skkynet datahub serviceAtomu Hidaka
 
Microsoft Azure IoT central main menu
Microsoft Azure IoT central main menuMicrosoft Azure IoT central main menu
Microsoft Azure IoT central main menuAtomu Hidaka
 

More from Atomu Hidaka (20)

IoT in the era of generative AI, Thanks IoT ALGYAN.pptx
IoT in the era of generative AI, Thanks IoT ALGYAN.pptxIoT in the era of generative AI, Thanks IoT ALGYAN.pptx
IoT in the era of generative AI, Thanks IoT ALGYAN.pptx
 
Tips and Tricks for developing Windows APO drivers
Tips and Tricks for developing Windows APO driversTips and Tricks for developing Windows APO drivers
Tips and Tricks for developing Windows APO drivers
 
Useful Tips and Tricks for Windows 11 TPM
Useful Tips and Tricks for Windows 11 TPMUseful Tips and Tricks for Windows 11 TPM
Useful Tips and Tricks for Windows 11 TPM
 
Develop Windows 11 drivers with GitHub Copilot's AI capabilities
Develop Windows 11 drivers with GitHub Copilot's AI capabilitiesDevelop Windows 11 drivers with GitHub Copilot's AI capabilities
Develop Windows 11 drivers with GitHub Copilot's AI capabilities
 
Windows 11 22H2 Feature-Update, Copilot, and Tips
Windows 11 22H2 Feature-Update, Copilot, and TipsWindows 11 22H2 Feature-Update, Copilot, and Tips
Windows 11 22H2 Feature-Update, Copilot, and Tips
 
Windows 11 information that can be used at the development site
Windows 11 information that can be used at the development siteWindows 11 information that can be used at the development site
Windows 11 information that can be used at the development site
 
ChatGPT solution with EnOcean Gateway
ChatGPT solution with EnOcean GatewayChatGPT solution with EnOcean Gateway
ChatGPT solution with EnOcean Gateway
 
Windows ChatGPT Bing AI
Windows ChatGPT Bing AIWindows ChatGPT Bing AI
Windows ChatGPT Bing AI
 
Windows ChatGPT Bing AI.pptx
Windows ChatGPT Bing AI.pptxWindows ChatGPT Bing AI.pptx
Windows ChatGPT Bing AI.pptx
 
Music Tech Community LT, Introducing Windows APO
Music Tech Community LT, Introducing Windows APOMusic Tech Community LT, Introducing Windows APO
Music Tech Community LT, Introducing Windows APO
 
LLILUM and TinyCLR OS
LLILUM and TinyCLR OSLLILUM and TinyCLR OS
LLILUM and TinyCLR OS
 
Introducing new features of EnOcean Gateway
Introducing new features of EnOcean GatewayIntroducing new features of EnOcean Gateway
Introducing new features of EnOcean Gateway
 
Windows 11 Overview
Windows 11 OverviewWindows 11 Overview
Windows 11 Overview
 
IoT implemented in Windows 11.pptx
IoT implemented in Windows 11.pptxIoT implemented in Windows 11.pptx
IoT implemented in Windows 11.pptx
 
How to use Windows 11 effectively.pptx
How to use Windows 11 effectively.pptxHow to use Windows 11 effectively.pptx
How to use Windows 11 effectively.pptx
 
Recent my activities in 2022 1Q.pptx
Recent my activities in 2022 1Q.pptxRecent my activities in 2022 1Q.pptx
Recent my activities in 2022 1Q.pptx
 
My highlight topics_in_2021
My highlight topics_in_2021My highlight topics_in_2021
My highlight topics_in_2021
 
Windows 11 insider tips for developer
Windows 11 insider tips for developerWindows 11 insider tips for developer
Windows 11 insider tips for developer
 
Azure Skkynet datahub service
Azure Skkynet datahub serviceAzure Skkynet datahub service
Azure Skkynet datahub service
 
Microsoft Azure IoT central main menu
Microsoft Azure IoT central main menuMicrosoft Azure IoT central main menu
Microsoft Azure IoT central main menu
 

Recently uploaded

【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)Hiroki Ichikura
 
スマートフォンを用いた新生児あやし動作の教示システム
スマートフォンを用いた新生児あやし動作の教示システムスマートフォンを用いた新生児あやし動作の教示システム
スマートフォンを用いた新生児あやし動作の教示システムsugiuralab
 
SOPを理解する 2024/04/19 の勉強会で発表されたものです
SOPを理解する       2024/04/19 の勉強会で発表されたものですSOPを理解する       2024/04/19 の勉強会で発表されたものです
SOPを理解する 2024/04/19 の勉強会で発表されたものですiPride Co., Ltd.
 
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...Toru Tamaki
 
TSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdfTSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdftaisei2219
 
論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A survey論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A surveyToru Tamaki
 
論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNet論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNetToru Tamaki
 
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介Yuma Ohgami
 
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略Ryo Sasaki
 

Recently uploaded (9)

【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
 
スマートフォンを用いた新生児あやし動作の教示システム
スマートフォンを用いた新生児あやし動作の教示システムスマートフォンを用いた新生児あやし動作の教示システム
スマートフォンを用いた新生児あやし動作の教示システム
 
SOPを理解する 2024/04/19 の勉強会で発表されたものです
SOPを理解する       2024/04/19 の勉強会で発表されたものですSOPを理解する       2024/04/19 の勉強会で発表されたものです
SOPを理解する 2024/04/19 の勉強会で発表されたものです
 
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
 
TSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdfTSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdf
 
論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A survey論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A survey
 
論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNet論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNet
 
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
 
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略
 

D2Cコンテスト 2013 参加者トレーニング .NET Gadgeteer の活用

  • 1. 株式会社デバイスドライバーズ 日高亜友 D2Cコンテスト 2013 参加者トレーニング 2013/8/31 1 - Visual Studio / C# で簡単に制御できる センサー・マイコンボード -
  • 2. Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31 2  .NET Gadgeteer とは? ◦ ハードウェア ◦ ソフトウェア ◦ 利用目的  .NET Gadgeteer の使いこなし ◦ Hostとの接続方法 ◦ 電源供給 ◦ 注意点  動作事例  サポート情報
  • 3. Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31 3  Microsoftリサーチが開発している .NET Micro Framework ベース組み込みシステム統 合開発環境とそれを構成するモジュール製品群  MMU無しマイコン上でVisual Studioで開発した .NETアセンブリ(中間コード)をインタプリタ実行  Visual Studio のGUI操 作により自動的に モジュールの初期化コード とクラスライブラリが追加
  • 4. Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31 4  具体的には次のもの ◦ ハードウェア  専用メインボード、専用モジュール群、 開発環境としての Windows PC ◦ ソフトウェア  ROM化されたOS、組み込み用各種ドライバとライブラリ、 Visual Studio用Plug In(ライブラリとGUIツール、シミュレータ)  新規モジュール開発やカスタマイズ可能 ◦ オープンソース
  • 5. Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31  C#/VB言語レベルでライブラリと豊富なミドルウェアを提供 ◦ プロトコル、グラフィック ◦ ファイルシステム ◦ サービス、マルチスレッド  12種以上のCPUボードと 80種以上の センサー, コントローラ, ネットワークアダプタ, コネクティビティ, ストレージデバイス, 表示デバイス等の モジュール を提供 5
  • 6. Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31 6  年譜 ◦ 2001 V 1.0 SPOT Watch / MSN Direct Service 販売&運用開始 (US Microsoftリサーチの研究成果) ◦ 2006 V2.0 Windows SideShow Device for Windows Vista ◦ 2008 V3.0 ◦ 2009 V4.0 for Open Source ◦ 2010 V4.1 for Big Endian ◦ 2010 MSN Direct Service終了 ◦ 2011 V4.2 with VB ◦ 2011 .NET Gadgeteer 公開 ◦ 2012 V4.3 for VS2012
  • 7. Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31 7  元々Microsoft が提供していた コミュニティ開発ベースの オープンソース小規模組込みシステム用実行環境 ARM7 72MHz / 512KB ROM / 96KB RAM 程度で動作  少ないリソースで .NET マネージド・コードを 中間コードインタプリタ (CLR) で実行をサポートする環境  多様なIOとサービスをサポートする ドライバやプロトコル、ミドルウェアを最初から備える  Visual Studio + SDKの無償統合開発環境により Visual Basic / C#で 組み込みアプリケーション開発可能 Windows 開発と互換性がある強力な言語仕様
  • 8. Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31 8  アプリケーション開発環境 ◦ Visual Studio 2010 または2012  無償のExpress版も対応可能 (DreamSparkも可) ◦ .NET Micro Framework 4.2 QFE1または 4.3 ◦ GHI Software Package v4.2  アーキテクチャ ◦ 豊富なクラスライブラリと 強力なC#言語により 最少10行程度で センサー制御が可能 .NET Micoro Framework OS / Driver CLR Interpreter Application / Lib. .NET Gadgeteer Gadgeteer アプリケーション
  • 9. Device Drivers, Ltd. D2Cコンテスト参加者トレーニング  メインボードとモジュール 2013/8/31 9 Sensor モジュール Storage モジュール Control モジュール Visual モジュール Interface モジュール mainboard メインボード (ARM マイコン) Power モジュール USB Aコネクタ 電源供給+デバッグ(デプロイ)
  • 10. Device Drivers, Ltd. D2Cコンテスト参加者トレーニング  センサー ◦ 温度湿度、大気圧、人感、加速度、照度、反射、距離、 ジャイロ、コンパス、GPS、電流、ガス、水分、パルス等  入出力 ◦ ボタン、タッチ、ボリューム、ジョイスティック、LED、LCD  制御 ◦ リレー、パルス、モーター制御、ステッパー  インターフェース ◦ USB、RS232、RS485、CAN、OneWire、XBee  その他 ◦ カメラ、ストレージ、オーディオ、ワイヤレス 2013/8/31 10
  • 11. Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31 11  センサーシステム ◦ 各種センサー類を接続・制御してHost (Armadillo-440) に接続するためのセンサーサーバー・システム ◦ 25種類以上のセンサーや入力デバイスを利用可能  アクチュエーター・システム ◦ アクチュエーター:入力された信号を物理的動作に変換  例:モーター制御、パルス制御、リレー等  LEDや各種ディスプレイデバイスも一種のアクチュエーター ◦ 25種類以上のコントローラや表示デバイスを利用可能  勿論、利用しなくてもOK
  • 12. Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31 12  シリアル (RS232C) ◦ WEC 7 開発キットでは未サポート  USB (Host/Target) ◦ 一部のメインボードでのみサポート ◦ USB Host 接続はWEC 7 開発キットでは未サポート ◦ USB Targetは通常 Debug で利用  WiFi / Bluetooth ◦ 電波法の問題  Ethernet LAN (TCP/IP) ◦ 開発 Host (Armadillo-440 + WEC7) で標準サポート ◦ アクセスポイントや変換アダプタを介して無線接続可能
  • 13. Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31 13  REST インターフェースの採用  上記両方の接続をサポート ◦ 双方の接続プログラムを自前で開発する必要がある Armadillo -440 Gadgeteer HttpServerHttpClient Web Request (GET / PUT) Web Response Armadillo -440 Gadgeteer HttpClientHttpServer Web Request (GET / PUT) Web Response
  • 14. Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31 14  Web サーバー・コーディングの事例 ◦ C# Socketライブラリ  低レベル (Bind, Listen, Accept, Connect, Send, Receive)  最少100行程度 ◦ NETMF http ライブラリ  Web/ http 制御に特化したインターフェース  最少50行程度 ◦ Gadgeteer.WebServer ライブラリ  単純化をさらにすすめたインターフェース  最少10行程度
  • 15. Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31 15  USB miniB ◦ DC5V ◦ デバッグ、デプロイ、インターフェースと兼用 ◦ 大容量電力向けには利用できない  ACアダプタ ◦ AC100V/DC12V (DC7V-30V)  バッテリー ◦ 単三乾電池4本 USB Client SP Module USB Client DP Module UC Battery 4xAA Module
  • 16. Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31 16  ファームウェア(OS) の更新 ◦ 必ずFlash ROM上のファームウェア(OS)を最新版に更新  文字列処理 ◦ 日本語処理は全くできない(UTF8として処理) ◦ 文字列操作関数はあるが書式変換機能が乏しい  ネットワーク ◦ MACアドレスも含めたネットワーク設定はGHI 製ツール 「FEZ_Config」 を使用して設定する ◦ 一部メインボードではネットワーク機能を内蔵した 専用ファームウェア(OS)を使用する必要がある  情報・ドキュメント ◦ ライブラリAPI等、多くの情報が英語だけで公開
  • 17. Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31 17  アプリケーション事例 ◦ センサー(温度、湿度、大気圧、ボリューム制御) ◦ Web Server / Web Client  Visual Studioを使ったプロジェクト作成  Visual Studioを使ったデプロイとデバッグ
  • 18. Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31 18  日本語販売&サポートページ  http://tinyclr.jp/  D2Cコンテスト用上場公開&資料配布  http://tinyclr.jp/d2c  特別割引販売  http://tinyclr.jp/13  開発・製造元  https://www.ghielectronics.com/
  • 19. Device Drivers, Ltd. D2Cコンテスト参加者トレーニング 2013/8/31 19  .NET Gadgeteer とは? ◦ ハードウェア ◦ ソフトウェア ◦ 利用目的  .NET Gadgeteer の使いこなし ◦ Hostとの接続方法 ◦ 電源供給 ◦ 注意点  動作事例  サポート情報 お問い合わせ 株式会社デバイスドライバーズ e-kit@devdrv.co.jp 問い合わせはメールで、必ず 「D2Cコンテストに参加する」と伝えて下さい。