SlideShare une entreprise Scribd logo
1  sur  47
Télécharger pour lire hors ligne
Arduino & Android
Michał Tuszyński, iOS/Android Developer
twitter, github: @srgtuszy
Roadmap
1. Arduino primer
2. USB
3. NFC
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
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

- Is the power source
- Keeps track of connected devices
- Initiates the data transfer

•

Slave

- 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
Open Accessory Protocol
Accessory Permissions
Open Accessory Protocol
The easy way

Raspberry Pi + powered usb hub + adb
Open Accessory Protocol
The easy way

adb shell
am start -a pl.myapp.action.DO_SOMETHING
Accessory Demo
NFC
NFC

Builds upon RFID system by allowing
two-way communication between endpoints
NFC
How does RFID work?

Energy

Reader

Data

Tag
NFC

NDEF
NFC
NFC

1. Tag reader/writer
2. P2P (Android Beam)
3. Card Emulation
NFC

Android Beam
NFC
Android Beam

•
•

Uses Bluetooth for file processing
On Samsung, it’s called S Beam
NFC
Card Emulation
NFC
Card Emulation

- With Secure Element
- Without Secure Element
NFC

Card Emulation
NFC
Card Emulation
HostApduService
NFC
Card Emulation
HostApduService
NFC
Card Emulation

Limitations
NFC
Card Emulation

Earlier versions?
NFC
Card Emulation

Secure Element
NFC
Card Emulation
NFC
Card Emulation
NFC

Tag dispatch system
NFC
NFC
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

Contenu connexe

Tendances

What is arduino? and its type
What is arduino? and its typeWhat is arduino? and its type
What is arduino? and its typeDarshanGawde
 
Android Open Accessory Protocol - Turn Your Linux machine as ADK
Android Open Accessory Protocol - Turn Your Linux machine as ADKAndroid Open Accessory Protocol - Turn Your Linux machine as ADK
Android Open Accessory Protocol - Turn Your Linux machine as ADKRajesh Sola
 
Hardware Wednesday 2015-03-25
Hardware Wednesday 2015-03-25Hardware Wednesday 2015-03-25
Hardware Wednesday 2015-03-25Stevica Kuharski
 
OpenVR at Arduino Day Malmö
OpenVR at Arduino Day MalmöOpenVR at Arduino Day Malmö
OpenVR at Arduino Day MalmöAhmet YILDIRIM
 
I/O 2011 報告会 ADKで遊んでみた
I/O 2011 報告会 ADKで遊んでみたI/O 2011 報告会 ADKで遊んでみた
I/O 2011 報告会 ADKで遊んでみたMakoto Yamazaki
 
Arduino Mario Belinchón
Arduino Mario BelinchónArduino Mario Belinchón
Arduino Mario BelinchónMARIOBELINCHON
 
Development, debug and deploy hardware/software solutions based on Android an...
Development, debug and deploy hardware/software solutions based on Android an...Development, debug and deploy hardware/software solutions based on Android an...
Development, debug and deploy hardware/software solutions based on Android an...Илья Родин
 
From Arduino to ADK
From Arduino to ADKFrom Arduino to ADK
From Arduino to ADKCoLab Athens
 
Making arduino-talk-with-android-using-amarino
Making arduino-talk-with-android-using-amarinoMaking arduino-talk-with-android-using-amarino
Making arduino-talk-with-android-using-amarinoSudar Muthu
 
How to choose video projector
How to choose video projectorHow to choose video projector
How to choose video projectorAbby wang
 
Leveraging the Android Open Accessory Protocol
Leveraging the Android Open Accessory ProtocolLeveraging the Android Open Accessory Protocol
Leveraging the Android Open Accessory ProtocolGary Bisson
 

Tendances (19)

Hacktime for adk
Hacktime for adkHacktime for adk
Hacktime for adk
 
What is arduino? and its type
What is arduino? and its typeWhat is arduino? and its type
What is arduino? and its type
 
Android Open Accessory Protocol - Turn Your Linux machine as ADK
Android Open Accessory Protocol - Turn Your Linux machine as ADKAndroid Open Accessory Protocol - Turn Your Linux machine as ADK
Android Open Accessory Protocol - Turn Your Linux machine as ADK
 
Hardware Wednesday 2015-03-25
Hardware Wednesday 2015-03-25Hardware Wednesday 2015-03-25
Hardware Wednesday 2015-03-25
 
OpenVR at Arduino Day Malmö
OpenVR at Arduino Day MalmöOpenVR at Arduino Day Malmö
OpenVR at Arduino Day Malmö
 
I/O 2011 報告会 ADKで遊んでみた
I/O 2011 報告会 ADKで遊んでみたI/O 2011 報告会 ADKで遊んでみた
I/O 2011 報告会 ADKで遊んでみた
 
Our arduino project
Our arduino projectOur arduino project
Our arduino project
 
RD_M1_S
RD_M1_SRD_M1_S
RD_M1_S
 
Arduino Mario Belinchón
Arduino Mario BelinchónArduino Mario Belinchón
Arduino Mario Belinchón
 
Development, debug and deploy hardware/software solutions based on Android an...
Development, debug and deploy hardware/software solutions based on Android an...Development, debug and deploy hardware/software solutions based on Android an...
Development, debug and deploy hardware/software solutions based on Android an...
 
From Arduino to ADK
From Arduino to ADKFrom Arduino to ADK
From Arduino to ADK
 
Arduino board
Arduino boardArduino board
Arduino board
 
Making arduino-talk-with-android-using-amarino
Making arduino-talk-with-android-using-amarinoMaking arduino-talk-with-android-using-amarino
Making arduino-talk-with-android-using-amarino
 
Tipo de conectores
Tipo de conectoresTipo de conectores
Tipo de conectores
 
Tipos de conectores
Tipos de conectoresTipos de conectores
Tipos de conectores
 
How to choose video projector
How to choose video projectorHow to choose video projector
How to choose video projector
 
Leveraging the Android Open Accessory Protocol
Leveraging the Android Open Accessory ProtocolLeveraging the Android Open Accessory Protocol
Leveraging the Android Open Accessory Protocol
 
Our arduino project
Our arduino projectOur arduino project
Our arduino project
 
Tech Talk IOT
Tech Talk IOTTech Talk IOT
Tech Talk IOT
 

En vedette

Communication entre android et arduino via bluetooth
Communication entre android et arduino via bluetoothCommunication entre android et arduino via bluetooth
Communication entre android et arduino via bluetoothBedis ElAchèche
 
Controlling an Arduino with Android
Controlling an Arduino with AndroidControlling an Arduino with Android
Controlling an Arduino with AndroidA. Hernandez
 
Xamarin.Android + Arduino : Hacking Robots
Xamarin.Android + Arduino : Hacking RobotsXamarin.Android + Arduino : Hacking Robots
Xamarin.Android + Arduino : Hacking RobotsAlejandro Ruiz Varela
 
Introduction to cross platform natitve mobile development with c# and xamarin
Introduction to cross platform natitve mobile development with c# and xamarinIntroduction to cross platform natitve mobile development with c# and xamarin
Introduction to cross platform natitve mobile development with c# and xamarinJames Montemagno
 
Arduino + Azure: Dal circuito allo sketch e controllo remoto con una app web ...
Arduino + Azure: Dal circuito allo sketch e controllo remoto con una app web ...Arduino + Azure: Dal circuito allo sketch e controllo remoto con una app web ...
Arduino + Azure: Dal circuito allo sketch e controllo remoto con una app web ...Giuseppe Cramarossa
 
C# Powered Robots, C# Powered Mobile Apps
C# Powered Robots, C# Powered Mobile AppsC# Powered Robots, C# Powered Mobile Apps
C# Powered Robots, C# Powered Mobile AppsJames Montemagno
 
Motion control application for clean room robot
Motion control application for clean room robotMotion control application for clean room robot
Motion control application for clean room robotElmo Motion Control
 
Advanced Rational Robot A Tribute (http://www.geektester.blogspot.com)
Advanced Rational Robot   A Tribute (http://www.geektester.blogspot.com)Advanced Rational Robot   A Tribute (http://www.geektester.blogspot.com)
Advanced Rational Robot A Tribute (http://www.geektester.blogspot.com)raj.kamal13
 
Android + Bluetooth + Arduino
Android + Bluetooth + ArduinoAndroid + Bluetooth + Arduino
Android + Bluetooth + ArduinoJonathan Alvarado
 
Robot Tele-operation System Based on GPRS
Robot Tele-operation System Based on GPRSRobot Tele-operation System Based on GPRS
Robot Tele-operation System Based on GPRSarunjps
 
Bluetooth remote control... from your mobile phone
Bluetooth remote control... from your mobile phoneBluetooth remote control... from your mobile phone
Bluetooth remote control... from your mobile phoneBebe Bilguun
 
Android mobile phone controlled bluetooth robot
Android mobile phone controlled bluetooth robotAndroid mobile phone controlled bluetooth robot
Android mobile phone controlled bluetooth robotDisha Akash
 
Robo wireless controll
Robo wireless controllRobo wireless controll
Robo wireless controllSumit Saini
 
Fire fighting robot remotely operated by android applications
Fire fighting robot remotely operated by android applicationsFire fighting robot remotely operated by android applications
Fire fighting robot remotely operated by android applicationsEdgefxkits & Solutions
 
Bluetooth controlled android car
Bluetooth controlled android car Bluetooth controlled android car
Bluetooth controlled android car doaamarzook
 
Arc application remote control using bluetooth
Arc   application remote control using bluetoothArc   application remote control using bluetooth
Arc application remote control using bluetoothSonam M
 
Android bluetooth robot
Android  bluetooth robotAndroid  bluetooth robot
Android bluetooth robotSathish Raju
 

En vedette (20)

Communication entre android et arduino via bluetooth
Communication entre android et arduino via bluetoothCommunication entre android et arduino via bluetooth
Communication entre android et arduino via bluetooth
 
Controlling an Arduino with Android
Controlling an Arduino with AndroidControlling an Arduino with Android
Controlling an Arduino with Android
 
Xamarin.Android + Arduino : Hacking Robots
Xamarin.Android + Arduino : Hacking RobotsXamarin.Android + Arduino : Hacking Robots
Xamarin.Android + Arduino : Hacking Robots
 
Introduction to cross platform natitve mobile development with c# and xamarin
Introduction to cross platform natitve mobile development with c# and xamarinIntroduction to cross platform natitve mobile development with c# and xamarin
Introduction to cross platform natitve mobile development with c# and xamarin
 
Smart Switch
Smart SwitchSmart Switch
Smart Switch
 
Arduino + Azure: Dal circuito allo sketch e controllo remoto con una app web ...
Arduino + Azure: Dal circuito allo sketch e controllo remoto con una app web ...Arduino + Azure: Dal circuito allo sketch e controllo remoto con una app web ...
Arduino + Azure: Dal circuito allo sketch e controllo remoto con una app web ...
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
C# Powered Robots, C# Powered Mobile Apps
C# Powered Robots, C# Powered Mobile AppsC# Powered Robots, C# Powered Mobile Apps
C# Powered Robots, C# Powered Mobile Apps
 
Motion control application for clean room robot
Motion control application for clean room robotMotion control application for clean room robot
Motion control application for clean room robot
 
Advanced Rational Robot A Tribute (http://www.geektester.blogspot.com)
Advanced Rational Robot   A Tribute (http://www.geektester.blogspot.com)Advanced Rational Robot   A Tribute (http://www.geektester.blogspot.com)
Advanced Rational Robot A Tribute (http://www.geektester.blogspot.com)
 
Android + Bluetooth + Arduino
Android + Bluetooth + ArduinoAndroid + Bluetooth + Arduino
Android + Bluetooth + Arduino
 
Robot Tele-operation System Based on GPRS
Robot Tele-operation System Based on GPRSRobot Tele-operation System Based on GPRS
Robot Tele-operation System Based on GPRS
 
Bluetooth remote control... from your mobile phone
Bluetooth remote control... from your mobile phoneBluetooth remote control... from your mobile phone
Bluetooth remote control... from your mobile phone
 
Android mobile phone controlled bluetooth robot
Android mobile phone controlled bluetooth robotAndroid mobile phone controlled bluetooth robot
Android mobile phone controlled bluetooth robot
 
Robo wireless controll
Robo wireless controllRobo wireless controll
Robo wireless controll
 
Fire fighting robot remotely operated by android applications
Fire fighting robot remotely operated by android applicationsFire fighting robot remotely operated by android applications
Fire fighting robot remotely operated by android applications
 
Robotic control
Robotic controlRobotic control
Robotic control
 
Bluetooth controlled android car
Bluetooth controlled android car Bluetooth controlled android car
Bluetooth controlled android car
 
Arc application remote control using bluetooth
Arc   application remote control using bluetoothArc   application remote control using bluetooth
Arc application remote control using bluetooth
 
Android bluetooth robot
Android  bluetooth robotAndroid  bluetooth robot
Android bluetooth robot
 

Similaire à Arduino & Android: Connecting Devices via USB, NFC, and WIFI

IoT prototyping made simple
IoT prototyping made simpleIoT prototyping made simple
IoT prototyping made simpleBhavana Srinivas
 
Implementation of an Arduino Remote Laboratory with Raspberry Pi
Implementation of an Arduino Remote Laboratory with Raspberry PiImplementation of an Arduino Remote Laboratory with Raspberry Pi
Implementation of an Arduino Remote Laboratory with Raspberry PiManuel Castro
 
11_04_2019 EDUCON Award: "Implementation of an arduino remoto laboratory with...
11_04_2019 EDUCON Award: "Implementation of an arduino remoto laboratory with...11_04_2019 EDUCON Award: "Implementation of an arduino remoto laboratory with...
11_04_2019 EDUCON Award: "Implementation of an arduino remoto laboratory with...eMadrid network
 
ch4-Software is Everywhere
ch4-Software is Everywherech4-Software is Everywhere
ch4-Software is Everywheressuser06ea42
 
U Plug, We Play - NED Summit. Cork, Ireland
U Plug, We Play - NED Summit. Cork, IrelandU Plug, We Play - NED Summit. Cork, Ireland
U Plug, We Play - NED Summit. Cork, IrelandDTM Security
 
Breaking into Open Source and Linux: A USB 3.0 Success Story
Breaking into Open Source and Linux: A USB 3.0 Success StoryBreaking into Open Source and Linux: A USB 3.0 Success Story
Breaking into Open Source and Linux: A USB 3.0 Success StorySage Sharp
 
Contruindo Robots com Java Embedded Suite, Raspberry PI, Arduino e Things API
Contruindo Robots com Java Embedded Suite, Raspberry PI, Arduino e Things APIContruindo Robots com Java Embedded Suite, Raspberry PI, Arduino e Things API
Contruindo Robots com Java Embedded Suite, Raspberry PI, Arduino e Things APIGlobalcode
 
2.2. Introduction to Arduino
2.2. Introduction to Arduino2.2. Introduction to Arduino
2.2. Introduction to Arduinodefconmoscow
 
Taller IoT en la Actualidad
Taller IoT en la ActualidadTaller IoT en la Actualidad
Taller IoT en la ActualidadLaurence HR
 
Intro to Open Source Hardware (OSHW)
Intro to Open Source Hardware (OSHW)Intro to Open Source Hardware (OSHW)
Intro to Open Source Hardware (OSHW)Drew Fustini
 

Similaire à Arduino & Android: Connecting Devices via USB, NFC, and WIFI (20)

IoT prototyping made simple
IoT prototyping made simpleIoT prototyping made simple
IoT prototyping made simple
 
Implementation of an Arduino Remote Laboratory with Raspberry Pi
Implementation of an Arduino Remote Laboratory with Raspberry PiImplementation of an Arduino Remote Laboratory with Raspberry Pi
Implementation of an Arduino Remote Laboratory with Raspberry Pi
 
11_04_2019 EDUCON Award: "Implementation of an arduino remoto laboratory with...
11_04_2019 EDUCON Award: "Implementation of an arduino remoto laboratory with...11_04_2019 EDUCON Award: "Implementation of an arduino remoto laboratory with...
11_04_2019 EDUCON Award: "Implementation of an arduino remoto laboratory with...
 
ch4-Software is Everywhere
ch4-Software is Everywherech4-Software is Everywhere
ch4-Software is Everywhere
 
U Plug, We Play - NED Summit. Cork, Ireland
U Plug, We Play - NED Summit. Cork, IrelandU Plug, We Play - NED Summit. Cork, Ireland
U Plug, We Play - NED Summit. Cork, Ireland
 
Breaking into Open Source and Linux: A USB 3.0 Success Story
Breaking into Open Source and Linux: A USB 3.0 Success StoryBreaking into Open Source and Linux: A USB 3.0 Success Story
Breaking into Open Source and Linux: A USB 3.0 Success Story
 
I Love APIs 2015: IOT Lab
I Love APIs 2015: IOT LabI Love APIs 2015: IOT Lab
I Love APIs 2015: IOT Lab
 
IoT Heaps 5
IoT Heaps 5IoT Heaps 5
IoT Heaps 5
 
Contruindo Robots com Java Embedded Suite, Raspberry PI, Arduino e Things API
Contruindo Robots com Java Embedded Suite, Raspberry PI, Arduino e Things APIContruindo Robots com Java Embedded Suite, Raspberry PI, Arduino e Things API
Contruindo Robots com Java Embedded Suite, Raspberry PI, Arduino e Things API
 
IOT Lecture 6.pdf
IOT Lecture 6.pdfIOT Lecture 6.pdf
IOT Lecture 6.pdf
 
IOT Lecture 6.pptx
IOT Lecture 6.pptxIOT Lecture 6.pptx
IOT Lecture 6.pptx
 
Open source media
Open source mediaOpen source media
Open source media
 
ON.LAB Mininet
ON.LAB MininetON.LAB Mininet
ON.LAB Mininet
 
2.2. Introduction to Arduino
2.2. Introduction to Arduino2.2. Introduction to Arduino
2.2. Introduction to Arduino
 
Taller IoT en la Actualidad
Taller IoT en la ActualidadTaller IoT en la Actualidad
Taller IoT en la Actualidad
 
Node-Red
Node-RedNode-Red
Node-Red
 
Intro to Open Source Hardware (OSHW)
Intro to Open Source Hardware (OSHW)Intro to Open Source Hardware (OSHW)
Intro to Open Source Hardware (OSHW)
 
Iot lab manual new
Iot lab manual newIot lab manual new
Iot lab manual new
 
Android のusb support
Android のusb supportAndroid のusb support
Android のusb support
 
Chapter-7.pdf
Chapter-7.pdfChapter-7.pdf
Chapter-7.pdf
 

Dernier

Inspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptxInspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptxShubham Rawat
 
(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)oannq
 
南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证kbdhl05e
 
Spiritual Life Quote from Shiva Negi
Spiritual Life Quote from Shiva Negi Spiritual Life Quote from Shiva Negi
Spiritual Life Quote from Shiva Negi OneDay18
 
integrity in personal relationship (1).pdf
integrity in personal relationship (1).pdfintegrity in personal relationship (1).pdf
integrity in personal relationship (1).pdfAmitRout25
 
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...Authentic No 1 Amil Baba In Pakistan
 
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...JeylaisaManabat1
 
Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?
Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?
Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?Mikko Kangassalo
 

Dernier (8)

Inspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptxInspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptx
 
(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)
 
南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证
 
Spiritual Life Quote from Shiva Negi
Spiritual Life Quote from Shiva Negi Spiritual Life Quote from Shiva Negi
Spiritual Life Quote from Shiva Negi
 
integrity in personal relationship (1).pdf
integrity in personal relationship (1).pdfintegrity in personal relationship (1).pdf
integrity in personal relationship (1).pdf
 
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
 
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
 
Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?
Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?
Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?
 

Arduino & Android: Connecting Devices via USB, NFC, and WIFI