Windows 7 to support sensors
Martin Rowe, Senior Technical Editor -- Test & Measurement World, 5/13/2009 10:05:00 AM
Windows 7, Microsoft’s upcoming operating system, will include support for collecting data from sensors, both inside and outside the PC. According to Microsoft, the Microsoft Windows Sensor and Location Platform will solve the problem of nonstandard interfaces between sensors and Windows.
The platform will include a device-driver interface, a Windows Sensor API (application programming interface), a Windows Location API, a sensors control panel, and privacy controls. It will support sensors such as GPS, accelerometers, proximity sensors, light sensors, cameras, microphones, temperature sensors, and moisture sensors. Information about the platform on the Microsoft Website includes links to papers that describe the architecture.
Internally, the framework has the potential to make a PC aware of its environment. A light sensor, for example, could let a PC adjust its text font or screen brightness in response to ambient light. With an accelerometer, a portable PC could reorient its screen settings from portrait to landscape.
A common API set could make Windows hardware independent—just as some test-equipment makers have done with their products. For example, you can change hardware platforms from PC plug-in to USB without changing your application code, provided you use equipment produced by the same company. The Windows 7 Sensors Framework could, if hardware manufacturers support it, let you change not only hardware platforms, but hardware suppliers, without changing your code. It’s similar to the idea behind IVI (interchangeable virtual instruments), which lets you change instruments such as oscilloscopes or DMMs without changing your application code.
Thus far, the only way to interface sensors into Windows 7 is through a development board from Freescale Semiconductor. Freescale has developed drivers for its JM Badge development kit that work with Windows 7’s Sensor Framework. The kit includes several sensors, a microcontroller, and a USB interface for communication to a PC.
Jim Weil, global product and enablement manager for Freescale’s microcontroller business, explained the reasoning behind the Sensors Framework. “Prior Microsoft operating systems didn’t allow for easy access for sensor technology. Sensors are handled by some kind of embedded microcontroller with a custom API structure. Microsoft realized that Windows needed to be more extensible and updateable to handle sensors. Developers need a way to get access to sensors without having to write custom drivers.”
Even if Microsoft can successfully develop a standard API for collecting data from sensors, the measurement community will take years to use it. First of all, Windows 7 isn’t released yet, and many engineers are reluctant to change operating systems unless they have to. If you already have a custom measurement application, you have a lot invested in your code. Sure, a common API might be useful in the future, but to migrate to it, you’ll need new code.
To learn more about Windows 7, start with Microsoft’s Windows Sensor and Location Platform. There, you’ll find links to several papers that explain the platform architecture. You’ll also find links to blogs and videos on the topic.
Don't Rush to Climb On Win2k Bandwagon
03/31/2000Windows-compliant driver speeds 1394 cameras
05/31/2009Scope or PC?
08/31/2004PC instrumentation through the ages
09/14/2001Tools ease Linux development
03/31/2001
- 0 rated items found.
Featured Company
Most Recent Resources
- Load, Pressure and Torque: Sensor Selection, Technology and...
- Mass Flow Versus Volume Flow
- Aries’ New Fine Pitch Bump Adapters Adapt BGA Devices of Any Pitch...
- New BGA Switch-A-Pitch Adapters from Aries Now Adapt 0.50 mm Devices...
- The DataFlex-1000A Flight-Capable High-Speed, High-Capacity Data...

























