Enviro Plus GPIO

What I mean by on top is, if the enviro is facing you, right side up, the Pi will be extending out from the top edge. Not the bottom edge. It will be up in the air versus flat on the desk etc. It will be upside down too. Component side down.
The header you want is male right angle
https://shop.pimoroni.com/products/male-40-pin-2x20-hat-header?variant=14883873735

Right. It would be an awkward config. I’m going with the ribbon cable.

Yeah, it would be an awkward setup. It’s not how I had envisioned it when I posted that suggestion.

Yes mine is upside down ATM but as I am not using the display so it doesn’t matter. When I make a case I will mount the RPI in the top.

There is likely a rotate option to flip it 180. Assuming you don’t mind the artwork being upside down,
I see a rotation option mentioned here,

Since I have a fan blowing air past the board I think it will be fine with RPI at the top.

My Sense Hat is behind a black diffuser, all that’s visible is the text being displayed. You’d have to own one to know by looking at it that its upside down. It has a rotate option for the LED matrix.
It made programming the joystick interesting though. Up was now down, left is right etc.

There must be a way of programming the joystick keys to reorient them. I’m going to go for an extension cable and figure out a case later. I want to see how accurate the Envirohat+ is.

I just adjusted my code so what I wanted to happen when the stick moves up, happens when it moves down etc.

# is really stick down
def pushed_up(event):
    if event.action == ACTION_PRESSED:
       sense.low_light = True
        
# is really stick up
def pushed_down(event):
    if event.action == ACTION_PRESSED:
       sense.low_light = False

Brute force always works. :)

They call it a joystick but its actually just a 5 way switch. Up, down, left, right and center. It did come in handy though, saves me having to connect a keyboard or mouse to do something. Or wire up my own buttons etc.

I have a tiny one with resistor pots that I scavenged years ago but haven’t found a use for it yet.

I have a big PC one in a box some place. It has the old Game port connector on it. Same deal it has potentiometers inside. I could take the circuit board out and use it with a Pi or Arduino. You just read the pots with an ADC. Thats got me thinking. I have a couple of Pi Rovers sitting on the shelf waiting for a controller. If I can stuff a Pi Zero and a battery in the bottom it may be usable. Assuming I can link the two Pi Zero’s via Bluetooth. And the joystick still works.

That sounds like it would work. What would you do with the joystick? I’m still getting used to the Pi and doing programming again at the command level. I did a bit of scripting back when but I’m still getting used to the terminology used with Raspian.

I’d use it to control the rover via Bluetooth connection. Right now I just use a mini wireless keyboard.

I got the extender cable and now the temperature readings are spot on with my room thermometer. Recommended.

Thats good to hear, enjoy. =)