I am doing a school project working with the Raspberry Pi, the GrovePi, Python 3, and the DHT11 (the blue) sensor. I have written my own software to read temperature data, serialize the data, and throw it on to a server. I am having trouble reading temperatures with my software that I wrote cause the software keeps on throwing type errors (throwing NaNs, or Not a Number, to be more specific).
So, I grabbed your sample file (Home Weather System file) off of GitHub as I might have done something wrong in my own software. That file also keeps on throwing NaNs as well. I have tried several ports on the GrovePi as well as well as changing the port number in the sample file.
Right now, I’m currently running the custom OS that Dexter Industries have made based off of Raspbian. Additionally, I have updated the firmware as well, just in case. I’m competent when it comes to Python, especially Python 3 as that’s the language I’m writing my software in.
I’m kind of at loss and I’m not so sure what to do except turn to the GrovePi community for assitance. Any help is greatly appreciated.
Many thanks in advance.