Windows 7 has built in sensor and location platform, the key feature of this’s any sensor devices connected to it become operating system level resources which any number of applications can utilise data. Until now, sensor devices (like GPS) were ‘owned’ by first app to grab them, and prevented any other app from accessing the device while running. That has all changed in Windows 7, but we’re still waiting for sensor manufactures to update their drivers to fit with new world of Windows 7. So while they ponder, lets get on and do some cool stuff ourselves!
- MS Press book ‘Introducing Windows 7 for developers’ has a great couple of chapters on the new sensor and location platform – chpr 9 and 10.
- Donn Morse posted ‘Build your own Windows 7 Sensors!’ article – so we can utilise Donn’s excellent work to make our custom sensors.
- Donn’s Windows application uses the Windows7.SensorAndLocation DLL from the Windows 7 Code Pack which’s also available as a free download and includes the source.
- Sample project includes Windows application, Windows 7 sensor driver and Basic Stamp firmware for linking up a motion detector, but also supports a compass sensor, a 2 axis accelerometer, and a ultra-sonic distance sensor.