Currently I am using the DHT22/AM2302 which has a built in 5.1k resistor, using the program provided from https://ms-iot.github.io/content/en-US/win10/samples/GpioOneWire.htm and connected the sensors VCC to 3.3V(Pin1), GND to GND(Pin6), and DOUT to GPIO4(Pin7). Everything seems to be hooked up right but when running the program no sensor is detected. Has anyone had a similar situation?
Well I can't say I don't learn anything, and this experience, even though it was very frustrating especially since I am very new to Windows 10 iot, was eye opening. My issue has been resolved.
If you have a DHT22/AM2302 and you are experiencing issue with getting no feedback from your temperature sensor then check with these troubleshooting tips.
Do you have a hardware issue? Check both the sensor and raspberry pi for damage or defects. Do a test run of the sensor on a different OS such as Linux.
Is your circuit correctly connected to the raspberry pi? Make sure all pins are connected to their correct corresponding GPIO pins and a resistor was added(other have stated a resistor is not necessary but if you're having issues it wont hurt to try) I had used 5.1K resistor. Is your windows 10 iot up to date?
Is your OS up-to-date? This is a big one mainly because it was why my sensor wasn't working with the GPIOOneWire program. This is a quote from jordanrh1 who is one of the developers of the GPIOOneWire program"The DHT11 sample only works on build 10556 and higher." I was using Version 10.0.10240 thinking since I had just reinstalled windows 10 iot it was up to date. So always check your iot versions as a troubleshooting tip**