Post by G Jones on Aug 22, 2020 9:01:00 GMT -8
#Running on RaspberryPi 3b+
We've got everything hooked up and installed per the guide(s) and the Git repo-- except I've now removed the camera so I don't damage the cable (again). It fires up as expected and I can connect to the Pi via SSH.
The first test: testSDL_Pi_TCA9545.py fails...and it appears that it is not addressing the I2C bus on the Grover board.
I've included some basics about my config. I ran a few tests...results at the bottom. "TCA9545 I2C Mux Not Present
" is common amongst the tests.
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Adafruit_Python_PureIO
SDL_Pi_SkyWeather
Adafruit_Python_BMP
Adafruit_Python_GPIO
Adafruit_Python_SSD1306
BME680 DustSensor.py
BME680_Functions.py
config.py
config.pyc
conflocal.py
conflocal.pyc
crcpython2.py
doAllGraphs.py
doWatchdogPat.py
graphs
lowpower.sh
MySQLFiles
pclogging.py
pixelDriver.py
pyRFM
RaspberryPi-AS3935
readLoRa.py
README.md
RTC_SDL_DS3231
Scroll_SSD1306.py
SDL_Adafruit_ADS1x15
SDL_Pi_8PixelStrip
SDL_Pi_AM2315
SDL_Pi_HDC1000
SDL_Pi_DustSensor
SDL_Pi_WeatherRack
SDL_Pi_GrovePowerDrive
SDL_Pi_INA3221
SDL_Pi_SHT30
SDL_Pi_SI1145
SDL_Pi_SSD1306
SDL_Pi_TCA9545
sendemail.py
SkyCamera.py
SkyWeather.py
SkyWeatherSQL
startserver.sh
state
state.py
static
testAM2315.py
testAS3935.py
testBlynk.py
testDust.py
testFan.py
testGraph.py
testSDL_Pi_TCA9545.py
testSHT30.py
testSI1145.py
testTSL2591.py
testWeatherRack.py
testWXLink.py
TSL2591
updateBlynk.py
util.py
WeatherUnderground.py
Sample uses 0x73
Program Started at:2020-08-22 17:24:27
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 = TCA9545_CONFIG_BUS0)
File "./SDL_Pi_TCA9545/SDL_Pi_TCA9545.py", line 44, in __init__
self._bus = smbus.SMBus(twi)
IOError: [Errno 2] No such file or directory
File "testDust.py", line 9, in <module>
import pigpio
ImportError: No module named pigpio
TCA9545 I2C Mux Not Present
>>>>>>>>>>>>>>>>>>><<<<<<<<<<<
Traceback (most recent call last):
File "testSHT30.py", line 49, in <module>
thsen = SHT30.SHT30(powerpin=6)
File "./SDL_Pi_SHT30/SHT30.py", line 30, in __init__
i2c = smbus.SMBus(1)
IOError: [Errno 2] No such file or directory
TCA9545 I2C Mux Not Present
>>>>>>>>>>>>>>>>>>><<<<<<<<<<<
Traceback (most recent call last):
File "testAM2315.py", line 48, in <module>
am2315 = AM2315.AM2315(powerpin=6)
File "./SDL_Pi_AM2315/AM2315.py", line 40, in __init__
self._device = adasmbus.SMBus(1)
File "./SDL_Pi_AM2315/adasmbus.py", line 105, in __init__
self.open(bus)
File "./SDL_Pi_AM2315/adasmbus.py", line 130, in open
self._device = open('/dev/i2c-{0}'.format(bus), 'r+b', buffering=0)
IOError: [Errno 2] No such file or directory: '/dev/i2c-1'
We've got everything hooked up and installed per the guide(s) and the Git repo-- except I've now removed the camera so I don't damage the cable (again). It fires up as expected and I can connect to the Pi via SSH.
The first test: testSDL_Pi_TCA9545.py fails...and it appears that it is not addressing the I2C bus on the Grover board.
I've included some basics about my config. I ran a few tests...results at the bottom. "TCA9545 I2C Mux Not Present
" is common amongst the tests.
pi@skyweather:~ $ cat /etc/os-release
# Installed the lite version of Raspbian...without the UIPRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
pi@skyweather:~ $ ls
Adafruit_Python_GPIO Adafruit_Python_PureIO
SDL_Pi_SkyWeather
pi@skyweather:~ $ cd SDL_Pi_SkyWeather
pi@skyweather:~/SDL_Pi_SkyWeather $ ls
Adafruit_I2C Adafruit_Python_BMP
Adafruit_Python_GPIO
Adafruit_Python_SSD1306
BME680 DustSensor.py
BME680_Functions.py
config.py
config.pyc
conflocal.py
conflocal.pyc
crcpython2.py
doAllGraphs.py
doWatchdogPat.py
graphs
lowpower.sh
MySQLFiles
pclogging.py
pixelDriver.py
pyRFM
RaspberryPi-AS3935
readLoRa.py
README.md
RTC_SDL_DS3231
Scroll_SSD1306.py
SDL_Adafruit_ADS1x15
SDL_Pi_8PixelStrip
SDL_Pi_AM2315
SDL_Pi_HDC1000
SDL_Pi_DustSensor
SDL_Pi_WeatherRack
SDL_Pi_GrovePowerDrive
SDL_Pi_INA3221
SDL_Pi_SHT30
SDL_Pi_SI1145
SDL_Pi_SSD1306
SDL_Pi_TCA9545
sendemail.py
SkyCamera.py
SkyWeather.py
SkyWeatherSQL
startserver.sh
state
state.py
static
testAM2315.py
testAS3935.py
testBlynk.py
testDust.py
testFan.py
testGraph.py
testSDL_Pi_TCA9545.py
testSHT30.py
testSI1145.py
testTSL2591.py
testWeatherRack.py
testWXLink.py
TSL2591
updateBlynk.py
util.py
WeatherUnderground.py
pi@skyweather:~/SDL_Pi_SkyWeather $ sudo python testSDL_Pi_TCA9545.py
Test SDL_Pi_TCA9545 Version 1.0 - SwitchDoc LabsSample uses 0x73
Program Started at:2020-08-22 17:24:27
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 = TCA9545_CONFIG_BUS0)
File "./SDL_Pi_TCA9545/SDL_Pi_TCA9545.py", line 44, in __init__
self._bus = smbus.SMBus(twi)
IOError: [Errno 2] No such file or directory
pi@skyweather:~/SDL_Pi_SkyWeather $ sudo python testDust.py
Traceback (most recent call last):File "testDust.py", line 9, in <module>
import pigpio
ImportError: No module named pigpio
pi@skyweather:~/SDL_Pi_SkyWeather $ sudo python testSHT30.py
>>>>>>>>>>>>>>>>>>><<<<<<<<<<<TCA9545 I2C Mux Not Present
>>>>>>>>>>>>>>>>>>><<<<<<<<<<<
Traceback (most recent call last):
File "testSHT30.py", line 49, in <module>
thsen = SHT30.SHT30(powerpin=6)
File "./SDL_Pi_SHT30/SHT30.py", line 30, in __init__
i2c = smbus.SMBus(1)
IOError: [Errno 2] No such file or directory
pi@skyweather:~/SDL_Pi_SkyWeather $ sudo python testAM2315.py
>>>>>>>>>>>>>>>>>>><<<<<<<<<<<TCA9545 I2C Mux Not Present
>>>>>>>>>>>>>>>>>>><<<<<<<<<<<
Traceback (most recent call last):
File "testAM2315.py", line 48, in <module>
am2315 = AM2315.AM2315(powerpin=6)
File "./SDL_Pi_AM2315/AM2315.py", line 40, in __init__
self._device = adasmbus.SMBus(1)
File "./SDL_Pi_AM2315/adasmbus.py", line 105, in __init__
self.open(bus)
File "./SDL_Pi_AM2315/adasmbus.py", line 130, in open
self._device = open('/dev/i2c-{0}'.format(bus), 'r+b', buffering=0)
IOError: [Errno 2] No such file or directory: '/dev/i2c-1'