# Enviro+ LCD not working on Pi Zero W

**URL:** <https://forums.pimoroni.com/t/enviro-lcd-not-working-on-pi-zero-w/11218>\
**Category:** Support\
**Created:** [August 5, 2019, 7:42pm UTC](https://forums.pimoroni.com/t/enviro-lcd-not-working-on-pi-zero-w/11218 "2019-08-05T19:42:24Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsutton](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/jsutton/32/8599_2.png) [@jsutton](https://forums.pimoroni.com/u/jsutton)\
**Post date:** [August 5, 2019, 7:42pm UTC](https://forums.pimoroni.com/t/enviro-lcd-not-working-on-pi-zero-w/11218/1 "2019-08-05T19:42:24Z")

</div>

I’ve done a fresh install of Debain Buster on a Raspberry Pi Zero W and then ran the installation script:  
`curl -sSL https://get.pimoroni.com/enviroplus | bash`

From what I can see, the examples all work, with exception of the LCD scripts e.g. `lcd.py` and `all-in-one.py`, the script seems to continue as normal with no errors, but the LCD is blank.

I’ve checked the ribbon cable and connector on the back and both seem to be fine.  
I’ve done the usual, update, reboot, re-install etc…  
Has anyone else seen this, or have and recommendations?

---

<div class="post-metadata">

**Author:** ![kflmiami420](https://avatars.discourse-cdn.com/v4/letter/k/8baadc/32.png) [@kflmiami420](https://forums.pimoroni.com/u/kflmiami420)\
**Post date:** [August 15, 2019, 4:48am UTC](https://forums.pimoroni.com/t/enviro-lcd-not-working-on-pi-zero-w/11218/2 "2019-08-15T04:48:55Z")

</div>

Have you tried using “python lcd.py” instead of “python3 lcd.py”

---

<div class="post-metadata">

**Author:** ![jsutton](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/jsutton/32/8599_2.png) [@jsutton](https://forums.pimoroni.com/u/jsutton)\
**Post date:** [August 27, 2019, 12:42pm UTC](https://forums.pimoroni.com/t/enviro-lcd-not-working-on-pi-zero-w/11218/3 "2019-08-27T12:42:11Z")

</div>

Thanks for the suggestion, unfortunately neither python nor python3 work. I’m going to email support to see if they know of anything.

---

<div class="post-metadata">

**Author:** ![kflmiami420](https://avatars.discourse-cdn.com/v4/letter/k/8baadc/32.png) [@kflmiami420](https://forums.pimoroni.com/u/kflmiami420)\
**Post date:** [September 2, 2019, 4:30pm UTC](https://forums.pimoroni.com/t/enviro-lcd-not-working-on-pi-zero-w/11218/4 "2019-09-02T16:30:46Z")

</div>

After you setup the pi with a fresh copy of buster and run  
curl -sSL [https://get.pimoroni.com/enviroplus](https://get.pimoroni.com/enviroplus) | bash  
then run

sudo apt-get update  
sudo apt-get upgrade

This will push into your system any changes that were incorporated in the update but not included in the latest buster image.

---

<div class="post-metadata">

**Author:** ![WieselHa](https://avatars.discourse-cdn.com/v4/letter/w/ed8c4c/32.png) [@WieselHa](https://forums.pimoroni.com/u/WieselHa)\
**Post date:** [September 27, 2019, 7:05pm UTC](https://forums.pimoroni.com/t/enviro-lcd-not-working-on-pi-zero-w/11218/5 "2019-09-27T19:05:16Z")

</div>

Hi,

is there a final solution for the topic? After adding PMS5003 and changing the config of the PI Zero my LCD is somehow blank too. Looks like background light is on but nothing displayed any more.  
Any feedback from support?  
Thanks for any hint.  
res

---

<div class="post-metadata">

**Author:** ![Mac](https://avatars.discourse-cdn.com/v4/letter/m/cc9497/32.png) [@Mac](https://forums.pimoroni.com/u/Mac)\
**Post date:** [April 2, 2024, 4:23pm UTC](https://forums.pimoroni.com/t/enviro-lcd-not-working-on-pi-zero-w/11218/6 "2024-04-02T16:23:15Z")

</div>

I am also having difficulties with the lcd display. Error is  
pi@enviro1:~/enviroplus-python/examples $ sudo python lcd.py  
2024-04-02 12:15:04.690 INFO lcd.py - Hello, World! example on the 0.96" LCD.

Press Ctrl+C to exit!

Woah there, suitable gpiochip not found!  
⚠️ /dev/gpiochip0: 9 is an int and has been skipped, did you mean “PIN9” or “GPIO9”?  
any help is appreciated

---

<div class="post-metadata">

**Author:** ![Mac](https://avatars.discourse-cdn.com/v4/letter/m/cc9497/32.png) [@Mac](https://forums.pimoroni.com/u/Mac)\
**Post date:** [April 2, 2024, 6:13pm UTC](https://forums.pimoroni.com/t/enviro-lcd-not-working-on-pi-zero-w/11218/7 "2024-04-02T18:13:57Z")

</div>

Sorry. forgot to add I’m using 32 bit Bullseye on a RPi zero 2 w

---

<div class="post-metadata">

**Author:** ![ahnlak](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/ahnlak/32/5610_2.png) [@ahnlak](https://forums.pimoroni.com/u/ahnlak)\
**Post date:** [April 3, 2024, 8:45am UTC](https://forums.pimoroni.com/t/enviro-lcd-not-working-on-pi-zero-w/11218/8 "2024-04-03T08:45:44Z")

</div>

You’ll need to downgrade your st7735 library (`sudo pip install st7735==0.0.5`), because the latest version has … issues with _some_ subtle combination of other gpio stuff.

This comes up so often one day I’m just gonna work out how to fix it once and for all and send a PR :-)

---

<div class="post-metadata">

**Author:** ![Mac](https://avatars.discourse-cdn.com/v4/letter/m/cc9497/32.png) [@Mac](https://forums.pimoroni.com/u/Mac)\
**Post date:** [April 3, 2024, 1:40pm UTC](https://forums.pimoroni.com/t/enviro-lcd-not-working-on-pi-zero-w/11218/9 "2024-04-03T13:40:01Z")

</div>

> [@ahnlak](#):
>
> `sudo pip install st7735==0.0.5`

Thank you very much. That cleared the issue with the lcd. Now I’m getting this with PM…  
^Cpi@enviro1:~/enviroplus-python/examples $ python combined.py  
2024-04-03 09:36:12.375 INFO combined.py - Displays readings from all of Enviro plus’ sensors

Press Ctrl+C to exit!

Traceback (most recent call last):  
File “/home/pi/enviroplus-python/examples/combined.py”, line 39, in   
pms5003 = PMS5003()  
File “/usr/local/lib/python3.9/dist-packages/pms5003/ **init**.py”, line 109, in **init**  
self.\_pin\_enable, self.\_pin\_reset = gpiodevice.get\_pins\_for\_platform(PLATFORMS)  
ValueError: not enough values to unpack (expected 2, got 0)  
.  
Thanks again

---

<div class="post-metadata">

**Author:** ![ahnlak](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/ahnlak/32/5610_2.png) [@ahnlak](https://forums.pimoroni.com/u/ahnlak)\
**Post date:** [April 3, 2024, 4:33pm UTC](https://forums.pimoroni.com/t/enviro-lcd-not-working-on-pi-zero-w/11218/10 "2024-04-03T16:33:17Z")

</div>

Ahh yes; I think the latest pms5003 library doesn’t like the Zeros for … reasons.

The solution is pretty much the same; downgrade the library (`sudo pip install pms5003==0.0.5`) should, I believe, stop it complaining.

---

<div class="post-metadata">

**Author:** ![Mac](https://avatars.discourse-cdn.com/v4/letter/m/cc9497/32.png) [@Mac](https://forums.pimoroni.com/u/Mac)\
**Post date:** [April 4, 2024, 4:06am UTC](https://forums.pimoroni.com/t/enviro-lcd-not-working-on-pi-zero-w/11218/11 "2024-04-04T04:06:24Z")

</div>

> [@ahnlak](#):
>
> `sudo pip install pms5003==0.0.5`

Thank you… This is perfect. All fully functional. Now I just need it to execute on boot and all will be fine.

Thanks again.
