Having no luck reading correct temperature data on my Raspberry Pi. If anyone can please offer help, here's my code as txt and wiring image you can download in zip.
I have a TMP36 temp sensor into a MCP3008 analog to digital converter, all going to the SPI on my Raspberry Pi 2 running Windows 10 IoT. The data i'm getting at room temperature is 561, but that doesn't make any sense as far as converting to a temp. I don't know if i'm querying the data incorrectly or just don't know how to convert it to degrees Celsius correctly. Please help!
Trying so hard to get this to work! All code and interface xaml is in the attached zip. Zip also available along with wiring schematic at http://tinyurl.com/ohwerkb