# EnviroPlus HAT and PMS5003 with ESP Easy over I2C?

**URL:** <https://forums.pimoroni.com/t/enviroplus-hat-and-pms5003-with-esp-easy-over-i2c/23100>\
**Category:** Support\
**Created:** [October 15, 2023, 4:56pm UTC](https://forums.pimoroni.com/t/enviroplus-hat-and-pms5003-with-esp-easy-over-i2c/23100 "2023-10-15T16:56:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![docnjt77](https://avatars.discourse-cdn.com/v4/letter/d/eada6e/32.png) [@docnjt77](https://forums.pimoroni.com/u/docnjt77)\
**Post date:** [October 15, 2023, 4:56pm UTC](https://forums.pimoroni.com/t/enviroplus-hat-and-pms5003-with-esp-easy-over-i2c/23100/1 "2023-10-15T16:56:17Z")

</div>

Hi

Has anyone managed to get an EnviroPlus HAT board with a PMS5003 working over I2C with an ESP-32 board using ESP Easy? I have managed to pull in sensor data over the serial port using jumper wires as shown in the attached screenshot but when trying to pull the data into ESP Easy via I2C even though the jumper wires are connected correctly (triple checked) and ESP Easy is setup to configure the correct GPIO pins for SDA and SCL.When trying to get data via I2C there are a good dozen I2C addresses listed and tried everyone. Anyone had any luck? and can kindly confirm what settings they used?

 ![adafruit_products_Adafruit_Feather_ESP32-S3_Pinout](https://us1.discourse-cdn.com/flex016/uploads/pimoroni/original/2X/6/6914e7427da93e5c42343055bcf2dd7f67b948c9.png)

![enviroplus to Adafruit ESP32-S3 ESP Easy](https://us1.discourse-cdn.com/flex016/uploads/pimoroni/original/2X/4/41d7270b5675f4537f962c05d4dc295b297e04e0.png)

 ![ESP Easy PMS5003 and EnvrioPlus](https://us1.discourse-cdn.com/flex016/uploads/pimoroni/original/2X/1/11d00fef88c6cfc100b4fb16e2fd736805f3f154.png)

 ![Screenshot 2023-10-15 at 17.54.57](https://us1.discourse-cdn.com/flex016/uploads/pimoroni/original/2X/2/222f166544f9525cbdc6585de1f294543b048db8.png)

---

<div class="post-metadata">

**Author:** ![Shoe](https://avatars.discourse-cdn.com/v4/letter/s/e36b37/32.png) [@Shoe](https://forums.pimoroni.com/u/Shoe)\
**Post date:** [October 15, 2023, 7:54pm UTC](https://forums.pimoroni.com/t/enviroplus-hat-and-pms5003-with-esp-easy-over-i2c/23100/2 "2023-10-15T19:54:31Z")

</div>

Pinout.xyz says that the relevant addresses are:

- 0x76: BME280
- 0x23: LTR559
- 0x49: ADS1015

Most of those don’t seem to be in yout list, which makes me wonder if it’s not detecting them properly? It also seems too much of a coincidence that the addresses it _has_ detected are contiguous. How do you have the HAT wired up to the ESP32 feather?

---

<div class="post-metadata">

**Author:** ![docnjt77](https://avatars.discourse-cdn.com/v4/letter/d/eada6e/32.png) [@docnjt77](https://forums.pimoroni.com/u/docnjt77)\
**Post date:** [October 16, 2023, 7:02am UTC](https://forums.pimoroni.com/t/enviroplus-hat-and-pms5003-with-esp-easy-over-i2c/23100/3 "2023-10-16T07:02:58Z")

</div>

ok cheers. Ive got them connected together via male/female jumper wires but only the ones for the particle sensor so far. Im wondering if the particle sensor does actually go over I2C? as I am able to get hold of the values using TX and RX pins.

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [October 16, 2023, 9:27am UTC](https://forums.pimoroni.com/t/enviroplus-hat-and-pms5003-with-esp-easy-over-i2c/23100/4 "2023-10-16T09:27:07Z")

</div>

I don’t think the PMS uses i2c?  
The product page says

- UART serial interface

Maybe this will help?  
[Enviro Plus at Raspberry Pi GPIO Pinout](https://pinout.xyz/pinout/enviro_plus)

On a Pi it uses  
Pin 8\_ ,GPIO 14, UART TX  
Pin 10 ,GPIO 15, UART RX  
and  
Pin 13 ,GPIO 27, Reset  
Pin 15 ,GPIO 22, Enable

---

<div class="post-metadata">

**Author:** ![bablokb](https://avatars.discourse-cdn.com/v4/letter/b/ee59a6/32.png) [@bablokb](https://forums.pimoroni.com/u/bablokb)\
**Post date:** [October 16, 2023, 1:14pm UTC](https://forums.pimoroni.com/t/enviroplus-hat-and-pms5003-with-esp-easy-over-i2c/23100/5 "2023-10-16T13:14:34Z")

</div>

The Adafruit-version of the PMS5003 uses I2C, the Pimoroni version uses UART.

---

<div class="post-metadata">

**Author:** ![docnjt77](https://avatars.discourse-cdn.com/v4/letter/d/eada6e/32.png) [@docnjt77](https://forums.pimoroni.com/u/docnjt77)\
**Post date:** [October 21, 2023, 12:19pm UTC](https://forums.pimoroni.com/t/enviroplus-hat-and-pms5003-with-esp-easy-over-i2c/23100/6 "2023-10-21T12:19:55Z")

</div>

thanks!! that added to the confusion. got it working over serial interface :-)
