|
Post by jrm964 on Nov 2, 2020 14:08:46 GMT -8
Here's something interesting. I removed the pi2grover hat and wired directly to GPIO.  Ran the simpletest_280.py but added a loop so that it runs continuously. It appears to work fine without the pi2grover. Its been running for a hour now. Pressure = 102030.00 Pa Altitude = -58.61 m Sealevel Pressure = 102032.00 Pa Temp = 25.96 *C Pressure = 102029.00 Pa Altitude = -58.45 m Sealevel Pressure = 102029.00 Pa Temp = 25.97 *C Pressure = 102030.00 Pa Altitude = -58.53 m Sealevel Pressure = 102030.00 Pa Temp = 25.97 *C Pressure = 102029.00 Pa Altitude = -58.45 m Sealevel Pressure = 102029.00 Pa Temp = 25.97 *C Pressure = 102034.00 Pa Altitude = -58.45 m Sealevel Pressure = 102029.00 Pa Temp = 25.97 *C Pressure = 102031.00 Pa Altitude = -58.61 m Sealevel Pressure = 102031.00 Pa Temp = 25.97 *C Pressure = 102032.00 Pa Altitude = -58.70 m Sealevel Pressure = 102032.00 Pa Temp = 25.97 *C Pressure = 102032.00 Pa Altitude = -58.70 m Sealevel Pressure = 102032.00 Pa Temp = 25.97 *C Pressure = 102031.00 Pa Altitude = -58.86 m Sealevel Pressure = 102034.00 Pa
|
|
|
Post by SDL on Nov 4, 2020 8:28:41 GMT -8
Did you use EXACTLY the same software and test?
If so, then I would guess that there is a voltage problem on the Pi2Grover board. Try using a different I2C port. Each I2C port has it's own level shifters.
BP
|
|
|
Post by jrm964 on Nov 4, 2020 10:28:43 GMT -8
Yes, same software and tests. Its occurring on all 4 I2C ports on the PI2Grover.
|
|
|
Post by SDL on Nov 6, 2020 10:34:15 GMT -8
I will get a chance to duplicate this later this afternoon. I will bet you mine works fine. I'm guessing something is wrong with the pull-ups on your board.
If mine works, then I have another thing for you to try.
BP
|
|
|
Post by jrm964 on Nov 6, 2020 17:15:20 GMT -8
Thanks. Also I purchased a new pi2grover and a pi zero v1.3. I still get the same error.
|
|
|
Post by SDL on Nov 9, 2020 10:57:56 GMT -8
I have the boards on my bench now. I'm hoping this afternoon to plug it together and run the test.
BP
|
|
|
Post by jrm964 on Nov 10, 2020 8:28:02 GMT -8
Anxious to here what you find. Thank you.
|
|
|
Post by jrm964 on Nov 16, 2020 14:50:53 GMT -8
Any luck on your bmp280 testing?
|
|
|
Post by SDL on Nov 17, 2020 12:41:56 GMT -8
Works like a champ through the Pi2Grover board.
Sealevel Pressure = 92947.00 Pa Temp = 22.55 *C Pressure = 92947.00 Pa Altitude = 722.09 m Sealevel Pressure = 92948.00 Pa Temp = 22.55 *C Pressure = 92948.00 Pa Altitude = 722.00 m Sealevel Pressure = 92948.00 Pa Temp = 22.55 *C Pressure = 92948.00 Pa Altitude = 722.00 m Sealevel Pressure = 92948.00 Pa Temp = 22.56 *C Pressure = 92949.00 Pa Altitude = 721.91 m Sealevel Pressure = 92949.00 Pa Temp = 22.56 *C Pressure = 92948.00 Pa Altitude = 722.00 m Sealevel Pressure = 92948.00 Pa Temp = 22.56 *C Pressure = 92948.00 Pa Altitude = 722.00 m Sealevel Pressure = 92948.00 Pa Temp = 22.55 *C Pressure = 92947.00 Pa Altitude = 722.09 m Sealevel Pressure = 92947.00 Pa Temp = 22.55 *C Pressure = 92947.00 Pa Altitude = 722.09 m ....
BP
Sounds like you have a bad Pi2Grover board.
|
|
|
Post by jrm964 on Nov 19, 2020 11:07:55 GMT -8
I purchased a second pi2grover board and I get the same result. So frustrating
|
|
|
Post by SDL on Nov 20, 2020 18:38:45 GMT -8
So, now we have to wonder about the Raspberry Pi. What raspberry pi are you running and do you have another to try? If I remember right, you have two pi2grovers and two weatherboards. Right?
They are working, so it has to be the Pi or possibly the raspberry pi power supply.
BP
|
|
|
Post by jrm964 on Nov 21, 2020 16:08:50 GMT -8
I have a Raspberry pi Zero and a raspberry pi3 A+. In the Weather Station I'm using a SunAirPlus and battery power. It fails on both raspberry pi's.
On the bench with just the pi (either one), pi2grover and the weather board. Plugged into the 5v 3000mA adapter. I get the readings on the first run of simpletest_280.py but fails when I run it again. I tried this with both pi2grovers.
First run pi@weatherpi:~/SDL_Pi_GroveWeatherPi/Adafruit_Python_BMP/examples $ sudo python simpletest_280.py Temp = 25.45 *C Pressure = 75313.00 Pa Altitude = 2433.39 m Sealevel Pressure = 75313.00 Pa
Second run pi@weatherpi:~/SDL_Pi_GroveWeatherPi/Adafruit_Python_BMP/examples $ sudo python simpletest_280.py Traceback (most recent call last): File "simpletest_280.py", line 10, in <module> sensor = BMP280.BMP280() File "build/bdist.linux-armv6l/egg/Adafruit_BMP/BMP280.py", line 48, in __init__ File "build/bdist.linux-armv6l/egg/Adafruit_GPIO/I2C.py", line 150, in readU8 File "build/bdist.linux-armv6l/egg/Adafruit_PureIO/smbus.py", line 197, in read_byte_data IOError: [Errno 121] Remote I/O error
I returned the second weather board I purchased since it failed as well. I have a HTU21D-F soldered to the weather board as well.
|
|
|
Post by SDL on Nov 21, 2020 16:48:57 GMT -8
OK. It's not the weatherboard. It's not the Pi2Grover. Any pins bent or touching? Top or bottom of the Pi2Grover. You can send me a weatherboard to test if you wish.
Now I'm thinking about the software on Raspberry Pi. Have you tried two SD Cards (that aren't just duplicated, but a new install)?
You have eliminated the power supply too I believe.
BP
|
|
|
Post by jrm964 on Nov 22, 2020 7:19:54 GMT -8
I purchased a new SD card and installed everything from scratch. Can you provide me your install steps of the software. What version of python you are using? Are you using the latest Buster PI OS? I followed the install instructions in both the instructables page for the grove weather pi and github.
No touching or bent pins that can see. Id be happy to send you the boards.
|
|
|
Post by SDL on Nov 22, 2020 9:39:16 GMT -8
The OS seems to be the difference.
Pop the two boards (and the SDCard) into the mail and I'll take a look at this in depth. This is a strange problem.
I'll get right at it when it comes and then send it right back.
Here's the address:
SwitchDoc Labs RMA# 112220 Attn: BP 909 S Shelley Lake Lane Spokane Valley, WA 99037
Put a copy of this email in the package (just in case).
We will figure this out.
BP
|
|