|
Post by triggerfish on Jan 16, 2020 2:48:53 GMT -8
Since I rebuild my GroveWeatherPi into a SkyWeather system, my thunderboard is not registering anymore... The log starts with:
(27.744000000000003, 15, 5) () ('after bme680', True) as3935 start I/O error(121): Remote I/O error I/O error(121): Remote I/O error tmp= [95, 203, 82, 127, 129, 104] outsideTemperature: 20.5 C outsideHumidity: 49.8 % crcH: 0x68 crcT 0x52 after SHT30
SkyWeather Weather Station Version 055 - SwitchDoc Labs
Program Started at:2020-01-16 10:45:48
---------------------- I2C Mux - TCA9545: Present BME680: Present BMP280: Not Present SkyCam: Not Present DS3231: Not Present HDC1080: Not Present SHT30: Present AM2315: Not Present ADS1015: Not Present ADS1115: Present AS3935: Not Present OLED: Present SunAirPlus/SunControl: Present
The buss check gives the following, but as far as I understand, the thunderboard is direct on the Pi2Grove, so not on one of the mux busses.
pi@IBADHOEV14:~/SDL_Pi_SkyWeather $ sudo python testSDL_Pi_TCA9545.py
Test SDL_Pi_TCA9545 Version 1.0 - SwitchDoc Labs
Sample uses 0x73 Program Started at:2020-01-16 11:46:50
-----------BUS 0------------------- tca9545 control register B3-B0 = 0x1 ignore Interrupts if INT3' - INT0' not connected tca9545 control register Interrupts = 0x0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- -- 40: -- -- -- -- 44 -- -- -- 48 -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- 73 -- -- -- 77
-----------------------------------
-----------BUS 1------------------- tca9545 control register B3-B0 = 0x2 ignore Interrupts if INT3' - INT0' not connected tca9545 control register Interrupts = 0x0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- 73 -- -- -- --
-----------------------------------
-----------BUS 2------------------- tca9545 control register B3-B0 = 0x4 ignore Interrupts if INT3' - INT0' not connected tca9545 control register Interrupts = 0x0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: 40 -- -- -- -- -- -- -- 48 -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- 73 -- -- -- --
-----------------------------------
-----------BUS 3------------------- tca9545 control register B3-B0 = 0x8 ignore Interrupts if INT3' - INT0' not connected tca9545 control register Interrupts = 0x0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- 29 -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- 73 -- -- -- --
-----------------------------------
I tripple checked the wiring, but can not find any mistakes. Were can I look further?
|
|
|
Post by SDL on Jan 16, 2020 13:56:30 GMT -8
Try running the AS3935 test under the SkyWeather directory. Tell me what that shows.
Since the AS3935 is at address 2 it won't show up on the above.
BP
|
|
|
Post by triggerfish on Jan 16, 2020 14:23:07 GMT -8
That gives:
pi@IBADHOEV14:~/SDL_Pi_SkyWeather $ sudo python testAS3935.py AS3935 NOT detected at I2C port 0x02 on base Bus Does it need to be connected to a specific Pi2Grover I2C port? I got the impression any would do.
|
|
|
Post by SDL on Jan 16, 2020 16:27:02 GMT -8
Peter,
Would you take a picture of your Thunderboard and post it here?
Also, any port on the Pi2Grover works. Pull out any other I2C devices and try to run the test.
BP
|
|
|
Post by triggerfish on Jan 17, 2020 7:31:35 GMT -8
Peter, Would you take a picture of your Thunderboard and post it here? Also, any port on the Pi2Grover works. Pull out any other I2C devices and try to run the test. BP Will do when I get home. It is the same hardware from the GroveWeatherPi kit I upgraded.
|
|
|
Post by triggerfish on Jan 17, 2020 8:01:43 GMT -8
OK, that was fast With the thunderboard only attached, the test returns:
pi@IBADHOEV14:~/SDL_Pi_SkyWeather $ sudo python testAS3935.py >>>>>>>>>>>>>>>>>>><<<<<<<<<<< TCA9545 I2C Mux Not Present >>>>>>>>>>>>>>>>>>><<<<<<<<<<< AS3935 NOT detected at I2C port 0x02 on base Bus The pics are:
|
|
|
Post by SDL on Jan 19, 2020 11:03:59 GMT -8
Hmmm. Not clear what the problem is. Please PM me.
BP
|
|
|
Post by Powderjockey on Jan 20, 2020 18:56:11 GMT -8
I was thinking, I think I changed the address in the SkyWeather.py script to what was returned when checking what BUSes everything was attached to? Or am I dreaming?
|
|
|
Post by SDL on Jan 23, 2020 6:20:11 GMT -8
What address are you talking about? You will never see 0x02. Did you change something?
BP
|
|
|
Post by Powderjockey on Jan 23, 2020 16:17:38 GMT -8
My BUSes
Sample uses 0x73 Program Started at:2020-01-23 17:15:18
-----------BUS 0------------------- tca9545 control register B3-B0 = 0x1 ignore Interrupts if INT3' - INT0' not connected tca9545 control register Interrupts = 0x0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: 03 -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- 48 -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- 73 -- -- -- 77
-----------------------------------
-----------BUS 1------------------- tca9545 control register B3-B0 = 0x2 ignore Interrupts if INT3' - INT0' not connected tca9545 control register Interrupts = 0x0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: 03 -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- 73 -- -- -- --
-----------------------------------
-----------BUS 2------------------- tca9545 control register B3-B0 = 0x4 ignore Interrupts if INT3' - INT0' not connected tca9545 control register Interrupts = 0x0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: 03 -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- 73 -- -- -- --
-----------------------------------
-----------BUS 3------------------- tca9545 control register B3-B0 = 0x8 ignore Interrupts if INT3' - INT0' not connected tca9545 control register Interrupts = 0x0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: 03 -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- 29 -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- 73 -- -- -- --
-----------------------------------
|
|
|
Post by triggerfish on Jan 24, 2020 9:40:14 GMT -8
As far as I understand these are the four busses on the mux, not the busses on the Pi2Grover, which the thunderboard is connected to
|
|
|
Post by SDL on Jan 24, 2020 12:16:44 GMT -8
See the 0x03? That is a very old version of the ThunderBoard. We will send you the latest version.
Peter
|
|
|
Post by Powderjockey on Jan 25, 2020 12:08:09 GMT -8
See the 0x03? That is a very old version of the ThunderBoard. We will send you the latest version. Peter Thanks. Scott
|
|
|
Post by triggerfish on Feb 6, 2020 10:59:03 GMT -8
Received the new board, installed it, but still propblems. The startup shows: (4.08, 1, 0) () ('Pi Camera Revision', u'ov5647') ('after bme680', True) as3935 start Traceback (most recent call last): File "/home/pi/SDL_Pi_SkyWeather/SkyWeather.py", line 654, in <module> as3935.set_watchdog_threshold(WatchDogThreshold) AttributeError: RPi_AS3935 instance has no attribute 'set_watchdog_threshold' After which the software aborts
|
|
|
Post by SDL on Feb 6, 2020 11:21:17 GMT -8
My gosh! I have never seen that error before. Just comment out line 654 and see if it continues.
I wonder if you have the latest RPi_AS3935 installed.
BP
|
|