Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No data shown before calibration (Update.sh which is into https://github.com/Altitude-Tech/Sensly_Install project) #4

Closed
shihlinlu opened this issue Jun 26, 2017 · 10 comments
Assignees

Comments

@shihlinlu
Copy link

shihlinlu commented Jun 26, 2017

Followed all instructions as shown on Instructables: http://www.instructables.com/id/Sensly-Hat-for-the-Raspberry-Pi-Air-Quality-Gas-De/.

After the Raspberry Pi restarted and $ i2cdetect -y 1 , no data is shown in 05 and 76 positions.

I have sent several emails to the Altitude Tech team with no response. I believe this might be a faulty sensor issue than with the code.

@frazerbarnes
Copy link

I have let my colleagues know about the issue. Please email sam@altitude.pw and he should be able to help resolve your problem.

@Sam-AlteredCarbon
Copy link
Contributor

Hi shihlinlu, if you could email me directly at sam@altitude.pw I can help you troubleshoot the problem you are having with obtaining data.

@shihlinlu
Copy link
Author

Thanks for the update. I have sent an email.

@gitboy122
Copy link

Same issue here altitude guys plz gelp

@phgachoud
Copy link
Contributor

@shihlinlu did you solve your problem?? I dont understand your issue description...

@shihlinlu
Copy link
Author

@phgachoud No, I have not resolved the issue. No data was being calibrated as shown in the instructions link. I received a replacement sensor, but have not had time to test it again. Were you able to calibrate the sensor and collect data?

@phgachoud
Copy link
Contributor

phgachoud commented Nov 14, 2017 via email

@gesaleh
Copy link

gesaleh commented Nov 15, 2017

@phgachoud I pulled your fix it works for the calibration but the data collection still fails with the same error

python Sensly.py
2017-11-14 22:45:43.459 DEBUG Sensly - <module>: start of script
2017-11-14 22:45:43.462 DEBUG Sensly - <module>: debug test this is logged as debug level
 Sensly is warming up please wait for 15 mins

 Heating Completed
Traceback (most recent call last):
  File "Sensly.py", line 306, in <module>
    MQ7Rs_R0 = MQ7.Corrected_RS_RO( MQ7cmd, temperature, humidity, MQ7_t_33H, MQ7_t_85H)
  File "/home/pi/Sensly/Sensors.py", line 104, in Corrected_RS_RO
    correctedrsro = rsroCorrPct * (self.Get_RSR0Ratio(cmd))
  File "/home/pi/Sensly/Sensors.py", line 63, in Get_RSR0Ratio
    self.rsro = float(self.Get_RS(cmd)/self.R0)
  File "/home/pi/Sensly/Sensors.py", line 58, in Get_RS
    self.RS = ((float(self.MaxADC)/float(self.Get_rawdata(cmd))-1)*self.RLOAD)
  File "/home/pi/Sensly/Sensors.py", line 46, in Get_rawdata
    self._device.write_byte(I2C_Addr,cmd)
IOError: [Errno 121] Remote I/O error

@phgachoud
Copy link
Contributor

phgachoud commented Nov 15, 2017

@gesaleh for this issue, please see ## my associated branch which is #6 dev/issue6_remote_IO_Error ## I'll try to keep this notation for the future...

1 branch = 1 issue fix

@phgachoud phgachoud self-assigned this Nov 15, 2017
@phgachoud phgachoud changed the title No data shown before calibration No data shown before calibration (Update.sh which is into https://github.com/Altitude-Tech/Sensly_Install project) Nov 15, 2017
@phgachoud
Copy link
Contributor

phgachoud commented Nov 15, 2017

This issue is moved (closed & copied, github is unable to move issue) to the corresponding project because i2cdetect is an installation problem of the HAT, not a problem from gaz detections.
@shihlinlu see other issues to not mix up things... thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants