jhcii
New Member
Posts: 40
|
Post by jhcii on Sept 13, 2019 19:08:22 GMT -8
Ok I git pulled to version 47. And this is what is on screen. (79.4784000000000, 90, 43) () ('Pi Camera Revision', u'ov5647') ('after bme680', True) as3935 start as3935 present at 0x02 after SHT30
Cursor under and nothing else till I control c
^c SkyWeather Weather Station Version 047 SwitchDic Labs
Program Started at:2019-09-13 22:40:49 ---------------------- I2C Mux - TCA9545: Present BME680: Present BMP280: Not Present SkyCam: Present DS3231: Not Present HDC1080: Not Present SHT30: Not Present AM2315: Not Present ADS1015: Not Present ADS1115: Present AS3935: Present OLED: Not Present SunAirPlus/SunControl: Not Present SolarMax: Not Present SI1145 Sun Sensor: Not Present TSL2591 Sun Sensor: Present DustSensor: Present WXLink: Not Present Dual SojarMax/WXLink: Not Present UseBlynk: Not Present UseMySQL: Not Present WeatherUnderground: Not Present UseWeatherStem: Not Present --------------- Sendmail exception raised ---------------- Sample and Display ---------------- ---------------- Weather Sampling ---------------- (' value = ', 429.5625) (' voltageValue = ', 0.4295625)
Then more dashes takes picture shows jobstore Pat's dog twice sample pat dog Weather sampling after sample and Display done then patting dog.
On first start I get the as 3935 start then I/O error(121): Remote I/O error twice then after SHT30 and it sits waited 10 minutes no change. ^c then get that the AD3935 and SHT30 Not Present but after ^c again and restart that's when the AS3935 will show up but still no SHT30.
|
|
jhcii
New Member
Posts: 40
|
Post by jhcii on Sept 13, 2019 19:10:43 GMT -8
In other words on first start no AS3935 or SHT30 are Present but after stopping the program and restarting it ( not rebooting ) then the AS3935 shows up but still no SHT30
|
|
jhcii
New Member
Posts: 40
|
Post by jhcii on Sept 13, 2019 19:21:25 GMT -8
I do assume that the SHT30 plugs into the port that the AM2315 was plugged into, or does it get plugged in elsewhere?
|
|
|
Post by SDL on Sept 13, 2019 19:22:07 GMT -8
Yes. Same place.
BP
|
|
|
Post by SDL on Sept 13, 2019 19:23:40 GMT -8
With the SHT30 plugged in, could you run the
sudo python testSDL_Pi_TCA9545.py And post the results?
BP
|
|
jhcii
New Member
Posts: 40
|
Post by jhcii on Sept 13, 2019 19:33:21 GMT -8
Bus 0 I get 48 at 40: and 8 I get 73 at 70: and 3 I get 77 at 70: and 7
Bus 1 I get 44 at 40: and 4 I get 73 at 70: and 3
Bus 2 I get 73 at 70: and 3
Bus 3 I get 29 at 29: and 9 I get 73 at 70: and 3
|
|
jhcii
New Member
Posts: 40
|
Post by jhcii on Sept 13, 2019 19:41:42 GMT -8
Without the SHT30 plugged in bus 1 loses the 44 at 49: and 4
|
|
jhcii
New Member
Posts: 40
|
Post by jhcii on Sept 13, 2019 19:42:20 GMT -8
40: and 4. Fat fingers
|
|
jhcii
New Member
Posts: 40
|
Post by jhcii on Sept 13, 2019 19:50:48 GMT -8
On a whim a switched the power save boards on the SHT30 and the DustSensor same results so power save boards are at least ok
|
|
|
Post by SDL on Sept 14, 2019 17:02:31 GMT -8
Could you post the results sudo python testSDL_Pi_TCA9545.py in the way them come out so I can read them quickly and compare them to the correct results?
BP
|
|
jhcii
New Member
Posts: 40
|
Post by jhcii on Sept 15, 2019 10:38:03 GMT -8
---- 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 00: -- -- -- -- -- -- -- -- -- -- -- 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 00: -- -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- 44 -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- 73 -- -- -- --
--------------------
-------- BUS 2 --------------- tca9545 control register B3-B0 = 0x4 ignore Interrupts if INT3' - INT0' not connected tcs9545 control register Interrupts = 0x0 0 1 2 3 4 5 6 7 8 9 a b c d 00: -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- 73 -- -- -- --
------------------------------
--------- BUS 3 -------------- tca9545 control register BE - 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 00: -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- 29 -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- 73 -- -- -- --
----------------------
I left off the e and f as they were just -- and I'm hand typing this on my phone. I think these look correct to me. But again I issue pigpiod command the the skyweather command to start and NO SHT30 or thunderboard shows up, but if I ^c then restart skyweather it will then see the thunderboard but still not see the SHT30 it will report not present even after 15 minutes of waiting ( I thought that maybe the SHT30 needed to be powered on and possibly wait for it to stabilize )
|
|
jhcii
New Member
Posts: 40
|
Post by jhcii on Sept 15, 2019 10:40:32 GMT -8
Ok I see that this forum removed the extra spaces.
|
|
|
Post by SDL on Sept 15, 2019 15:19:13 GMT -8
From the manual, this is what you should see (plus the 0x44 - SHT30 - which should be plugged into the same bus as the AM2315 was (bus 0)
pi@switchdoclabs:~/SDL_Pi_SkyWeather $ sudo python testSDL_Pi_TCA9545.py Test SDL_Pi_TCA9545 Version 1.0 - SwitchDoc Labs Sample uses 0x73 Program Started at:2019-04-27 11:34:57 -----------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: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 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: -- -- -- -- -- -- -- -- -- -- -- -- -- 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: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Page 50 Version 1.7 July 2019 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 -- -- -- -- --------------------------------
Looking at your display, it is clear that you have the SHT30 plugged into the wrong I2C bus segment. It needs to be plugged into the same bus as the AM2315, bus 0, not bus 1.
BP
|
|
jhcii
New Member
Posts: 40
|
Post by jhcii on Sept 15, 2019 17:45:04 GMT -8
I had checked that wiring at least 4 times. I looked at the photo of the completed setup in the manual and it looks like it's plugged into bus 0 ( if it was 0, 1, 2, 3 ) and when I was checking I saw the silk screen on the board ( which has bus 0 and bus 1 reversed ) so going by the silk screen on the board bus 0 was by the connection to the grover board and not the second. I just plugged it into the correct bus and it's working as before. Thanks I had read the manual several times and checked that several times and thought I was going crazy, it detects both the SHT30 and the Thunderboard when I start the program. Now it's time to put it all into my weather box, finish setting it to connect to weather stem, etc.. and mount it on the pole. I'm actually running power and a cat5e cable up into the box with the cat5e going straight to my router. I'm using a bit smaller box and will send you some photos of it, I have a couple of unique ways of attaching the exterior sensors ( Thunderboard, SHT30, and Dust ) thanks for pointing that out...
|
|
|
Post by SDL on Sept 18, 2019 6:22:35 GMT -8
We would love to see pictures of your unique mounting system.
Yes, the grove connectors are not 0,1,2,3 unfortunately.
BP
|
|