Post by rogers1313 on Jan 24, 2019 11:35:39 GMT -8
Since the very first of my project for the Grove Weather Pi, I have had glitchy issues with the AM2315 Humidity Temp probe. I have noticed that several other people seem to have the same issues. When I worked on this early it was that that whatever is wrong with it was related to the OLED display that would not work. Well after updating everything to 3.11 the OLED works, the AM2315 is still glitchy. I reported this issue within the first month of owning this system.
My GroveWeatherPi.py file is the latest version 3.14 not 3.11.
How do you debug this device? And is there a fix for the glitchy stuff going on. I have the history set for one hour. the outside temp is all over the place from good actual temp to very very large deviations. this station is setup in my house do conditions are very constant right now. Can this be noise related on the I2c network?
Last Edit: Jan 24, 2019 11:50:59 GMT -8 by rogers1313
Post by rogers1313 on Jan 25, 2019 14:26:16 GMT -8
I am going to mount all my components into a new enclosure. Try to organize the wiring to cause a little more separation. Things are a jumbled with my layout right now. are there any tips for grounding on the I2c signal wires with projects like these. Proper signal grounding on other things I have done in the past has helped when things get glitchy. Any ideas out there? Thanks again. Roger
Ps I have looked at recent issues in the AM2315 section of the forum. It looks like others are having issues too.
Last Edit: Jan 25, 2019 14:27:24 GMT -8 by rogers1313
So do you think that the data that is being delivered from the probe may not have enough time to get to the raspberry pi at times and this may result in the resulting CRC error? Things just don't add up at certain times.
My other thought was could this probe be moved to BUS 3 and be handled totally individually.
I am just beginning my next phase of the weather station which is to layout a note how all this software works from the top to the bottom.
Last Edit: Jan 28, 2019 7:43:22 GMT -8 by rogers1313
Well, that's not quite it, but close. The article puts a delay between reads of the AM2315 when it is awake. That might be something I had not tried. It isn't a matter of the time it takes to get to the Raspberry Pi, it seems to me that maybe two quick reads to the AM2315 hoses up the chip inside of the AM2315. I'm looking forward to trying this next week. I'll issue a new version of GWP so everybody can try it. I've got two things to add to the AM2315 driver. One from Peter and one from the above article.
Post by rogers1313 on Feb 15, 2019 15:33:30 GMT -8
I noticed you released version 3.15 of GroveWeatherPI.py. So we can copy that and download to our weather station and give it a try? Are any other files in the software package updated with that that need to be downloaded?
Post by rogers1313 on Feb 16, 2019 12:45:14 GMT -8
I just rebuilt the software install from ground up following procedures found in several places on the SwitchDoc website and the SwitchDoc GitHub readme file. I am still basing my install on the NOOBS 3.0.0 with the automatic updates that happen when the install is done that way.
I found a section that suggest running the following: