I just ordered the Justboom AMP Zero pHAT. My project needs reading analog signals, too. So I also ordered a MCP3008 in order to convert from analog to digital.

My question: is it possible to connect both devices to the GPIO interface at the same time?

I plan to connect the MCP3008 via SPI to my Raspberry Pi Zero W.


The link gives no indication of the pins actively used by the HAT.

You will need to contact the vendor or otherwise find out if it uses one or more of the SPI peripherals.

In practice I think it unlikely to use SPI so you should be okay. Even if it uses both SPI you could bit bang SPI on the spare GPIO.

Your biggest problem may be find a way to physically connect your ADC to the pins you need (given the HAT may not expose them).

This link (provided by @steve-robillard) shows that you will be fine. You can use the main SPI device and plug into the female headers on the HAT.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.