Post by N8MDP on Jun 18, 2018 15:57:13 GMT -8
Hi,
I'm new to the board and I can get some answers. I've read many posts to try to solve my problem but not finding the answers. Sorry for the long post here but I wanted to present all of the details.
Over the weekend I wired up my Grove WeatherPi system and followed the Tutorial wiring exactly. The only difference is that I plugged the HDC1080 Temp/Humidity board into J4 on the 4 Chan I2C Mux. Figured that I could use the connection. The Raspberry Pi is a Raspberry Pi 3 Model B+ (one of the newest version) with the very latest Raspbian Stretch OS installed. Think it was the April 2018 release. I also downloaded all of the supporting drivers needed for the various boards. So I'm pretty sure I have everything installed.
Here is the output of the testSDL_Pi_TCA9495:
Test SDL_Pi_TCA9545 Version 1.0 - SwitchDoc Labs
Sample uses 0x73
Program Started at:2018-06-18 19:10:24
-----------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: -- -- -- -- -- -- -- -- 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: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
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: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- 73 -- -- -- --
-----------------------------------
If I read this correctly, the Mux board is identifying the BMP280, DS3231 RTC, ADS1115, Grove OLED, and the Mux itself on Bus 0. Not sure what is at 0x57. Is this the AM2315?
On Bus 1, I would have expected to see the ThunderBoard but I recall when I put together the IOT ThunderBoard Lightning Detector, it also doesn't show up either.
On Bus 2, I see the HDC1080 Temp/Humidity board.
Nothing is connected on Bus 4.
I now run the GroveWeatherPi.py program and I get the following:
as3935 Interrupt
as3935 Interrupt
as3935 Interrupt
as3935 Interrupt
as3935 Interrupt
and lots of these.
I had read on some other posts and threads that the ThunderBoard needs to have its own dedicated I2C line instead of going through the Mux. So I pulled the I2C cable used for the Thunderboard and moved it to the Pi2Grover board on the Pi itself. I ran the testSDL_Pi_TCA9545.py program and got the same results above. So I started the GroveWeatherPi.py program. Here is what the program detected as present or not:
Program Started at:2018-06-18 19:31:03
----------------------
I2C Mux - TCA9545: Present
BMP280: Present
DS3231: Present
HDC1080: Not Present
HTU21DF: Not Present
AM2315: Present
ADS1015: Not Present
ADS1115: Present
AS3935: Present
OLED: Not Present
SunAirPlus: Not Present
Sunlight Sensor: Not Present
WXLink: Not Present
The ThunderBoard is now present but the HDC1080 is not present. Neither is the OLED board. Why is this? The OLED board is wired into the I2C Expander board as directed. The only different wiring is that the HDC1080 is connected to J4 on the 4 Chan I2C Mux.
I moved the HDC1080 into J3 (bus 1) on the Mux board. When I run the GroveWeatherPi program, HDC1080 is not present, but now the AS3935 ThunderBoard is Not Present. Why is this? So I removed the HDC1080 from J3 completely and left it out. The OLED board is still plugged into the Expander board. I should mention that the 4 jumpers between JP7 and JP6 are installed as directed. When I run the weather software now, now the AS3935 ThunderBoard is Present. What gives? Do I have a bad 4 Chan I2C Mux board? The OLED is still Not Present.
OK, so I decided to remove the OLED display from the Expander board and moved the HDC1080 over to the Expander board which is all on Bus 0. Running the testSDL_Pi_TCA9545 program results in:
-----------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: 40 -- -- -- -- -- -- -- 48 -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- 57 -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- --
70: -- -- -- 73 -- -- -- 77
Now the HDC1080 at 0x40 is showing up in the output. Hopefully a good sign. Running the GroveWeatherPi software now results in:
Program Started at:2018-06-18 19:50:45
----------------------
I2C Mux - TCA9545: Present
BMP280: Present
DS3231: Present
HDC1080: Present
HTU21DF: Not Present
AM2315: Present
ADS1015: Not Present
ADS1115: Present
AS3935: Present
OLED: Not Present
SunAirPlus: Not Present
Sunlight Sensor: Not Present
WXLink: Not Present
With the exception of the OLED display which was disconnected, all of the sensors are present and giving data. So I leave this with the following questions:
1. Do I have a 4 Chan I2C Mux board that is bad? I'm worried that this board is not working correctly.
2. What do I have to do to get the OLED board visible in my system?
Again, sorry for the long post here but I needed to tell my story. Looking for advice and guidance.
Thanks.
John aka N8MDP
I'm new to the board and I can get some answers. I've read many posts to try to solve my problem but not finding the answers. Sorry for the long post here but I wanted to present all of the details.
Over the weekend I wired up my Grove WeatherPi system and followed the Tutorial wiring exactly. The only difference is that I plugged the HDC1080 Temp/Humidity board into J4 on the 4 Chan I2C Mux. Figured that I could use the connection. The Raspberry Pi is a Raspberry Pi 3 Model B+ (one of the newest version) with the very latest Raspbian Stretch OS installed. Think it was the April 2018 release. I also downloaded all of the supporting drivers needed for the various boards. So I'm pretty sure I have everything installed.
Here is the output of the testSDL_Pi_TCA9495:
Test SDL_Pi_TCA9545 Version 1.0 - SwitchDoc Labs
Sample uses 0x73
Program Started at:2018-06-18 19:10:24
-----------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: -- -- -- -- -- -- -- -- 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: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
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: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- 73 -- -- -- --
-----------------------------------
If I read this correctly, the Mux board is identifying the BMP280, DS3231 RTC, ADS1115, Grove OLED, and the Mux itself on Bus 0. Not sure what is at 0x57. Is this the AM2315?
On Bus 1, I would have expected to see the ThunderBoard but I recall when I put together the IOT ThunderBoard Lightning Detector, it also doesn't show up either.
On Bus 2, I see the HDC1080 Temp/Humidity board.
Nothing is connected on Bus 4.
I now run the GroveWeatherPi.py program and I get the following:
as3935 Interrupt
as3935 Interrupt
as3935 Interrupt
as3935 Interrupt
as3935 Interrupt
and lots of these.
I had read on some other posts and threads that the ThunderBoard needs to have its own dedicated I2C line instead of going through the Mux. So I pulled the I2C cable used for the Thunderboard and moved it to the Pi2Grover board on the Pi itself. I ran the testSDL_Pi_TCA9545.py program and got the same results above. So I started the GroveWeatherPi.py program. Here is what the program detected as present or not:
Program Started at:2018-06-18 19:31:03
----------------------
I2C Mux - TCA9545: Present
BMP280: Present
DS3231: Present
HDC1080: Not Present
HTU21DF: Not Present
AM2315: Present
ADS1015: Not Present
ADS1115: Present
AS3935: Present
OLED: Not Present
SunAirPlus: Not Present
Sunlight Sensor: Not Present
WXLink: Not Present
The ThunderBoard is now present but the HDC1080 is not present. Neither is the OLED board. Why is this? The OLED board is wired into the I2C Expander board as directed. The only different wiring is that the HDC1080 is connected to J4 on the 4 Chan I2C Mux.
I moved the HDC1080 into J3 (bus 1) on the Mux board. When I run the GroveWeatherPi program, HDC1080 is not present, but now the AS3935 ThunderBoard is Not Present. Why is this? So I removed the HDC1080 from J3 completely and left it out. The OLED board is still plugged into the Expander board. I should mention that the 4 jumpers between JP7 and JP6 are installed as directed. When I run the weather software now, now the AS3935 ThunderBoard is Present. What gives? Do I have a bad 4 Chan I2C Mux board? The OLED is still Not Present.
OK, so I decided to remove the OLED display from the Expander board and moved the HDC1080 over to the Expander board which is all on Bus 0. Running the testSDL_Pi_TCA9545 program results in:
-----------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: 40 -- -- -- -- -- -- -- 48 -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- 57 -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- --
70: -- -- -- 73 -- -- -- 77
Now the HDC1080 at 0x40 is showing up in the output. Hopefully a good sign. Running the GroveWeatherPi software now results in:
Program Started at:2018-06-18 19:50:45
----------------------
I2C Mux - TCA9545: Present
BMP280: Present
DS3231: Present
HDC1080: Present
HTU21DF: Not Present
AM2315: Present
ADS1015: Not Present
ADS1115: Present
AS3935: Present
OLED: Not Present
SunAirPlus: Not Present
Sunlight Sensor: Not Present
WXLink: Not Present
With the exception of the OLED display which was disconnected, all of the sensors are present and giving data. So I leave this with the following questions:
1. Do I have a 4 Chan I2C Mux board that is bad? I'm worried that this board is not working correctly.
2. What do I have to do to get the OLED board visible in my system?
Again, sorry for the long post here but I needed to tell my story. Looking for advice and guidance.
Thanks.
John aka N8MDP