Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Arduino YÚNをはじめよう!
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Hiroyuki Okada
April 06, 2016
Technology
98
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Arduino YÚNをはじめよう!
大阪版IoT縛りの勉強会Vol.2の資料です。
Hiroyuki Okada
April 06, 2016
More Decks by Hiroyuki Okada
See All by Hiroyuki Okada
Introduction of RedMobile
okhiroyuki
0
320
子供でもArduinoを操作できるBlocklyDuinoの紹介
okhiroyuki
3
930
Other Decks in Technology
See All in Technology
20260930_Gemma4_Hands-on
tsho
0
230
生成AIと進める探索的データ分析(2026.10.03 第122回Tokyo.R勉強会)
tatamiya
2
1.4k
使いこなすために知っておきたい Azure SRE Agent アンチパターン
torumakabe
2
350
Snapshot Testing in Practice: Predictable and Reliable SwiftUI Views
fespinoza
0
120
Meet AgentCore Identity Consent Portal
hironobuiga
3
190
freeeらしさをAIとともに作る / Creating the freee Experience with AI
ymrl
0
200
AI 時代の Azure エンジニアリング ~ 私たちは何を磨き、何を任せるのか ~
chack411
1
470
データ品質を壊しながらSnowflakeのAIに分析させてみた
kawanago
0
510
FinTech 1-2 : Overview of FinTech
ks91
PRO
0
150
今こそ知りたいAmplifyGen2
mkdev10
2
150
全社共通データ基盤をつくる。ソニーのDatabricks活用とデータガバナンス設計の裏側
sony
0
430
AgentCoreで実践するハーネスエンジニアリング
yakumo
1
280
Featured
See All Featured
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
420
RailsConf 2023
tenderlove
30
1.6k
The Curse of the Amulet
leimatthew05
3
15k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
46k
Into the Great Unknown - MozCon
thekraken
41
2.8k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
490
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
710
WCS-LA-2024
lcolladotor
0
840
Leo the Paperboy
mayatellez
10
2.3k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
420
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
470
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
Transcript
Arduino YÚNをはじめよう! 大阪版IoT縛りの勉強会Vol.2
自己紹介 名前:岡田裕行(facebook.com/okhiroyuki) 所属:土木計測コンサルタント(〜3月末) → ユニロボット株式会社(4月〜) プライベート: • CoderDojo 西宮/梅田 Arduino島メンター • Arduino用ビジュアルプログラミングエディタ
Blocklyduino の開発
ユニロボット 株式会社って? facebook.com/unibo.official 世界初の個性を学習するパートナーロ ボット「unibo」を開発するスタートアップ ベンチャー
IoTラピッドプロトタイピングデバイス
各種デバイスの特徴 Arduino YÚN (Linino One) ESP-WROOM-02 Arduino互換ボード Raspberry Pi mbed
IO電圧 5V 3.3V (5Vトレラント) 3.3V 3.3V GPIO 20 14 8 25 アナログ入力 12 10bit 1 10bit N/A 8 12bit I2C 1 1 2 2 SPI 1 1 N/A 2 PWM 7 6 N/A 6 インターネット への接続 Wi-Fi標準搭載 Wi-Fi標準搭載 有線LAN or Wi-Fi 標準搭載なし
Arduino YÚNの特徴 • Arduino Leonardo(ATmega32u4)をベースと し、無線機能(Wi-Fi)付きのLinuxボードを搭 載したArduino • インターネットへの接続はLinux側が担当し、 Bridge機能を介してArduinoとLinuxが相互に
通信しあう仕組み インターネット 電子工作 (モノ)
Arduino YÚNの良さ • Arduinoとして、普通に使える • 電源抜いても、OSが飛ばない!? • DHCPで振られたIPアドレスが簡単にわかる!! • いろんなサービスから便利なライブラリが配布されている
◦ AWS IoT ◦ IFTTT ◦ M2X ◦ Blink ◦ Nifty Mobile Backend などなど • Arduino と Linuxがうまく共存している ◦ Linux側で書いたスクリプトを Arduinoから呼び出せたりする ◦ スクリプトなら、なんでもこい!( python, Lua, Node.jsなど)
IPアドレスの確認方法 サンプルコードにある WifiStatusを書き込むことで、 シリアルコンソール上からIPア ドレスを確認できる。 Linux側のLuaスクリプトを叩 いて、出力をArduino側で受 け取っている
便利なサービスの一例(M2X) M2Xとは、AT&Tが提供しているIoT専用のクラウドデータストレージサービス ストレージ機能以外に、下記のような機能がある。 • デバイス管理 • メッセージブローカリング • イベントトリガー •
アラーム • データの可視化
M2Xのコスト 下記の範囲であれば、無料で使えます。 • 登録デバイス数: 10デバイス • アップロードデータ数: 月1万まで • データの読み込み:
無制限
M2Xを使う手順 • M2X側での準備 ◦ Deviceの作成 ◦ Streamの作成 • Arduino側での準備 ◦
Arduino IDEへの各種ライブラリの追加 ◦ スケッチの作成&書き込み 以上!
M2X側でデバイスを登録
データストリームを作成
サンプルコード(M2XPost)の編集 サンプルコード • https://github.com/attm2x/m2x-arduino 主な編集項目 • deviceID:デバイスID • streamName:ストリーム名 •
m2xKey:API KEY
リアルタイムでグラフ上に数値がプロットされます
その他サービスの参考記事 • ニフティクラウド MobileBackend Arduino YÚNから直接mBaaSにデータをアップロードするが参考になります。 • AWS IoT Switch Sienceさんのサイトを参考にすると、Lambdaとの連動は比較的簡単に出来ます。
◦ LambdaからIoT経由でArduino Yúnへ(前編) ◦ LambdaからIoT経由でArduino Yúnへ(後編) • Linino One関係 Arduino YÚN互換のボードに関する情報は、Qiitaにアップしてます。 ◦ Linino Oneを始めよう! ◦ Linino Oneのファームウェアアップデート
Arduino YÚNってお高いんでしょ? • SeeedStudio.comから 発売されているLinkIt は、なんと$15.90 • ぜひとも、技適を!!
DojoCon Japan 2016 を開催します! http://dojocon.coderdojo.jp/
開発エンジニア 絶賛募集中! 東京・大阪で一緒に AIロボットを開発してくれる 技術者を探してます! Javascript, Node.js, Android, Python 詳細は、Wantedlyを!
Let’s Make With Arduino. Thank you!