• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Failed to open I2C e SPI
#1
After some test at home on signalk kindle web visualisation, Today I'm trying on the boat (I have 2 rpi3, at home just the rpi3 and on boat a rpi3 with the imu, temperature, pressure, humidity sensors)

But op say:


Code:
pi@openplotter:~ $ openplotter debug
Failed to open I2C bus 1
Failed to open SPI bus 0, select 0
Failed to open SPI bus 0, select 1
No IMU detected
Failed to open I2C bus 1
No pressure sensor detected
Failed to open I2C bus 1
No humidity sensor detected
connect failed to localhost:21311
connect failed to localhost:21311
connect failed to localhost:21311
connect failed to localhost:21311
connect failed to localhost:21311
connect failed to localhost:21311
connect failed to localhost:21311
connect failed to localhost:21311
connect failed to localhost:21311
connect failed to localhost:21311
connect failed to localhost:21311
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/ui/autopilot_calibration.py", line 219, in onResetAlignment
    self.client.set('imu/alignmentQ', [1, 0, 0, 0])
AttributeError: 'bool' object has no attribute 'set'
connect failed to localhost:21311
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/ui/autopilot_calibration.py", line 222, in onLevel
    self.StartAlignment()
  File "/usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/ui/autopilot_calibration.py", line 216, in StartAlignment
    self.client.set('imu/alignmentCounter', 100)
AttributeError: 'bool' object has no attribute 'set'
connect failed to localhost:21311
Failed to open I2C bus 1
Failed to open SPI bus 0, select 0
Failed to open SPI bus 0, select 1
No IMU detected
Failed to open I2C bus 1
No pressure sensor detected
Failed to open I2C bus 1
No humidity sensor detected
Traceback (most recent call last):
  File "/home/pi/.config/openplotter/openplotter", line 1762, in on_add_i2c
    dlg = addI2c(self)
  File "/home/pi/.config/openplotter/classes/add_i2c.py", line 95, in __init__
    self.detection()
  File "/home/pi/.config/openplotter/classes/add_i2c.py", line 131, in detection
    bus = smbus.SMBus(1)
IOError: [Errno 2] No such file or directory


My config:


Op 0.16.0
Rpi3
Gps USB
Imu MPU 9250
Pressure BMP180
Temperature HTU21D
Humidity HTU21D
Ais reciver 820t2 & sdr
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)