Not getting data from PMS5003

We connected the PMS5003 sensor to Arduino Uno. We do not have the breakout board, we connected it by soldering the wires. The connections are:
Pin 1 on sensor - 5V
Pin 2 on sensor - GND
Pin 3 on sensor - not connected
Pin 4 on sensor - Pin 2
Pin 5 on sensor - Pin 3

Code can be seen here: #include <SoftwareSerial.h>SoftwareSerial pmsSerial(2, 3); void setup() { - Pastebin.com
If the PMS5003 does not read data, the program outputs "no data available" and this is all the serial monitor shows.
Any help would be appreciated greatly.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.