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
Connecting Arduino & Android
Search
Michał
November 26, 2013
Programming
2
120
Connecting Arduino & Android
Connecting Arduino and Android talk from droidcon.nl 2013
Michał
November 26, 2013
Tweet
Share
More Decks by Michał
See All by Michał
Objective-C Runtime
srgtuszy
0
69
Other Decks in Programming
See All in Programming
奥深くて厄介な「改行」と仲良くなる20分
oguemon
1
620
半自動E2Eで手っ取り早くリグレッションテストを効率化しよう
beryu
4
710
そのAPI、誰のため? Androidライブラリ設計における利用者目線の実践テクニック
mkeeda
2
4.9k
Web技術を最大限活用してRAW画像を現像する / Developing RAW Images on the Web
ssssota
1
390
print("Hello, World")
eddie
2
540
Android StudioのAIコーディングツール、 ぶっちゃけどうなん???
mkeeda
0
160
ProxyによるWindow間RPC機構の構築
syumai
3
1.2k
麻雀点数計算問題生成タスクから学ぶ Single Agentの限界と Agentic Workflowの底力
po3rin
3
1.1k
Putting The Genie in the Bottle - A Crash Course on running LLMs on Android
iurysza
0
150
ユーザーも開発者も悩ませない TV アプリ開発 ~Compose の内部実装から学ぶフォーカス制御~
taked137
0
210
実践AIチャットボットUI実装入門
syumai
3
1.6k
メモリ不足との戦い〜大量データを扱うアプリでの実践例〜
kwzr
1
240
Featured
See All Featured
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
33
2.4k
The World Runs on Bad Software
bkeepers
PRO
71
11k
Learning to Love Humans: Emotional Interface Design
aarron
274
40k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6k
Designing for Performance
lara
610
69k
Building an army of robots
kneath
306
46k
Typedesign – Prime Four
hannesfritz
42
2.8k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
3k
Balancing Empowerment & Direction
lara
4
640
The Power of CSS Pseudo Elements
geoffreycrofte
77
6k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.1k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.1k
Transcript
Arduino & Android Michał Tuszyński, iOS/Android Developer twitter, github: @srgtuszy
Roadmap 2. USB 3. NFC 1. Arduino primer 5. Arduino
boards overview 4. WIFI
Arduino Primer Arduino is an open source hardware prototyping platform
Arduino Primer What makes it special? • Easiness to use
• Modularity • Awesome community support
Arduino Primer
Open Accessory Protocol Google’s protocol for usb communication with third
party devices
Open Accessory Protocol How does USB work?
Open Accessory Protocol How does USB work? • Host •
Slave
Open Accessory Protocol How does USB work? • Host •
Slave - Is the power source - Keeps track of connected devices - Initiates the data transfer - Communicates with host via endpoints - Can draw power from host - Describes it’s protocols & capabilities to the host
Open Accessory Protocol How does USB work?
Open Accessory Protocol Using your app with accessory
Open Accessory Protocol
Open Accessory Protocol
Open Accessory Protocol Accessory Permissions
Accessory Demo
NFC
NFC Builds upon RFID system by allowing two-way communication between
endpoints
NFC How does RFID work? Reader Tag Energy Data
NFC LLCP
NFC NDEF
NFC
NFC Android Beam
NFC Android Beam • Default solution for NDEF messages •
Uses Bluetooth for file processing • On Samsung, it’s called S Beam
NFC Tag dispatch system
NFC
NFC
NFC Talking to Android via NFC • LLCP stack •
SNEP server
NFC The easy way: card emulation via HostApduService
NFC Demo
WIFI
WIFI Arduino Yun
WIFI Arduino Yun = arduino + OpenWrt
WIFI Bridge
WIFI Bridge
WIFI DEMO
Wrap Up
Thank You! Michał Tuszyński, iOS/Android Developer Twitter, Github: @srgtuszy