Skip to content

Calibration script fails retrieving data #3

@X4LD1M0

Description

@X4LD1M0
  1. Installed latest Raspian Jessie 2017-04-10 on Raspberry Pi 2
  2. Followed Instructable procedure
  3. Run the script Sensly_Dev_Install.sh
  4. Run the script Sensly_Calibration.py

At this point it fails and gives the following output:
Traceback (most recent call last):
File "Sensly/Sensly_Calibration.py", line 60, in
AvRs_MQ7 = AvRs_MQ7 + MQ7.Get_RS(MQ7cmd)
File "/root/Sensly/Sensors.py", line 58, in Get_RS
self.RS = ((float(self.MaxADC)/float(self.Get_rawdata(cmd))-1)*self.RLOAD)
File "/root/Sensly/Sensors.py", line 46, in Get_rawdata
self._device.write_byte(I2C_Addr,cmd)
IOError: [Errno 121] Remote I/O error

When running the i2cdetect command it shows 05, but sometimes also 06 and 07.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions