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
Arduino YÚNをはじめよう!
Search
Hiroyuki Okada
April 06, 2016
Technology
85
0
Share
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
290
子供でもArduinoを操作できるBlocklyDuinoの紹介
okhiroyuki
3
910
Other Decks in Technology
See All in Technology
(きっとたぶん)人材育成や教育のような何かの話
sejima
0
650
国内外の生成AIセキュリティの最新動向 & AIガードレール製品「chakoshi」のご紹介 / Latest Trends in Generative AI Security (Domestic & International) & Introduction to AI Guardrail Product "chakoshi"
nttcom
4
2.1k
「誰一人取り残されない」 AIエージェント時代のプロダクト設計思想 Product Management Summit 2026
mizushimac
1
3k
Modernizing Your HCL Connections Experience: Visual Report to chain, Profile Enhancements, and AI Integration
wannesrams
0
290
雑談は、センサーだった
bitkey
PRO
2
210
Agents CLI と Gemini Enterprise Agent Platform で マルチエージェント開発が楽しくなる!
kaz1437
0
250
拝啓、あの夏の僕へ〜あなたも知っているApp Runnerの世界〜
news_it_enj
0
220
20260428_Product Management Summit_tadokoroyoshiro
tadokoro_yoshiro
15
18k
ボトムアップ限界を越える - 20チームを束る "Drive Map" / Beyond Bottom-Up: A 'Drive Map' for 20 Teams
kaonavi
0
140
ブラウザの投機的読み込みと投機ルールAPIを理解し、Webサービスのパフォーマンスを最適化する
shuta13
3
290
Digital Independence: Why, When and How
wannesrams
0
290
Building Production-Ready Agents Microsoft Agent Framework
_mertmetin
0
160
Featured
See All Featured
Done Done
chrislema
186
16k
Designing Experiences People Love
moore
143
24k
Skip the Path - Find Your Career Trail
mkilby
1
110
Chasing Engaging Ingredients in Design
codingconduct
0
180
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
130
Typedesign – Prime Four
hannesfritz
42
3k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
280
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
65
55k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
490
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
900
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
530
Joys of Absence: A Defence of Solitary Play
codingconduct
1
360
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!