|
Post by Rassilon on Feb 27, 2019 14:41:50 GMT -8
I am using pi3, grove to pi connector hat, and the weatherboard on your SSD. I have the rtc, the barometer and light sensor connected. When I run sudo python testSDL_Pi _TCA9545.py I get the following
Test SDL_Pi_TCA9545 Version 1.0 - SwitchDoc Labs
Sample uses 0x73
Program Started at:2019-02-27 14:30:03
Traceback (most recent call last):
File "testSDL_Pi_TCA9545.py", line 51, in <module>
tca9545 = SDL_Pi_TCA9545.SDL_Pi_TCA9545(addr=TCA9545_ADDRESS, bus_enable = T CA9545_CONFIG_BUS0)
File "/home/pi/SDL_Pi_GroveWeatherPi/SDL_Pi_TCA9545/SDL_Pi_TCA9545.py", line 4 7, in __init__
self._write(TCA9545_REG_CONFIG, config)
File "/home/pi/SDL_Pi_GroveWeatherPi/SDL_Pi_TCA9545/SDL_Pi_TCA9545.py", line 5 2, in _write
self._bus.write_byte_data(self._addr, register, data)
IOError: [Errno 121] Remote I/O error
Can you help me out here?
|
|
|
Post by SDL on Feb 27, 2019 15:12:12 GMT -8
Do you have the I2C Mux hooked up? Do an "i2cdetect -y 1" and post the results.
BP
|
|
|
Post by rassilon on Feb 27, 2019 15:47:18 GMT -8
0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --
|
|
|
Post by rassilon on Feb 27, 2019 15:51:09 GMT -8
Oh I just noticed I don't have one of those, can you link me the recommended one?
|
|
|
Post by SDL on Feb 28, 2019 11:02:04 GMT -8
|
|
|
Post by rassilon on Feb 28, 2019 14:15:36 GMT -8
Yeh lol Doh! ordered and thanx.
|
|
|
Post by rassilon on Mar 15, 2019 15:34:00 GMT -8
Do you have a wiring diagram without the solar stuff and the 12c 4 port hub. I am getting a little mixed up with the wiring.
|
|
|
Post by rassilon on Mar 16, 2019 13:51:30 GMT -8
Ok I give up, I cannot make any sense out of your wiring diagrams.
|
|
|
Post by SDL on Mar 17, 2019 18:15:06 GMT -8
What are you trying to wire up? Help me out here. Remember, the i2C bus is a BUS and the I2C Mux converts the I2C bus to four separate busses.
BP
|
|