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
100
0
Share
Webカメラサンプルのご紹介 / Web camera sample introduction
ET & IoT Technology 2019 ハンズオン資料
d-kato
November 11, 2019
More Decks by d-kato
See All by d-kato
GR-MANGO is coming soon!
dkato
0
550
How to use Mbed Studio
dkato
0
160
Mbed忘備録 / Memorandum of Mbed
dkato
0
150
RZ/A2MをMbedで動かしてみた / I tried running RZ_A2M with Mbed
dkato
0
800
WinbondさんのSample ShieldをGR-LYCHEEで動かしてみた / I tried Winbond's Sample Shield with GR-LYCHEE
dkato
0
700
Other Decks in Programming
See All in Programming
Claude CodeでETLジョブ実行テストを自動化してみた
yoshikikasama
0
1.2k
Terraform言語の静的解析 / static analysis of Terraform language
wata727
1
140
Claude Code × Gemini × Ebitengine ゲーム制作素人WebエンジニアがGoでゲームを作った話
webzawa
0
220
Agent Skills を社内で育てる仕組み作り
jackchuka
1
1.6k
The Less-Told Story of Socket Timeouts
coe401_
3
1k
いつか誰かが、と思っていた フロントエンド刷新5年間の実践知
kiichisugihara
1
260
認証統合から始めるフロントエンドの機能単位開発 — マイクロサービス思想の適用
koukimiura
0
100
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
550
Are We Really Coding 10× Faster with AI?
kohzas
0
130
運転動画を検索可能にする〜Cosmos-Embed1とDatabricks Vector Searchで〜/cosmos-embed1-databricks-vector-search
studio_graph
1
660
My daily life on Ruby
a_matsuda
3
190
JAWS-UG横浜 #100 祝・第100回スペシャルAWS は VPC レスの時代へ
maroon1st
0
220
Featured
See All Featured
Building Adaptive Systems
keathley
44
3k
Design in an AI World
tapps
1
210
How GitHub (no longer) Works
holman
316
150k
So, you think you're a good person
axbom
PRO
2
2k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
550
How to Think Like a Performance Engineer
csswizardry
28
2.6k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
The SEO Collaboration Effect
kristinabergwall1
1
440
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.9k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
43k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
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