kylemanna / sniffer

ESP32 Air Quality Sensor with PMSA003 + BME680 and 1.14" LCD
Other
121 stars 15 forks source link

Pin connections between ESP32 and PMSA003 #12

Closed zirdum closed 1 year ago

zirdum commented 1 year ago

Hi,

I don't have the PCB yet, but I wanted to connect what I have to test things out first.

I have the esp32 wired to the PMSA003 with a G7-G135 connector in between (to make it easier to connect the wires)... I'm hoping it should work, but I can only go off of what the picture shows and it's very blurry (and I don't know how to read the schematics yet).

The G7-G135 adapter connected to the PMSA003 shows the wiring to be: nc nc rst tx rx set gnd vcc

With the power connector facing the left side (when looking at the esp32 and the display), I can see the vcc goes to the 1st pin on the bottom left of the ESP32 (5V), gnd goes to the 2nd pin from the bottom left (G) and I think set goes to the 3rd pin from the bottom left (pin 27). But it seems there are 2 pins from the PMSA003 are connected to each other perhaps (or do they go somewhere on the ESP32)?

Thank you. hG1x8ta

zirdum commented 1 year ago

I figured it out... I had to read the PCB schematic to figure it out, but it wasn't bad using KiCAD.

VCC -> 5V GND -> G SET -> 33 RX -> 26 TX -> 27 RST -> 25