Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Sensors (Accelerometer, Magnetometer, Gyroscope, Proximity and Luminosity)

656 views

Published on

Theory, concepts, internal functions and examples of Apple's iOS builtin sensors Accelerometer, Magnetometer, Gyroscope, Proximity and Luminosity. Slides form MIMO Masters. 2014 Edition

Published in: Engineering
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/qURD } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/qURD } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/qURD } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/qURD } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/qURD } ......................................................................................................................... Download doc Ebook here { https://soo.gd/qURD } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • If you want to download or read this book, Copy link or url below in the New tab ......................................................................................................................... DOWNLOAD FULL PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

Sensors (Accelerometer, Magnetometer, Gyroscope, Proximity and Luminosity)

  1. 1. Sensores Acelerómetro, Giroscopio, Magnetómetro, Proximidad y Luz ambiental
  2. 2. Buenas prácticas • Cuando sea posible… • Comprobar la disponibilidad de hardware correspondiente. • Comprobar la precisión y validez de la información recibida.
  3. 3. DEMO
  4. 4. Singleton
  5. 5. Hardware Comprobando disponibilidad del hardware
  6. 6. Acelerómetro Funcionamiento, usos y ejemplos
  7. 7. Acelerómetro • Dispositivo capaz de medir la fuerza de una aceleración, ya sea la causada por la gravedad u otra fuente. • Dispone de 2 o 3 ejes con material piezoeléctrico en cada uno. • Unidad de medida: g. • Usos: Podómetros, mandos videoconsolas, …
  8. 8. Acelerómetro Leyendo datos
  9. 9. Acelerómetro Leyendo datos
  10. 10. Acelerómetro Parando el dispositivo
  11. 11. Acelerómetro • Mostrar los valores de aceleración en cada eje por pantalla. • Determinar en qué dirección va cada uno de los 3 ejes.
  12. 12. Acelerómetro
  13. 13. Giroscopio Funcionamiento, usos y ejemplos
  14. 14. Giroscopio • El giroscopio desafía la gravedad gracias al Momento Angular que adquiere su disco cuando gira. • Unidad de medida: radian • Usos: Sistemas de guiado de aeronaves, juguetes…
  15. 15. Giroscopio • El giroscopio desafía la gravedad gracias al Momento Angular que adquiere su disco cuando gira. • Unidad de medida: radian • Usos: Sistemas de guiado de aeronaves, juguetes…
  16. 16. Giroscopio Leyendo datos
  17. 17. Giroscopio Leyendo datos
  18. 18. Giroscopio • Parar el dispositivo. • Mostrar los valores de rotación en cada eje por pantalla. • Determinar en qué dirección va cada uno de los 3 ejes. • Determinar qué eje representan Roll, Pitch y Yaw.
  19. 19. Giroscopio
  20. 20. ¡Ruido!
  21. 21. Filtro pasa baja
  22. 22. Filtro pasa baja
  23. 23. Filtro pasa baja Aplicar filtro al giroscopio.
  24. 24. Magnetómetro Funcionamiento, usos y ejemplos.
  25. 25. Magnetómetro • Utiliza la propiedad que tienen los imanes para alinearse con la dirección del flujo magnético del campo en el que se encuentran. • Unidad de medida: grado • Usos: Detectores de metales (de mano, aeropuertos, …)
  26. 26. Magnetómetro Comprobando disponibilidad hardware
  27. 27. Magnetómetro Leyendo datos
  28. 28. Magnetómetro • Mostrar los valores de heading y precisión por pantalla. • Determinar la unidad de medida del heading. • Determinar dónde está el norte.
  29. 29. Proximidad Funcionamiento, visualización y ejemplo.
  30. 30. Sensor de proximidad • Compuesto de dos partes: • LED luz infrarroja (invisible al ojo humano). • Sensor de luminosidad. • Cuando el teléfono está monitorizando la proximidad, el LED emite luz. Esta luz es reflejada en tu piel y recogida por el sensor. • Valores: YES / NO.
  31. 31. Visualización
  32. 32. Sensor de proximidad Comprobando disponibilidad de hardware y activación Lectura de datos
  33. 33. Sensor de proximidad Parando el dispositivo ¿Qué ocurre cuando se detecta proximidad?
  34. 34. Luz ambiental Funcionamiento
  35. 35. Sensor luz ambiental • Consta de una célula fotoeléctrica que, dependiendo de la intensidad de la luz que recibe, genera una señal eléctrica mayor o menor, que es analizada como la ´luminosidad ambiental´. • Con este dispositivo el iPhone ajusta el brillo de la pantalla para obtener una mejor visualización y ahorro de batería. • Desafortunadamente este sensor no dispone de API público para nuestro uso.
  36. 36. Carlos Alonso Pérez Developer Twitter: @calonso LinkedIn: mrcalonso Mail: info@mrcalonso.com ¡Gracias!

×