# Display Hat Mini & (old) PHAT DAC

**URL:** <https://forums.pimoroni.com/t/display-hat-mini-old-phat-dac/28157>\
**Category:** Support\
**Created:** [August 10, 2025, 6:48pm UTC](https://forums.pimoroni.com/t/display-hat-mini-old-phat-dac/28157 "2025-08-10T18:48:01Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Morphed\_Light](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@Morphed\_Light](https://forums.pimoroni.com/u/Morphed_Light)\
**Post date:** [August 10, 2025, 6:48pm UTC](https://forums.pimoroni.com/t/display-hat-mini-old-phat-dac/28157/1 "2025-08-10T18:48:02Z")

</div>

Im currently building a music server, as close as I can get to a Brennan, which most likely will be using Moode audio. I will use a Raspberry PI zero 2 W, with a PHAT DAC (I bought years ago, but didnt realise my Raspberry pi didnt have enough gpio pins!!!).

The display hat mini looks like the ideal solution for my needs, but will it work simultaneously with the PHAT Dac?

---

<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:** [August 10, 2025, 9:25pm UTC](https://forums.pimoroni.com/t/display-hat-mini-old-phat-dac/28157/2 "2025-08-10T21:25:52Z")

</div>

This is a handy site for stuff like this.  
[Raspberry Pi GPIO Pinout](https://pinout.xyz/#)

The pinout for the pHAT DAC is here,  
[pHAT DAC at Raspberry Pi GPIO Pinout](https://pinout.xyz/pinout/phat_dac)  
and Display Hat Mini is here,  
[Display HAT Mini at Raspberry Pi GPIO Pinout](https://pinout.xyz/pinout/display_hat_mini)

I don’t see any conflicts at first glance.

---

<div class="post-metadata">

**Author:** ![Morphed\_Light](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@Morphed\_Light](https://forums.pimoroni.com/u/Morphed_Light)\
**Post date:** [August 11, 2025, 8:20pm UTC](https://forums.pimoroni.com/t/display-hat-mini-old-phat-dac/28157/3 "2025-08-11T20:20:28Z")

</div>

Thanks, for the info

---

<div class="post-metadata">

**Author:** ![rcc30](https://avatars.discourse-cdn.com/v4/letter/r/d07c76/32.png) [@rcc30](https://forums.pimoroni.com/u/rcc30)\
**Post date:** [August 13, 2025, 2:01pm UTC](https://forums.pimoroni.com/t/display-hat-mini-old-phat-dac/28157/4 "2025-08-13T14:01:17Z")

</div>

Did you have any luck with this? I have the Pirdiate Audio Line out mini HAT which has both a DAC and a 240x240 LCD display. They both work fine, when run independent, howerver as soon as I start my display progam the music stops playing. I’m running snapclient to play the music, which I have running fine on similar DACs without the display. To display, I’m using the Pirate-audio sample code which Ive only moded to get the information I want on the display. As soon as I start this python program, the music stops. I’m suspicious of a conflict on the pirate-audio card.

---

<div class="post-metadata">

**Author:** ![bablokb](https://avatars.discourse-cdn.com/v4/letter/b/ee59a6/32.png) [@bablokb](https://forums.pimoroni.com/u/bablokb)\
**Post date:** [August 13, 2025, 2:42pm UTC](https://forums.pimoroni.com/t/display-hat-mini-old-phat-dac/28157/5 "2025-08-13T14:42:22Z")

</div>

This must be a problem of your program or the way you start your programs. I am using the Pirate Audio Speaker HAT successfully in one of my projects. The DAC is the same as in the line-out HAT.

My use case is an internet radio. I display the station logo while playing music. And I also run a web-server. All with a Pi-Zero-W and without any problems.

Maybe you can describe how you start your programs.

---

<div class="post-metadata">

**Author:** ![rcc30](https://avatars.discourse-cdn.com/v4/letter/r/d07c76/32.png) [@rcc30](https://forums.pimoroni.com/u/rcc30)\
**Post date:** [August 13, 2025, 7:26pm UTC](https://forums.pimoroni.com/t/display-hat-mini-old-phat-dac/28157/6 "2025-08-13T19:26:30Z")

</div>

Snapclient is a c++ program, it is started automatically at boot by systemD. The display writer is a python program installed as a virtual environment. It stops the audio playing whether I start it explicitly for whether I use a systemD startup for it. It also stops when I use the example display program in the pimoromi GitHub rep so I don’t think it’s anything I’m doing in my display code.

---

<div class="post-metadata">

**Author:** ![bablokb](https://avatars.discourse-cdn.com/v4/letter/b/ee59a6/32.png) [@bablokb](https://forums.pimoroni.com/u/bablokb)\
**Post date:** [August 14, 2025, 9:23am UTC](https://forums.pimoroni.com/t/display-hat-mini-old-phat-dac/28157/7 "2025-08-14T09:23:27Z")

</div>

One other thing to check. If you have an old Pirate Audio board, the GPIO20 was connected to one of the buttons (the one labelled ‘Y’). So make sure nothing configures this GPIO for button use.

In fact GPIO20 is PCM data-in, which is not used by the DAC. But since we don’t have a schematic, I am not sure if it is still connected or not. Or if it just causes trouble for the audio-driver, regardless of it’s connection status.

Even if you have a newer board, the software might be old and take control of GPIO20. So also check that.

---

<div class="post-metadata">

**Author:** ![rcc30](https://avatars.discourse-cdn.com/v4/letter/r/d07c76/32.png) [@rcc30](https://forums.pimoroni.com/u/rcc30)\
**Post date:** [August 14, 2025, 3:00pm UTC](https://forums.pimoroni.com/t/display-hat-mini-old-phat-dac/28157/8 "2025-08-14T15:00:24Z")

</div>

Thanks, its a newer card but the SW in the pimoroni repo is quite old. I’m not explicitly using any of the buttons yet (that was the next phase) but its possibly messing with them.

I’ve ruled out snapclient as the cause. I disable it and used aplay to play some music through the DAC, as soon as I started the pirate display driver, the music stopped playing.
