Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Webカメラサンプルのご紹介 / Web camera sample introduction
Search
d-kato
November 11, 2019
Programming
0
92
Webカメラサンプルのご紹介 / Web camera sample introduction
ET & IoT Technology 2019 ハンズオン資料
d-kato
November 11, 2019
Tweet
Share
More Decks by d-kato
See All by d-kato
GR-MANGO is coming soon!
dkato
0
540
How to use Mbed Studio
dkato
0
150
Mbed忘備録 / Memorandum of Mbed
dkato
0
140
RZ/A2MをMbedで動かしてみた / I tried running RZ_A2M with Mbed
dkato
0
760
WinbondさんのSample ShieldをGR-LYCHEEで動かしてみた / I tried Winbond's Sample Shield with GR-LYCHEE
dkato
0
660
Other Decks in Programming
See All in Programming
AWS CDKの推しポイント 〜CloudFormationと比較してみた〜
akihisaikeda
3
310
『自分のデータだけ見せたい!』を叶える──Laravel × Casbin で複雑権限をスッキリ解きほぐす 25 分
akitotsukahara
1
510
Webの外へ飛び出せ NativePHPが切り拓くPHPの未来
takuyakatsusa
2
350
地方に住むエンジニアの残酷な現実とキャリア論
ichimichi
5
1.3k
Haskell でアルゴリズムを抽象化する / 関数型言語で競技プログラミング
naoya
17
4.9k
Gleamという選択肢
comamoca
6
760
型付きアクターモデルがもたらす分散シミュレーションの未来
piyo7
0
810
なぜ適用するか、移行して理解するClean Architecture 〜構造を超えて設計を継承する〜 / Why Apply, Migrate and Understand Clean Architecture - Inherit Design Beyond Structure
seike460
PRO
1
680
Benchmark
sysong
0
260
「ElixirでIoT!!」のこれまでとこれから
takasehideki
0
370
GraphRAGの仕組みまるわかり
tosuri13
7
480
つよそうにふるまい、つよい成果を出すのなら、つよいのかもしれない
irof
1
300
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Mobile First: as difficult as doing things right
swwweet
223
9.7k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.3k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
Building an army of robots
kneath
306
45k
Testing 201, or: Great Expectations
jmmastey
42
7.5k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
A Tale of Four Properties
chriscoyier
160
23k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
930
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
700
Transcript
© 2019 Renesas Electronics Corporation. All rights reserved. Webカメラサンプルの ご紹介
ET & IoT Technology 2019 2019年11月20日 加藤 大樹 ルネサス エレクトロニクス株式会社
© 2019 Renesas Electronics Corporation. All rights reserved. 自己紹介 Page
2 ・2014年12月よりMbed担当 ・Mbed用ソフト整備、がじぇるね活動 など ・個人ページでも各種サンプルプログラムを公開しています ・Mbedマイページ:https://os.mbed.com/users/dkato/ ・GitHubマイページ:https://github.com/d-kato
© 2019 Renesas Electronics Corporation. All rights reserved. WEBカメラサンプル Page
3 GR-Boards_WebCamera https://os.mbed.com/teams/Renesas/code/GR-Boards_WebCamera/
© 2019 Renesas Electronics Corporation. All rights reserved. ネットワークの接続方法 Page
4 本サンプルは ステーションモード(STAモード)と アクセスポイントモード(APモード) の2種類の接続方法が選べます。 ステーションモード(STAモード) GR-LYCHEEを無線クライアントとして使用します。(初期設定) アクセスポイントモード(APモード) GR-LYCHEEを無線アクセスポイントとして使用します。
© 2019 Renesas Electronics Corporation. All rights reserved. ステーションモード(STAモード) Page
5 初期設定はステーションモードです。GR-LYCHEEが接続できるアクセスポイントが必要です。 アクセスポイント アクセスポイント テザリング使用時の構成 無線LANルータ使用時の構成
© 2019 Renesas Electronics Corporation. All rights reserved. アクセスポイントモード(APモード) Page
6 ソースコード中の設定を変更することで、GR-LYCHEEをアクセスポイントとして使用できます。 #define USE_DHCP 0 #if (USE_DHCP == 0) #define IP_ADDRESS "192.168.0.2" #define SUBNET_MASK "255.255.255.0" #define DEFAULT_GATEWAY "192.168.0.3" #endif #define NETWORK_TYPE 3 #if (NETWORK_TYPE >= 2) #define SCAN_NETWORK 1 #define WLAN_SSID "lychee00" #define WLAN_PSK "8~63文字 半角英数字記号" #define WLAN_SECURITY NSAPI_SECURITY_WPA_WPA2 #endif 他の人と重複し ない名前にする アクセスポイント GR-LYCHEEがアクセスポイント “main.cpp” 19行目付近 のコードを変更
© 2019 Renesas Electronics Corporation. All rights reserved. ターミナルソフトの使い方 Page
7 ① デスクトップ上の「Tera Term」を起動。 ② シリアルポートを選択。 ③ GR-LYCHEEの リセットボタンを押す。 ① ② ③
© 2019 Renesas Electronics Corporation. All rights reserved. Renesas.com