The Wayback Machine - https://web.archive.org/web/20220208010602/https://github.com/topics/air-quality
Skip to content
#

air-quality

Here are 595 public repositories matching this topic...

tms320
tms320 commented Dec 17, 2019

Hello!
I use the same UART channel to read data from sensor (via RX pin of controller) and send debug messages (via TX pin). So there is no connection between controller's TX pin and sensor's RX pin.
In my case PMS5003 sensor works fine without sending any command to it.
Your library sends "passive mode" command in 'init' and 'trigRead' methods:
uart->write(cfg, msgLen); // set passive mode

Improve this page

Add a description, image, and links to the air-quality topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the air-quality topic, visit your repo's landing page and select "manage topics."

Learn more