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
96
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
780
WinbondさんのSample ShieldをGR-LYCHEEで動かしてみた / I tried Winbond's Sample Shield with GR-LYCHEE
dkato
0
680
Other Decks in Programming
See All in Programming
Software Architecture
hschwentner
6
2.3k
Range on Rails ―「多重範囲型」という新たな選択肢が、複雑ロジックを劇的にシンプルにしたワケ
rizap_tech
0
6.7k
Reactive Thinking with Signals and the Resource API
manfredsteyer
PRO
0
100
「ちょっと古いから」って避けてた技術書、今だからこそ読もう
mottyzzz
11
7k
SODA - FACT BOOK(JP)
sodainc
1
8.6k
エンジニアインターン「Treasure」とHonoの2年、そして未来へ / Our Journey with Hono Two Years at Treasure and Beyond
carta_engineering
0
400
モテるデスク環境
mozumasu
3
1k
PHPに関数型の魂を宿す〜PHP 8.5 で実現する堅牢なコードとは〜 #phpcon_hiroshima / phpcon-hiroshima-2025
shogogg
1
320
Devvox Belgium - Agentic AI Patterns
kdubois
1
140
AI 駆動開発におけるコミュニティと AWS CDK の価値
konokenj
4
130
スマホから Youtube Shortsを見られないようにする
lemolatoon
27
33k
なんでRustの環境構築してないのにRust製のツールが動くの? / Why Do Rust-Based Tools Run Without a Rust Environment?
ssssota
2
3.4k
Featured
See All Featured
What's in a price? How to price your products and services
michaelherold
246
12k
A Modern Web Designer's Workflow
chriscoyier
697
190k
Documentation Writing (for coders)
carmenintech
75
5.1k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
For a Future-Friendly Web
brad_frost
180
10k
Bash Introduction
62gerente
615
210k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
Reflections from 52 weeks, 52 projects
jeffersonlam
353
21k
How to train your dragon (web standard)
notwaldorf
97
6.3k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.5k
Building an army of robots
kneath
306
46k
How STYLIGHT went responsive
nonsquared
100
5.8k
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