Enviro+ pHAT problems

Hello. I am using rPi 5. I have connected pHAT sensor but something doesn’t work for me. I was following Getting Started tutorial but only what i can use is ‘lcd.py’. When i want to use weather/gas i got info that “can’t get module”. Thanks for all the help

Most of those demos expect you to have a PMS sensor (which costs almost as much as the Enviro+)

Remove the PMS stuff (or buy one - marketing by broken demo?)

That was one of the first HATs I purchased - hardly used it 'cos the software sucks (now got around to C++ and am having much more success)

So if i’m understanding you correctly to use “all functionality” i need PMS sensor?

image
I can’t even see BME280 on 0x76

It may be worth trying the steps outlined here:

Might get you going. Hope so.

The all-in-one-enviro-mini and the all-in-one-no-pm files should run just fine without requiring any modification. You can use this pHat without the PMS sensor, it is an optional extra.
I did have one, gave it to a friend. I don’t remember having any issues setting it up or using it. Mind you, that was on a Pi Zero, and the OS used wasn’t Bookworm.

That i2c scan is not right, that’s for sure. You should have seen the following.

  • 0x76: BME280
  • 0x23: LTR559
  • 0x49: ADS1015
    What command di you run from terminal?

I was trying this ant nothing happennd :/

Just simply this:

  • git clone https://github.com/pimoroni/enviroplus-python
  • cd enviroplus-python
  • ./install.sh
  • `source ~/.virtualenvs/pimoroni/bin/activate
    then i am entering example folder and trying to run some examples by python. I also installed enviro to the python. Tomorrow i will check enviro+ on Pi4. Maybe my Pi5 is “broken” or something is wrong with enviro+

Good or bad, so far I’ve been avoiding all that virtual environment stuff. Probably not a good plan in the long run, but that’s what I’ve been doing so far.
The Pi 5 also has the RP1 chip that interfaces with the GPIO. Not sure if that’s messing with you?
I have one Pi 5 here, but it’s used as a Desktop PC. So far I haven’t plugged anything into it’s GPIO header.
I have Enviro+ clones on the go here. I wanted a larger LCD display so I did a clone and just modified the examples accordingly.

Are you running the examples from terminal?

Just a thing to double check. Is i2c enabled in raspi-config?

Might explain why the SPI display is working but the i2c bits are not?

I got everything on (I2C). Yeasterday i was testing it on rPi 4 and still the same effect. Nothing is working. I think that my sensor is “dead”. Probably I will switch to buying BME280 and some gas sensor. Thanks for help.

I’d suggest contacting Pimoroni support as a next step, before doing anything else. This is the link. 👍