Hi
I am trying this code here
[Interfacing PMS5003 PM2.5 Air Quality Sensor with Arduino]
to work on PMS5003 sensor
but the serial monitor is showing some crazy shit output i've never seen anything like it.
Thoughts ?
Hi
I am trying this code here
[Interfacing PMS5003 PM2.5 Air Quality Sensor with Arduino]
to work on PMS5003 sensor
but the serial monitor is showing some crazy shit output i've never seen anything like it.
Thoughts ?
Try with correct baudrate?
A @kmin pointed out you need the correct baudrate.
The baudrate set in the code is 115200, so your serial monitor must also be set to 115200. You have it set to 9600.

If you want to post images, please post them directly in a post instead of posting them on an external site.
Never post images of code; post code using code tags as described in how-to-get-the-best-out-of-this-forum#use-code-tags.
The web site linked in the OP seems to suggest connecting the 3.3V I/O particle sensor to 5V Arduino I/O without using a logic level converter, which is a recipe for disaster.

thanks.. correct me if i am wrong.
Your diagram seems to have mixed up RX and TX ?
we only use 4 pins i believe.
from left to right
4.RXD
5. TXD
RX is to the Arduino RX, from the PM2.5 TX
TX is to the Arduino TX
Thanks a lot
I am new to electronics.
I really appreciate your help.
Any ideas why, almost in all of the videos on youtube , such as this one -
they do not use resistors nor the Arduino RX/TX ?
Anyone can post a video on youtube, right or wrong.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.