Hi,
I'm building the GroveWeatherPi and am having the same issues as a couple of people have listed above. The Thunderboard is connected properly per the wiring information on the build PDF (The document I used for the build is:
www.switchdoc.com/wp-content/uploads/2016/10/GroveWeatherPi-Raspberry-Pi-Based-Weather-Station-2.pdf).
Pi2Grover / D13/D16 ___ MOD-1016G / Grove IRQ(Grove INT)
4 Chan I2C Mux / Grove J3 / Bus1 ___ MOD-1016 / Grove I2C
When I run GroveWeatherPi.py, everything seems to be working, however, it does does not recognize the AS3935 Lightning Detector. The white interrupt light is solid on when wired as documented in the PDF.
As mentioned in a pervious post as a test, I removed all other I2C cables from the Pi2Grover and only had the TB connected to Pi2Grover I2C to I2C on the AS3935. The TB was recognized, the white interrupt light only lit up when lightning was detected which was tested with the Lightning simulator. So I know the board works and it is working with the software when wired this way.
All the wiring is per the documentation, checked 4+ times and checked once more. The only variances to the documentation are:
- no solar components are connected.
- I have an HDC1080 Temp/Hum board connected with a Grove cable to one of the I2C ports on the Pi2Grover board.
- I do NOT have anHTU21DF Temp/Hum board connected.
I'm using a Raspberry Pi3.
Here is the output from testSDL_Pi_TCA9545.py
** I don't really know how to ready this yet, I looked for the I2C address chart, but could not find one **
** I pretty certain the BUS 2 0/40: Value 40 is the HDC1080 Temp/Hum board **
** I see some values missing, but I don't know if those are due to not having the solar board(s) connected **
Test SDL_Pi_TCA9545 Version 1.0 - SwitchDoc Labs
Sample uses 0x73
Program Started at:2018-02-21 21:03:30
-----------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: 40 -- -- -- -- -- -- -- 48 -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- 57 -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- --
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: 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 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
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: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: 40 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- 73 -- -- -- --
-----------------------------------
Any help would be appreciated. I can post some pics of the wiring if needed, but at this point, I'm not sure that would provide any additional information.
Thanks,
Richard