On level shifting: I assume that’s what the pimoroni breakout board does? Otherwise I’m not sure it would make sense, since it was designed to interface a 3.3V device with tiny wires with a 5V device with larger wires.
On pins, you write:
it shows you how the pins need set up for a functioning system
From what I’ve googled, BCM 14 and 15 basically correspond to UART pins on a Raspberry Pi. Using Arduino <SoftwareSerial.h>, I am basically turning Arduino pins 2,3 into UART pins. So I suppose that part is covered theoretically, but still, nothing is working.
My current code:
SoftwareSerial pmsSerial(2, 3);
Serial.print("PM 1.0 (ug/m3): ");
Serial.print("PM 2.5 (ug/m3): ");
Serial.print("PM 10.0 (ug/m3): ");
// Do other stuff...
My current setup:
Sensor TX -> Arduino PIN 2
Sensor RX -> Arduino PIN 3
5V to 5V, GND to GND
Reset and EN pin not plugged in