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

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 

Recently uploaded (20)

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 

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