Measuring IoT pulse widths with new GPIO APIs

The Windows 10 Creators Update comes with new GPIO APIs which enable accurate and efficient measurement of pulse widths. Some devices that benefit are the DHT11/DHT22 temperature and humidity sensors, and certain sonar/distance sensors. We added the Windows.Devices.Gpio.GpioChangeReader class which lets you capture timestamps when a GPIO pin changes state, which you can then use to determine the time between change events.

from Channel 9 https://channel9.msdn.com/Blogs/Seth-Juarez/Measuring-IoT-pulse-widths-with-new-GPIO-APIs

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s