230 likes | 465 Views
HW-664C. Chalk talk for sensor and location support in Windows. Fred Bhesania – Program Manager Lead Sandy Spinrad - Test Lead Dino Natucci – Program Manager Gavin Gear – Program Manager Microsoft Corporation. Agenda. Sensors and l ocation opportunities
E N D
HW-664C Chalk talk for sensor and location support in Windows Fred Bhesania – Program Manager LeadSandy Spinrad - Test Lead Dino Natucci – Program Manager Gavin Gear – Program Manager Microsoft Corporation
Agenda • Sensors and location opportunities • Overview of sensor and location platform • Demo • Hardware/software validation You’ll leave with examples of how to • Understand location/sensor architecture and inbox driver story • Gain knowledge of critical validation tools and experiences to optimize your platforms
Opportunities for sensor and location apps • Make user experiences more relevant to the user’s location • Enhance apps by adapting to the surrounding environment • Every app can use simple sensor gestures • Easily create casual games and apps that use sensors • Use sensor fusion to implement cutting edge apps
Sensor scenarios • Sensor categories • Light sensor • Fused motion sensors • Presence sensor • Sensor scenarios • Basic – rotate, flip, shake • Intermediate – raw sensors • Advanced – sensor fusion Accelerometer Sensor Gyroscope Sensor
Location scenarios • Location • Search points of interest (POI) • Geo-tag photos and other content • Navigation • Location aware notifications • weather, news , sports, coupons • Many others…
Platform overview Blue = In Windows 8 Green = 3rd Party Black = Firmware Metro style app Sensor Service Win32 app WinRT Sensor API Sensor API (Win32) UMDF Sensor Class Extension Sensor Driver (3rd Party) Sensor Driver (HID) Sensor Hardware (non-HID) Sensor Hardware (HID)
Windows 8 inbox sensor drivers • HID sensor class driver • Buses supported = USB, I2C • Sensors supported = light, motion, presence • Built on industry standard – USB-IF • ACPI ALS sensor driver • Buses supported = ACPI methods • Sensors supported = light • Built on industry standard – ACPI 4.0
Sensor hardware • For Slate PC and Convertible PC hardware • Light sensor • Motion sensors + fusion • Accelerometer • Magnetometer • Gyroscope • GPS (on systems with mobile broadband hardware)
Hardware/software validation • Review certification requirements • Certification tests primarily validate • Required sensors are present • Sensors are correctly orientated • Sensors provide the required data fields • OEMs and IHVs should develop extensive test plans to thoroughly exercise their sensors under a variety of conditions • Power management, plug and play, noisy RF conditions, system stress, darkness, etc. • Use the common device verification tools (WDF verifier, driver verifier, etc).
demo Sensor diagnostic tool Visualizing sensor data
Hardware integration and lessons learned • Sensors • ALS placement • Magnetic interference • Calibration • GPS • Antenna selection and placement • RF interference • OEMs and IHVs need to work closely together for system design & integration
Related sessions • [HW-249T] Architecting and integrating sensor drivers • [PLAT-781T] Using location & sensors in your app • [HW-260T] Windows Certification: improvements to the logo program
thank you Feedback and questions http://forums.dev.windows.com Session feedbackhttp://bldw.in/SessionFeedback
© 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Simplified Platform Block Diagram Win32 Apps Metro style apps Location API Sensor API Location Driver Sensor Driver Sensor Device Location Device
Sensor Fusion – Hardware Implementation Blue = In Windows 8 Green = 3rd Party Black = Firmware Sensor Driver (HID) Microcontroller 3D Accelerometer 3D Gyro 3D Magnetometer
Sensor Fusion – Software Implementation (1) Blue = In Windows 8 Green = 3rd Party Black = Firmware Sensor Fusion Driver Magnetometer Driver Gyro Driver Accelerometer Driver 3D Accelerometer 3D Gyro 3D Magnetometer
Sensor Fusion – Software Implementation (2) Blue = In Windows 8 Green = 3rd Party Black = Firmware Sensor Fusion Driver 3D Gyro / 3D Accelerometer 3D Magnetometer
Sensor Fusion Inputs and Outputs (9-Axis) Accelerometer 3D Accelerometer Pass-Through 3D Gyro Gyro 3D Magnetometer Sensor Fusion Compass Inclinometer Device Orientation