Skip to content

22_gas_sensor #8

Description

@argometric
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions