Skip to content

Info request #1

@dentex

Description

@dentex

Hello!
I was trying to use a Chinese module with a MQ7 sensor onboard. Using your library I found that MicroPython complained about some syntax errors (apparently; I'm not an expert). I changed it a little bit and I issued a reading... Then I had a final error I don't know how to fix:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "BaseMQ.py", line 150, in readScaled
ValueError: math domain error

Other than that, according to what the guys here were talking about, it seems that to issue a reading, the module must be powered respecting certain cycles (1,4V and 5V alternatively).

Do you have any advice in regards?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions