Some problems with PMS5003 on pico-enviro+

Hello,
I am a beginner with raspberry pi pico. I have bought with my raspberry pico an enviro+ card and a PMS5003 PM detector.

I can manage my enviro+card with the raspberry pico in many functions as displaying temperature, RH, atmospheric pressure.

I encounter two problems :

  • the card enviro+ can’t connect to my WiFi box (Orange box) but i haven’t work on it a lot so i don’t ask help for the moment :)
  • the card enviro+ and micro-python can’t see the PMS5003 :

Traceback (most recent call last):
File “”, line 10, in
ImportError: no module named 'pms5003

the beginning of my micro-python code is :

import time
from machine import Pin, UART
from picographics import PicoGraphics, DISPLAY_ENVIRO_PLUS
from pimoroni import RGBLED, Button
from breakout_bme68x import BreakoutBME68X, STATUS_HEATER_STABLE
from pimoroni_i2c import PimoroniI2C
from breakout_ltr559 import BreakoutLTR559
from adcfft import ADCFFT

comment out the next line if no particulate sensor

#from pms5003 import PMS5003

If i uncomment the last line i have the error quoted before.

I have tried many firmwares like :

  • pimoroni-picow_enviro-v1.19.10-micropython-v0.0.9.uf2
  • pimoroni-picow_enviro-v1.19.12-micropython.uf2

or other versions of these firmwares. Of course my PMS5003 is well plugged to the enviro+ card => Pico Enviro+ Pack

I will be pleased to have some help ;)

Regards
William

You just need to add the module for PMS5003 copy it onto your pico and then the import should work.

Thank you very much Dave. It has solved the problem.

Regards :)

William

1 Like