SlideShare a Scribd company logo
1 of 39
Download to read offline
From Sensor Data To Android And Back
droidcon 2014
09.05.2014, Lars Gregori, msgGillardon AG
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014
Lars Gregori
 Kommunikationselektroniker (Funktechnik)
 Informatik Fachrichtung Wirtschaft (FH)
 Softwaredeveloper (Java Enterprise, Android, CoC)
 Arduino, IOIO Board
2
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 3
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014
Sensors
4
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014
Sensors
 Mobile Phone Sensors
 External Sensors
5
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014
Mobile Phone Sensors
 http://developer.android.com/guide/topics/sensors/sensors_overview.html
 Motion sensors
 Environmental sensors
 Position sensors
6
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014
Mobile Phone Sensors
 http://developer.android.com/guide/topics/sensors/sensors_overview.html
 TYPE_ACCELEROMETER
 TYPE_AMBIENT_TEMPERATURE
 TYPE_GRAVITY
 TYPE_GYROSCOPE
 TYPE_LIGHT
 TYPE_LINEAR_ACCELERATION
 TYPE_MAGNETIC_FIELD
 TYPE_ORIENTATION
 TYPE_PRESSURE
 TYPE_PROXIMITY
 TYPE_RELATIVE_HUMIDITY
 TYPE_ROTATION_VECTOR
 TYPE_TEMPERATURE
7
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014
External Sensors
8
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014
External Sensors
9
WHY
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014
External Sensors
10
WHY
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014
External Sensors
11
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 12
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 13
Sensor Actuator
Android
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014
Actuator
14
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 15
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 16
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 17
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 18
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 19
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 20
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 21
Sensor Actuator
Android
Logic
IOIO
Board
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 22
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 23
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014
IOIO Board
 pronounced "yo-yo"
 https://github.com/ytai/ioio/wiki
 Host for Android and PC
 USB or Bluetooth
 ADB and OpenAccessory (ADK)
 high-level Java API (Android Apps)
 Digital Input/Output, PWM, Analog Input, I2C, SPI and UART
24
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 25
Sensor Actuator
Android
Business
Logic
IOIO
Board
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014
Communication
 Android and IOIO Board
 USB or Bluetooth
 IOIO Board and Sensor
 direct
 wireless (e.g. 433 MHz transmitter / receiver)
 IOIO Board and Controller
 direct
 wireless (e.g. 433 MHz transmitter / receiver)
26
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 27
Sensor Actuator
Android
Business
Logic
IOIO
Board
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014
IOIO Example
28
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014
IOIO Example
29
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014
NFC TagWriter by NXP
 com.nxp.nfc.tagwriter
30
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 31
Demo
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014
Source Code
32
class Looper extends BaseIOIOLooper {
private PwmOutput ledGreen_;
private PwmOutput ledBlue_;
private PwmOutput ledRed_;
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014
Source Code
33
@Override
protected void setup() {
uart_ = ioio_.openUart(RX_PIN, TX_PIN, BAUD, …
in_ = uart_.getInputStream();
out_ = uart_.getOutputStream();
ledRed_ = ioio_.openPwmOutput(5, 100);
ledGreen_ = ioio_.openPwmOutput(6, 100);
ledBlue_ = ioio_.openPwmOutput(7, 100);
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014
Source Code
34
@Override
public void loop() {
ledRed_.setPulseWidth(red * 1);
ledGreen_.setPulseWidth(green * 3);
ledBlue_.setPulseWidth(blue * 5);
// reading SM130
int rx1 = in_.read();
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014
SM130
35
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 36
Questions
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014
 lars.gregori@gmail.com
 +LarsGregori
 @choas
37
Wir bedanken uns für Ihre Aufmerksamkeit!
msgGillardon AG
Robert-Bürkle-Str. 1
85737 Ismaning
> www.msg-gillardon.de
© 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014
Credit
 Fonts
 Famirids http://www.dafont.com/famirids.font
 Petita http://www.dafont.com/petita.font
39

More Related Content

Similar to From sensor data_to_android_and_back

Extreme IoT Games
Extreme IoT GamesExtreme IoT Games
Extreme IoT GamesMike Kavis
 
IPage UMS, Singapore Started Operations in India
IPage UMS, Singapore Started Operations in India IPage UMS, Singapore Started Operations in India
IPage UMS, Singapore Started Operations in India Dev R
 
A Survey on Vehicle Tracking System using IoT
A Survey on Vehicle Tracking System using IoTA Survey on Vehicle Tracking System using IoT
A Survey on Vehicle Tracking System using IoTIRJET Journal
 
Multi-Channel App Approach & The Future of Multi-Channel
Multi-Channel App Approach & The Future of Multi-ChannelMulti-Channel App Approach & The Future of Multi-Channel
Multi-Channel App Approach & The Future of Multi-ChannelDipesh Mukerji
 
Trip Tracking System
Trip Tracking SystemTrip Tracking System
Trip Tracking SystemIRJET Journal
 
IoT Predictions for 2019 and Beyond: Data at the Heart of Your IoT Strategy
IoT Predictions for 2019 and Beyond: Data at the Heart of Your IoT StrategyIoT Predictions for 2019 and Beyond: Data at the Heart of Your IoT Strategy
IoT Predictions for 2019 and Beyond: Data at the Heart of Your IoT StrategyDataWorks Summit
 
Droidcon Italy 2014 on Train
Droidcon Italy 2014 on TrainDroidcon Italy 2014 on Train
Droidcon Italy 2014 on TrainGiuseppe Cerratti
 
The State of IoT
The State of IoTThe State of IoT
The State of IoTMike Kavis
 
IRJET - IoT based Smart Vehicle Alert System for Accident Prevention
IRJET -  	  IoT based Smart Vehicle Alert System for Accident PreventionIRJET -  	  IoT based Smart Vehicle Alert System for Accident Prevention
IRJET - IoT based Smart Vehicle Alert System for Accident PreventionIRJET Journal
 
IoTMeetupGuildford#2: The IoT Ecosystem - Justin Anderson (FlexEye)
IoTMeetupGuildford#2: The IoT Ecosystem - Justin Anderson (FlexEye)IoTMeetupGuildford#2: The IoT Ecosystem - Justin Anderson (FlexEye)
IoTMeetupGuildford#2: The IoT Ecosystem - Justin Anderson (FlexEye)MicheleNati
 
IRJET- Campus Navigation System Based on Mobile Augmented Reality
IRJET- Campus Navigation System Based on Mobile Augmented RealityIRJET- Campus Navigation System Based on Mobile Augmented Reality
IRJET- Campus Navigation System Based on Mobile Augmented RealityIRJET Journal
 
IRJET- GPS Tracker & Alcohol Detector with Engine Locking System using GSM
IRJET- GPS Tracker & Alcohol Detector with Engine Locking System using GSMIRJET- GPS Tracker & Alcohol Detector with Engine Locking System using GSM
IRJET- GPS Tracker & Alcohol Detector with Engine Locking System using GSMIRJET Journal
 
2013 14 ieee android titles - jpinfotech
2013 14 ieee android titles - jpinfotech2013 14 ieee android titles - jpinfotech
2013 14 ieee android titles - jpinfotechJPINFOTECH JAYAPRAKASH
 
GPS tracking app development Steps, Cost and Features for 2024.pdf
GPS tracking app development Steps, Cost and Features for 2024.pdfGPS tracking app development Steps, Cost and Features for 2024.pdf
GPS tracking app development Steps, Cost and Features for 2024.pdfJPLoft Solutions
 
DEF CON 27 - workshop - POLOTO - hacking the android apk
DEF CON 27 - workshop - POLOTO - hacking the android apkDEF CON 27 - workshop - POLOTO - hacking the android apk
DEF CON 27 - workshop - POLOTO - hacking the android apkFelipe Prado
 
Bart schouw en Hans Heerooms - internet of things of internet of thingymabob ...
Bart schouw en Hans Heerooms - internet of things of internet of thingymabob ...Bart schouw en Hans Heerooms - internet of things of internet of thingymabob ...
Bart schouw en Hans Heerooms - internet of things of internet of thingymabob ...Sogeti Nederland B.V.
 
Internet of things 14-dec2013
Internet of things 14-dec2013Internet of things 14-dec2013
Internet of things 14-dec2013Lounge47
 

Similar to From sensor data_to_android_and_back (20)

Extreme IoT Games
Extreme IoT GamesExtreme IoT Games
Extreme IoT Games
 
IPage UMS, Singapore Started Operations in India
IPage UMS, Singapore Started Operations in India IPage UMS, Singapore Started Operations in India
IPage UMS, Singapore Started Operations in India
 
A Survey on Vehicle Tracking System using IoT
A Survey on Vehicle Tracking System using IoTA Survey on Vehicle Tracking System using IoT
A Survey on Vehicle Tracking System using IoT
 
Multi-Channel App Approach & The Future of Multi-Channel
Multi-Channel App Approach & The Future of Multi-ChannelMulti-Channel App Approach & The Future of Multi-Channel
Multi-Channel App Approach & The Future of Multi-Channel
 
Trip Tracking System
Trip Tracking SystemTrip Tracking System
Trip Tracking System
 
IoT Predictions for 2019 and Beyond: Data at the Heart of Your IoT Strategy
IoT Predictions for 2019 and Beyond: Data at the Heart of Your IoT StrategyIoT Predictions for 2019 and Beyond: Data at the Heart of Your IoT Strategy
IoT Predictions for 2019 and Beyond: Data at the Heart of Your IoT Strategy
 
Droidcon Italy 2014 on Train
Droidcon Italy 2014 on TrainDroidcon Italy 2014 on Train
Droidcon Italy 2014 on Train
 
The State of IoT
The State of IoTThe State of IoT
The State of IoT
 
IRJET - IoT based Smart Vehicle Alert System for Accident Prevention
IRJET -  	  IoT based Smart Vehicle Alert System for Accident PreventionIRJET -  	  IoT based Smart Vehicle Alert System for Accident Prevention
IRJET - IoT based Smart Vehicle Alert System for Accident Prevention
 
IoTMeetupGuildford#2: The IoT Ecosystem - Justin Anderson (FlexEye)
IoTMeetupGuildford#2: The IoT Ecosystem - Justin Anderson (FlexEye)IoTMeetupGuildford#2: The IoT Ecosystem - Justin Anderson (FlexEye)
IoTMeetupGuildford#2: The IoT Ecosystem - Justin Anderson (FlexEye)
 
IRJET- Campus Navigation System Based on Mobile Augmented Reality
IRJET- Campus Navigation System Based on Mobile Augmented RealityIRJET- Campus Navigation System Based on Mobile Augmented Reality
IRJET- Campus Navigation System Based on Mobile Augmented Reality
 
Mobile Integration
Mobile IntegrationMobile Integration
Mobile Integration
 
IRJET- GPS Tracker & Alcohol Detector with Engine Locking System using GSM
IRJET- GPS Tracker & Alcohol Detector with Engine Locking System using GSMIRJET- GPS Tracker & Alcohol Detector with Engine Locking System using GSM
IRJET- GPS Tracker & Alcohol Detector with Engine Locking System using GSM
 
2013 14 ieee android titles - jpinfotech
2013 14 ieee android titles - jpinfotech2013 14 ieee android titles - jpinfotech
2013 14 ieee android titles - jpinfotech
 
android ieee projects 2013
android ieee projects 2013android ieee projects 2013
android ieee projects 2013
 
GPS tracking app development Steps, Cost and Features for 2024.pdf
GPS tracking app development Steps, Cost and Features for 2024.pdfGPS tracking app development Steps, Cost and Features for 2024.pdf
GPS tracking app development Steps, Cost and Features for 2024.pdf
 
[EVENT IOT] TRACKERANDO
[EVENT IOT] TRACKERANDO[EVENT IOT] TRACKERANDO
[EVENT IOT] TRACKERANDO
 
DEF CON 27 - workshop - POLOTO - hacking the android apk
DEF CON 27 - workshop - POLOTO - hacking the android apkDEF CON 27 - workshop - POLOTO - hacking the android apk
DEF CON 27 - workshop - POLOTO - hacking the android apk
 
Bart schouw en Hans Heerooms - internet of things of internet of thingymabob ...
Bart schouw en Hans Heerooms - internet of things of internet of thingymabob ...Bart schouw en Hans Heerooms - internet of things of internet of thingymabob ...
Bart schouw en Hans Heerooms - internet of things of internet of thingymabob ...
 
Internet of things 14-dec2013
Internet of things 14-dec2013Internet of things 14-dec2013
Internet of things 14-dec2013
 

More from Droidcon Berlin

Droidcon de 2014 google cast
Droidcon de 2014   google castDroidcon de 2014   google cast
Droidcon de 2014 google castDroidcon Berlin
 
Android programming -_pushing_the_limits
Android programming -_pushing_the_limitsAndroid programming -_pushing_the_limits
Android programming -_pushing_the_limitsDroidcon Berlin
 
Android industrial mobility
Android industrial mobility Android industrial mobility
Android industrial mobility Droidcon Berlin
 
new_age_graphics_android_x86
new_age_graphics_android_x86new_age_graphics_android_x86
new_age_graphics_android_x86Droidcon Berlin
 
Testing and Building Android
Testing and Building AndroidTesting and Building Android
Testing and Building AndroidDroidcon Berlin
 
Matchinguu droidcon presentation
Matchinguu droidcon presentationMatchinguu droidcon presentation
Matchinguu droidcon presentationDroidcon Berlin
 
Cgm life sdk_droidcon_2014_v3
Cgm life sdk_droidcon_2014_v3Cgm life sdk_droidcon_2014_v3
Cgm life sdk_droidcon_2014_v3Droidcon Berlin
 
The artofcalabash peterkrauss
The artofcalabash peterkraussThe artofcalabash peterkrauss
The artofcalabash peterkraussDroidcon Berlin
 
Raesch, gries droidcon 2014
Raesch, gries   droidcon 2014Raesch, gries   droidcon 2014
Raesch, gries droidcon 2014Droidcon Berlin
 
Android open gl2_droidcon_2014
Android open gl2_droidcon_2014Android open gl2_droidcon_2014
Android open gl2_droidcon_2014Droidcon Berlin
 
20140508 quantified self droidcon
20140508 quantified self droidcon20140508 quantified self droidcon
20140508 quantified self droidconDroidcon Berlin
 
Tuning android for low ram devices
Tuning android for low ram devicesTuning android for low ram devices
Tuning android for low ram devicesDroidcon Berlin
 
Froyo to kit kat two years developing & maintaining deliradio
Froyo to kit kat   two years developing & maintaining deliradioFroyo to kit kat   two years developing & maintaining deliradio
Froyo to kit kat two years developing & maintaining deliradioDroidcon Berlin
 
Droidcon2013 security genes_trendmicro
Droidcon2013 security genes_trendmicroDroidcon2013 security genes_trendmicro
Droidcon2013 security genes_trendmicroDroidcon Berlin
 
Droidcon2013 commercialsuccess rannenberg
Droidcon2013 commercialsuccess rannenbergDroidcon2013 commercialsuccess rannenberg
Droidcon2013 commercialsuccess rannenbergDroidcon Berlin
 

More from Droidcon Berlin (20)

Droidcon de 2014 google cast
Droidcon de 2014   google castDroidcon de 2014   google cast
Droidcon de 2014 google cast
 
Android programming -_pushing_the_limits
Android programming -_pushing_the_limitsAndroid programming -_pushing_the_limits
Android programming -_pushing_the_limits
 
crashing in style
crashing in stylecrashing in style
crashing in style
 
Raspberry Pi
Raspberry PiRaspberry Pi
Raspberry Pi
 
Android industrial mobility
Android industrial mobility Android industrial mobility
Android industrial mobility
 
Details matter in ux
Details matter in uxDetails matter in ux
Details matter in ux
 
droidparts
droidpartsdroidparts
droidparts
 
new_age_graphics_android_x86
new_age_graphics_android_x86new_age_graphics_android_x86
new_age_graphics_android_x86
 
5 tips of monetization
5 tips of monetization5 tips of monetization
5 tips of monetization
 
Testing and Building Android
Testing and Building AndroidTesting and Building Android
Testing and Building Android
 
Matchinguu droidcon presentation
Matchinguu droidcon presentationMatchinguu droidcon presentation
Matchinguu droidcon presentation
 
Cgm life sdk_droidcon_2014_v3
Cgm life sdk_droidcon_2014_v3Cgm life sdk_droidcon_2014_v3
Cgm life sdk_droidcon_2014_v3
 
The artofcalabash peterkrauss
The artofcalabash peterkraussThe artofcalabash peterkrauss
The artofcalabash peterkrauss
 
Raesch, gries droidcon 2014
Raesch, gries   droidcon 2014Raesch, gries   droidcon 2014
Raesch, gries droidcon 2014
 
Android open gl2_droidcon_2014
Android open gl2_droidcon_2014Android open gl2_droidcon_2014
Android open gl2_droidcon_2014
 
20140508 quantified self droidcon
20140508 quantified self droidcon20140508 quantified self droidcon
20140508 quantified self droidcon
 
Tuning android for low ram devices
Tuning android for low ram devicesTuning android for low ram devices
Tuning android for low ram devices
 
Froyo to kit kat two years developing & maintaining deliradio
Froyo to kit kat   two years developing & maintaining deliradioFroyo to kit kat   two years developing & maintaining deliradio
Froyo to kit kat two years developing & maintaining deliradio
 
Droidcon2013 security genes_trendmicro
Droidcon2013 security genes_trendmicroDroidcon2013 security genes_trendmicro
Droidcon2013 security genes_trendmicro
 
Droidcon2013 commercialsuccess rannenberg
Droidcon2013 commercialsuccess rannenbergDroidcon2013 commercialsuccess rannenberg
Droidcon2013 commercialsuccess rannenberg
 

Recently uploaded

Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 

Recently uploaded (20)

Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 

From sensor data_to_android_and_back

  • 1. From Sensor Data To Android And Back droidcon 2014 09.05.2014, Lars Gregori, msgGillardon AG
  • 2. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 Lars Gregori  Kommunikationselektroniker (Funktechnik)  Informatik Fachrichtung Wirtschaft (FH)  Softwaredeveloper (Java Enterprise, Android, CoC)  Arduino, IOIO Board 2
  • 3. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 3
  • 4. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 Sensors 4
  • 5. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 Sensors  Mobile Phone Sensors  External Sensors 5
  • 6. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 Mobile Phone Sensors  http://developer.android.com/guide/topics/sensors/sensors_overview.html  Motion sensors  Environmental sensors  Position sensors 6
  • 7. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 Mobile Phone Sensors  http://developer.android.com/guide/topics/sensors/sensors_overview.html  TYPE_ACCELEROMETER  TYPE_AMBIENT_TEMPERATURE  TYPE_GRAVITY  TYPE_GYROSCOPE  TYPE_LIGHT  TYPE_LINEAR_ACCELERATION  TYPE_MAGNETIC_FIELD  TYPE_ORIENTATION  TYPE_PRESSURE  TYPE_PROXIMITY  TYPE_RELATIVE_HUMIDITY  TYPE_ROTATION_VECTOR  TYPE_TEMPERATURE 7
  • 8. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 External Sensors 8
  • 9. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 External Sensors 9 WHY
  • 10. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 External Sensors 10 WHY
  • 11. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 External Sensors 11
  • 12. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 12
  • 13. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 13 Sensor Actuator Android
  • 14. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 Actuator 14
  • 15. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 15
  • 16. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 16
  • 17. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 17
  • 18. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 18
  • 19. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 19
  • 20. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 20
  • 21. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 21 Sensor Actuator Android Logic IOIO Board
  • 22. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 22
  • 23. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 23
  • 24. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 IOIO Board  pronounced "yo-yo"  https://github.com/ytai/ioio/wiki  Host for Android and PC  USB or Bluetooth  ADB and OpenAccessory (ADK)  high-level Java API (Android Apps)  Digital Input/Output, PWM, Analog Input, I2C, SPI and UART 24
  • 25. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 25 Sensor Actuator Android Business Logic IOIO Board
  • 26. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 Communication  Android and IOIO Board  USB or Bluetooth  IOIO Board and Sensor  direct  wireless (e.g. 433 MHz transmitter / receiver)  IOIO Board and Controller  direct  wireless (e.g. 433 MHz transmitter / receiver) 26
  • 27. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 27 Sensor Actuator Android Business Logic IOIO Board
  • 28. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 IOIO Example 28
  • 29. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 IOIO Example 29
  • 30. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 NFC TagWriter by NXP  com.nxp.nfc.tagwriter 30
  • 31. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 31 Demo
  • 32. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 Source Code 32 class Looper extends BaseIOIOLooper { private PwmOutput ledGreen_; private PwmOutput ledBlue_; private PwmOutput ledRed_;
  • 33. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 Source Code 33 @Override protected void setup() { uart_ = ioio_.openUart(RX_PIN, TX_PIN, BAUD, … in_ = uart_.getInputStream(); out_ = uart_.getOutputStream(); ledRed_ = ioio_.openPwmOutput(5, 100); ledGreen_ = ioio_.openPwmOutput(6, 100); ledBlue_ = ioio_.openPwmOutput(7, 100);
  • 34. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 Source Code 34 @Override public void loop() { ledRed_.setPulseWidth(red * 1); ledGreen_.setPulseWidth(green * 3); ledBlue_.setPulseWidth(blue * 5); // reading SM130 int rx1 = in_.read();
  • 35. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 SM130 35
  • 36. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 36 Questions
  • 37. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014  lars.gregori@gmail.com  +LarsGregori  @choas 37
  • 38. Wir bedanken uns für Ihre Aufmerksamkeit! msgGillardon AG Robert-Bürkle-Str. 1 85737 Ismaning > www.msg-gillardon.de
  • 39. © 2014 Lars Gregori, msgGillardon AG | From Sensor Data To Android And Back | 09.05.2014 Credit  Fonts  Famirids http://www.dafont.com/famirids.font  Petita http://www.dafont.com/petita.font 39