Search Wiki:
This page acts as a supplement to the information contained in the MSDN Library. Here you will find white papers, code samples, PowerPoint presentations, links to videos and 3rd-party content, and other resources about this technology that are relevant to developer concerns.

Note When you try to download a resource, Code Gallery requires you to accept an End User License Agreement (EULA). If you have a popup blocker turned on, the EULA may not appear and the download may fail. If this happens, turn off your popup blocker and try again.

Learn About Windows 7: Sensor and Location

For a list of resources to help you learn the basics of Windows 7 Sensor and Location Platforms, see Learn About Windows 7: Sensor and Location on the MSDN Windows Developer Center (

Forums and Discussions

The Sensor and Location Platform community, including Microsoft product team members, are active in forum discussions. Those discussions take place on the MSDN forum site at

Code Samples and Projects

(All code samples can be found by clicking the Downloads tab on this Code Gallery page.)

Sensor Development Kit for Windows 7
The Sensor Development Kit for Windows 7 contains the complete source code of the following components:
* Board firmware
* Drivers for 32-bit and 64-bit versions of Windows 7
* Diagnostic tool for testing the Sensor Development Kit board
The Sensor Development Kit uses the Freescale Flexis™ JM Badge Board. If you install the Sensor Development Kit software on this board, applications that are sensor-enabled and that run on Windows 7 can use information from sensors on the board. For more information about this kit, please visit

Windows 7 Sensor and Location .NET Interop Sample Library ( The Sensor and Location .NET Interop Sample Library provides an abstraction of the native Sensor and Location API and strongly typed objects for specific sensors for its Sensor Data Report. For example, a light sensor has a strongly typed LightDataReport object. With the Sensor and Location .NET Interop Sample Library, you can create strongly-typed custom sensor objects as well as use the three built-in sensors: Accelerometer3D sensors, Light sensors, and Touch Array sensors. These sensors are part of the Windows 7 Sensor Development kit. This library also provides a unified location API that determines location. With the Location platform, you can use the same APIs regardless of the underlying technology that is providing data, such as GPS, Wi-Fi triangulation, or IP Resolver.

Enhanced Default Location Provider (eDLP)
The Enhanced Default Location Provider (eDLP) enables users to click on a map to set the location reported by the Location API. This tool is build on the Windows 7 Sensor and Location .NET Interop Sample Library and Virtual Earth SDK to provide a convenient GUI based tool for setting the computer’s geographic and civic address.

Sensor Diagnostic Tool
The Sensor Diagnostic Tool is useful when debugging drivers and applications that use the Sensor and Location APIs. The tool provides the states, data, and events of all sensors as well as the Location API in real time. It can also log sensor events for future analysis. The tool is built on the Windows 7 Sensor and Location .NET Interop Sample Library.

Using Windows 7 to Monitor a Motion Sensor
A Code Gallery project that describes how to build a simple motion sensor, a Sensor device driver, and a Sensor application that you can use to observe real-time sensor data in Windows 7.

White Papers

Implementing Light-Aware UI Using the Windows Sensor and Location Platform ( This paper covers the use of ambient light sensor data, and how user interface features and program content can be optimized for many lighting conditions.
Last edited Dec 7 2009 at 8:49 PM  by jenlin, version 18
pwbarrett wrote  Nov 27 2009 at 5:46 PM  
So what's the missing piece to make the accelerometer in the Acer 1420P show up in the Sensors list?

HannesPreishuber wrote  Nov 6 2010 at 11:48 AM  
is that topic still in progress? nothing new since a year

Page view tracker