Demonstrates the usage of all available iOS sensors with source code. Example use-cases are a compass, air level, navigation, acceleration and audio recording and playback.
4. Teaser: What to Expect! 96
Teaser
What to Expect!
Digital Camera
5. Teaser: What to Expect! 96
Teaser
What to Expect!
Audio Sampler
Digital Camera
6. Teaser: What to Expect! 96
Teaser
What to Expect!
Navigation System
Audio Sampler
Digital Camera
7. Teaser: What to Expect! 96
Teaser
What to Expect!
Air Level
Navigation System
Audio Sampler
Digital Camera
8. Teaser: What to Expect! 96
Teaser
What to Expect!
Ball Game
Air Level
Navigation System
Audio Sampler
Digital Camera
9. Teaser: What to Expect! 96
Teaser
What to Expect!
Compass
Ball Game
Air Level
Navigation System
Audio Sampler
Digital Camera
10. Mobile vs. Desktop: What’s the Difference 92
Mobile vs. Desktop
What’s the Difference
11. Mobile vs. Desktop: What’s the Difference 92
Mobile vs. Desktop
What’s the Difference
Speakers Speakers
12. Mobile vs. Desktop: What’s the Difference 92
Mobile vs. Desktop
What’s the Difference
Speakers Speakers
Microphone Microphone
13. Mobile vs. Desktop: What’s the Difference 92
Mobile vs. Desktop
What’s the Difference
Speakers Speakers
Microphone Microphone
Camera Camera
14. Mobile vs. Desktop: What’s the Difference 92
Mobile vs. Desktop
What’s the Difference
Speakers Speakers
Microphone Microphone
Camera Camera
GPS
15. Mobile vs. Desktop: What’s the Difference 92
Mobile vs. Desktop
What’s the Difference
Speakers Speakers
Microphone Microphone
Camera Camera
GPS
Accelerometer
16. Mobile vs. Desktop: What’s the Difference 92
Mobile vs. Desktop
What’s the Difference
Speakers Speakers
Microphone Microphone
Camera Camera
GPS
Accelerometer
Gyroscope
17. Mobile vs. Desktop: What’s the Difference 92
Mobile vs. Desktop
What’s the Difference
Speakers Speakers
Microphone Microphone
Camera Camera
GPS
Accelerometer
Gyroscope
Magnetometer
18. Mobile vs. Desktop: What’s the Difference 92
Mobile vs. Desktop
What’s the Difference
Speakers Speakers
Microphone Microphone
Camera Camera
GPS
Accelerometer
Mobile Sensors
Gyroscope
Magnetometer
19. Sensors in 12 Device Generations 88
Sensors in Device Generations
Great Common Denominators
With iPod
All 12 Generations - 2007+ Without iPod
20. Sensors in 12 Device Generations 88
Sensors in Device Generations
Great Common Denominators
With iPod
All 12 Generations - 2007+ Without iPod
100.00%
75.00%
50.00%
25.00%
0%
Speaker Microphone Accelerometer GPS Camera Gyroscope Magnetometer
21. Sensors in 7 Device Generations 84
Sensors in Device Generations
Great Common Denominators
With iPod
Latest 7 Generations - 2010+ Without iPod
100.00%
75.00%
50.00%
25.00%
0%
Speaker Microphone Accelerometer GPS Camera Gyroscope Magnetometer
22. Sensors in 7 Device Generations 84
Sensors in Device Generations
Great Common Denominators
With iPod
Latest 7 Generations - 2010+ Without iPod
100.00%
75.00%
50.00% Majority
25.00%
0%
Speaker Microphone Accelerometer GPS Camera Gyroscope Magnetometer
43. Accelerometer: May the Force be with you 48
Accelerometer
May the Force be with you
Force
in g-force
-1.0
0.0
0.0
44. Accelerometer: May the Force be with you 48
Accelerometer
May the Force be with you
Force Rotation
in g-force in degrees
-1.0
0.0
0.0 -0.5
0.0
0.5
45. Accelerometer: May the Force be with you 48
Accelerometer
May the Force be with you
Force Rotation
in g-force in degrees
Accelerometer Demo
-1.0
0.0
0.0 -0.5
0.0
0.5
47. Accelerometer: May the Force be with you 44
Accelerometer
May the Force be with you
// enable accelerometer
[[UIAccelerometer sharedAccelerometer] setDelegate:self];
// receive the acceleration values
- (void) accelerometer:(UIAccelerometer *)accelerometer
didAccelerate:(UIAcceleration *)acceleration {
// move ball
ball.x += acceleration.x * kBallSpeed;
ball.y += acceleration.y * kBallSpeed;
// rotate air level
level.rotation = acceleration.y * 90;
}
49. Gyroscope: I’m spinnin’ around 40
Gyroscope
I’m spinnin’ around
Rotation Rate
in radians per second
0.0
0.0
0.0
50. Gyroscope: I’m spinnin’ around 40
Gyroscope
I’m spinnin’ around
Rotation Rate Absolute Rotation
in radians per second in radians
by adding all rates to reference frame
0.0
0.78
0.0 0.0
0.0
0.0
51. Gyroscope: I’m spinnin’ around 40
Gyroscope
I’m spinnin’ around
Rotation Rate Absolute Rotation
in radians per second in radians
by adding all rates to reference frame
Gyroscope Demo
0.0
0.78
0.0 0.0
0.0
0.0
56. CoreMotion: Use this! 32
CoreMotion
Use this!
+
Raw data
Accelerometer + Gyroscope
CoreMotion Framework
6 Degrees of Freedom Inertial System
Dead Reckoning
64. Summary: What we did not cover 10
Summary
What we did not cover
GPS Accuracy
65. Summary: What we did not cover 10
Summary
What we did not cover
Shaking-Motion Events
GPS Accuracy
66. Summary: What we did not cover 10
Summary
What we did not cover
Recording Movies
Shaking-Motion Events
GPS Accuracy
67. Summary: What we did not cover 10
Summary
What we did not cover
Sensor Availability
Recording Movies
Shaking-Motion Events
GPS Accuracy
68. Summary: What we did not cover 10
Summary
What we did not cover
Sensor Availability
Recording Movies
Shaking-Motion Events
GPS Accuracy
http://developer.apple.com/library/ios
70. Summary: What we learned! 5
Summary
What we learned!
Capturing Images
71. Summary: What we learned! 5
Summary
What we learned!
Recording & Playing Sound
Capturing Images
72. Summary: What we learned! 5
Summary
What we learned!
Geolocating Device
Recording & Playing Sound
Capturing Images
73. Summary: What we learned! 5
Summary
What we learned!
Reading Device Position + 6 Degrees of Freedom
Geolocating Device
Recording & Playing Sound
Capturing Images
74. Summary: What we learned! 5
Summary
What we learned!
Finding Magnetic North
Reading Device Position + 6 Degrees of Freedom
Geolocating Device
Recording & Playing Sound
Capturing Images
75. Thank you: You learned a lot! 0
Thank you
You learned a lot!
76. Thank you: You learned a lot! 0
Download!
https://github.com/southdesign/SuperBall
Me!
Read! Thomas Fankhauser
tommylefunk@googlemail.com
Thank you Hire!
You learned a lot! southdesign.de
Buy!
Beatfreak
PianoTabs
QuestionPad