-
Notifications
You must be signed in to change notification settings - Fork 192
Closed
Description
Hi,
I keep getting timeouts with the pms5003 particle sensor library
In [5]: readings = pms5003.read()
---------------------------------------------------------------------------
ReadTimeoutError Traceback (most recent call last)
<ipython-input-5-dc7f60780eda> in <module>
----> 1 readings = pms5003.read()
/usr/local/lib/python3.7/dist-packages/pms5003-0.0.2-py3.7.egg/pms5003/__init__.py in read(self)
119 elapsed = time.time() - start
120 if elapsed > 5:
--> 121 raise ReadTimeoutError("PMS5003 Read Timeout")
122
123 sof = bytearray(self._serial.read(2))
ReadTimeoutError: PMS5003 Read Timeout
It times out every time. I have not gotten a reading from it yet. What are some things I can do to debug? I can hear the fan spinning on the pms5003 sensor, so it appears to be on.
Metadata
Metadata
Assignees
Labels
No labels