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
In passive mode I receive NULL values from PMS 7003 sensor with constant intervals.
I have not received any complaints from others, these are my observations only.
Simple solution without modify library:
Increase default timeout value for readUntil().
E.g.
pms.readUntil(data, 2000);
In next release I will use flush() after all commands to the sensor to be sure that the whole message has arrived.
The text was updated successfully, but these errors were encountered:
It's referred to the Active mode (default). From official documentation:
There are two options for digital output: passive and active. Default mode
is active after power up. In this mode sensor would send serial data to the
host automatically .The active mode is divided into two sub-modes: stable
mode and fast mode. If the concentration change is small the sensor
would run at stable mode with the real interval of 2.3s.And if the change is
big the sensor would be changed to fast mode automatically with the
interval of 200~800ms, the higher of the concentration, the shorter of the
interval.
But in our example (Passive mode) response time is less than 1s, but I recommend setting to 2s.
Looks familiar?
In passive mode I receive NULL values from PMS 7003 sensor with constant intervals.
I have not received any complaints from others, these are my observations only.
Simple solution without modify library:
Increase default timeout value for readUntil().
E.g.
In next release I will use flush() after all commands to the sensor to be sure that the whole message has arrived.
The text was updated successfully, but these errors were encountered: