Adding a bigger display to Enviro+

Hello,

I would like to add a bigger display to an Enviro+ hat. I see that there are GPIO holes for a header on the hat itself. Any idea if this could be done ? Anyone else tried it and could maybe point me to more info ?

Thanks for your time.

I don’t own that hat, but I am running modified versions of that code on multi display setups. A second display could be added, it will be a bit of work though. Those holes for a header aren’t for a display, not an SPI display anyway.

Enviro Plus at Raspberry Pi GPIO Pinout

Thank you for your reply and pointing out that the holes are not for what I thought they could be.
Would you have time to expand a bit more on what kind of work needs to be done ?

You’re going to need to get access to the GPIO pins needed to wire up another display.
One way to do it is as follows.
Adafruit Perma Proto Bonnet Mini Kit - Pimoroni
2x20 pin Female GPIO Header for Raspberry Pi - Pimoroni
As a bonus, it will add some distance between the Pi and Enviro, reducing heat transfer from the Pi.
Then wire up you display to the SPI pins on the Pi. If you use SPI0 CE0 code modification is minimal.

Thank you.I already have on order the proto board and I also have the header. They were intended for a different project but I’ll try them. The display I have is based on the ST7789 driver. Do you think it will work ? Do I have to call the ST7789 library for it ?

Should work. Yes, you will have to call up the ST7789 library for it.
Is it a Pimoroni Display? A link to it would help?

Sorry,life got it the way. It is not a Pimoroni display,rather a cheap chinese one I had around based on the ST7789 driver. Or so I thought. My colors were inverted so I had to do some digging into the Adafruit’s library but I got it.
I am not entirely satisfied because my display doesn’t get initialized after a reboot. If I have the a copy of the script running at reboot then I can call another version that will display the data on the bigger display. For now it’ll have to stay like that for a while. I will eventually get a good Pimoroni display but I’ve looked and the only one that is around 2" is the hat with buttons. I don’t mind that,but maybe a bit too complicated for what I want.
Thanks again for your help, if I make any good progress I’ll post.

1 Like

What sensors are you using on the Enviro+? The other way to go is just a BME280 and a display.
You can ignore the Buttons and LED on the Display Hat. You don’t have to use them, or even wire them up. I have two Pico Display Packs wired up like that.

I’m using all but the PMS5003. Interesting thought about the display hat,I was thinking that too. I’ll get one soon.
I didn’t know about the pico packs,now I see it. I should browse the site more I guess.
How would I go about splitting the info on the screens?

Awesome setup. Love it. Thank you for the detailed explanation and pictures,much appreciated. The code is very welcomed. I am better at hardware than software,so it will help me a lot. I do have pHat stacks and a black hck3r stack as well which I use right now for my temporary setup.
I like a bit bigger displays so I am thinking to use your idea with something a bit larger. I am interested on displaying the temp/humidity/gases data instead of weather. I’ll have to figure out how to modify the scripts provided by Pimoroni.
I have some code to study now :)

A lot of my code is modified Pimoroni examples. It’s where I unusually start.
That project evolved into a Pi Pico setup with two Pico Display Pack V2’s.
Pi Pico based Weather Station Project - Discussion / Projects - Pimoroni Buccaneers

The same could be done with two Pi Display Hat Mini’s. And as near as I can tell, you could use a Pico Display Pack with a Pi and vis versa. They both use 3V logic and the same driver chips.

I have plans to wire up a Pico Display Pack to a Pi, just have to find my round 2it. ;)
I have one of the original 240 x 135 Display Packs sitting there doing nothing. It’s my replacement for the Enviro’s 160 x 80 LCD. It’s close to the same width versus height ratio.
I’ll likely use something like this to mate the two.
Adafruit Perma-Proto 40-Pin Raspberry Pi Breadboard PCB Kit - with 2x2 - Pimoroni
It’s what I did here, it’s running Enviro+ code. It’s 3 displays instead of just one.


I thought I had a thread on this but can’t find it?

Found it. =)
Three display weather graphing setup - Discussion / Projects - Pimoroni Buccaneers

EDIT: That build is actually sitting in front of me on my computer desk. The barometric pressure is the one I watch the most. I live on the seacoast so it’s a big deal if it drops fast. A 2 mb drop in a 2 hour period is considered as dropping rapidly. That third display graphs a 2 hour period.

That is the post the sparked my idea of adding a bigger display. So,you’re that person :). Kudos on a great enhancement. I like the enviro hat as an idea of exploring the sensors and their capabilities. Even if the gas sensor is not the greatest a lot can be learned and the Pimoroni coding examples are a very good starting point.
Originally I wanted to do this exactly same setup but wanted a bit bigger displays. I do not have a zero but I do have a Pi 3b. If I run Bullseye can I use some of the code you are using here for these 3 ? I am inclined of trying the Pico display packs you mentioned.

Bullseye should be fine, I’m pretty sure that code is Python 3.