You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
Were you able to solve your problem? I'm facing the same "Math Domain Error" problem with MQ-2.
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:
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.
The text was updated successfully, but these errors were encountered: