# Pico display pack buttons unresponsive with Pico & Pico W

**URL:** <https://forums.pimoroni.com/t/pico-display-pack-buttons-unresponsive-with-pico-pico-w/19884>\
**Category:** Support\
**Created:** [July 21, 2022, 10:12am UTC](https://forums.pimoroni.com/t/pico-display-pack-buttons-unresponsive-with-pico-pico-w/19884 "2022-07-21T10:12:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![grunkyB](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/grunkyb/32/9438_2.png) [@grunkyB](https://forums.pimoroni.com/u/grunkyB)\
**Post date:** [July 21, 2022, 10:12am UTC](https://forums.pimoroni.com/t/pico-display-pack-buttons-unresponsive-with-pico-pico-w/19884/1 "2022-07-21T10:12:32Z")

</div>

I am having troubles getting buttons B and Y on my Pico Display Packs to work with either the `button_test.py` example or my own code that uses interrupts. I see the resistance drop to zero when I measure between GPIO 13 & ground + pushing B and GPIO 15 & ground + pushing Y.

Any suggestions on new directions? I’ve tried the four combinations of a Pico and Pico W and two Display Packs. I’ve tried adjusting header pins. Here’s my code snippet:

```auto
button_A = machine.Pin(12, machine.Pin.IN, machine.Pin.PULL_UP)
button_B = machine.Pin(13, machine.Pin.IN, machine.Pin.PULL_UP)
button_X = machine.Pin(14, machine.Pin.IN, machine.Pin.PULL_UP)
button_Y = machine.Pin(15, machine.Pin.IN, machine.Pin.PULL_UP)
button_A.irq(handler=press, trigger=machine.Pin.IRQ_FALLING)
button_B.irq(handler=press, trigger=machine.Pin.IRQ_FALLING)
button_X.irq(handler=press, trigger=machine.Pin.IRQ_FALLING)
button_Y.irq(handler=press, trigger=machine.Pin.IRQ_FALLING)

```

Any thoughts?

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [July 21, 2022, 6:16pm UTC](https://forums.pimoroni.com/t/pico-display-pack-buttons-unresponsive-with-pico-pico-w/19884/2 "2022-07-21T18:16:59Z")

</div>

> [@grunkyB](#):
>
> I’ve tried adjusting header pins.

Did you solder the headers? Or were they a with header version?

I have several Display Packs, V1 and V2. So far no issues with the buttons. I use the button\_test.py example file for testing.

---

<div class="post-metadata">

**Author:** ![grunkyB](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/grunkyb/32/9438_2.png) [@grunkyB](https://forums.pimoroni.com/u/grunkyB)\
**Post date:** [July 21, 2022, 6:52pm UTC](https://forums.pimoroni.com/t/pico-display-pack-buttons-unresponsive-with-pico-pico-w/19884/3 "2022-07-21T18:52:18Z")

</div>

Thanks for the response.

> [@alphanumeric](#):
>
> Did you solder the headers? Or were they a with header version?

I soldered the headers on both the Pico W (no Pico WH yet) and classic Pico.

I updated the firmware to `pimoroni-picow-v1.19.3-micropython.uf2` this evening in case there was something funny with my previous version.

I see the resistance drop to zero on button press even when a Pico is in the Pico Display Pack (measuring from the pads on the Pico Display).

I’ll keep investigating. I must have made a couple connections where there shouldn’t be any on that end of the boards.

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [July 21, 2022, 7:17pm UTC](https://forums.pimoroni.com/t/pico-display-pack-buttons-unresponsive-with-pico-pico-w/19884/4 "2022-07-21T19:17:25Z")

</div>

The place to measure for a ground on button press is on the Pico. If it’s a soldering issue, you have a better chance of finding it measuring there. Also make sure pin 18 / ground, has a good connection. It may be the ground used for those two buttons, it’s right between those two pins.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/pimoroni/original/2X/c/cc0250c414aa6042ad0ace8efb179b55e2451d70.jpeg)

---

<div class="post-metadata">

**Author:** ![grunkyB](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/grunkyb/32/9438_2.png) [@grunkyB](https://forums.pimoroni.com/u/grunkyB)\
**Post date:** [July 21, 2022, 7:35pm UTC](https://forums.pimoroni.com/t/pico-display-pack-buttons-unresponsive-with-pico-pico-w/19884/5 "2022-07-21T19:35:06Z")

</div>

> [@alphanumeric](#):
>
> Also make sure pin 18 / ground, has a good connection.

Good call. I hadn’t checked that until you suggested it. The connection is solid.

> [@alphanumeric](#):
>
> The place to measure for a ground on button press is on the Pico

Doubled checked this also and 16–18 goes to ~0 Ω when A is pressed, 17–18 goes to ~0 Ω when B is pressed, and so on.

I’m sure I’ve done something dodgy, but further checks will need to wait for another evening. 😴

---

<div class="post-metadata">

**Author:** ![grunkyB](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/grunkyb/32/9438_2.png) [@grunkyB](https://forums.pimoroni.com/u/grunkyB)\
**Post date:** [July 22, 2022, 6:20pm UTC](https://forums.pimoroni.com/t/pico-display-pack-buttons-unresponsive-with-pico-pico-w/19884/6 "2022-07-22T18:20:07Z")

</div>

Got a fresh Pico W today, freshly soldered headers and all is well with both Pico Display Packs. I probably cooked something when desoldering the previous headers.

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [July 23, 2022, 11:52pm UTC](https://forums.pimoroni.com/t/pico-display-pack-buttons-unresponsive-with-pico-pico-w/19884/7 "2022-07-23T23:52:35Z")

</div>

It sucks that it was a hardware issue, but at least you know what was wrong now. And have a working setup. Trying to unsolder a 20 or 40 pin header hardly ever goes well, even if you know what your doing. With the equipment I have home, its a bit of a daunting task.
