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

22_gas_sensor #8

Open
argometric opened this issue Jul 28, 2020 · 0 comments
Open

22_gas_sensor #8

argometric opened this issue Jul 28, 2020 · 0 comments

Comments

@argometric
Copy link

argometric commented Jul 28, 2020

  • Python code: Buzzer works, high values displays danger gas.
  • C code: "Saft" is printed, should be "Safe" i guess. Buzzer does not work.

How come Python script says danger on higher numbers while C says safe, C also does not trigger the buzzer. Think there is an issue somewhere in the code.

For anyone having issues, you need to turn the shaft of the pontetiometer to raise and reduce the concentration level, mine was on max and printed 255 all the time. This needs to be turned on the PCF8591 not on the gas sensor. Maybe update this in the description as it was not perfectly clear.

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

1 participant