# Alexa DIY Project

**URL:** <https://forums.pimoroni.com/t/alexa-diy-project/11190>\
**Category:** Support\
**Created:** [August 3, 2019, 11:13am UTC](https://forums.pimoroni.com/t/alexa-diy-project/11190 "2019-08-03T11:13:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RagTMS](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/ragtms/32/5706_2.png) [@RagTMS](https://forums.pimoroni.com/u/RagTMS)\
**Post date:** [August 3, 2019, 11:13am UTC](https://forums.pimoroni.com/t/alexa-diy-project/11190/1 "2019-08-03T11:13:03Z")

</div>

Hello, I have got 3 components  
[https://shop.pimoroni.com/products/respeaker-2-mics-phat](https://shop.pimoroni.com/products/respeaker-2-mics-phat),  
[https://shop.pimoroni.com/products/raspberry-pi-zero-w](https://shop.pimoroni.com/products/raspberry-pi-zero-w),  
shop .pimoroni.com/products/3-speaker-4-3w  
I will put the microphone in the Pi, but I need help as I have completely no idea how to how to connect the speaker to the device.  
Please help

---

<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 3, 2019, 11:36am UTC](https://forums.pimoroni.com/t/alexa-diy-project/11190/2 "2019-08-03T11:36:59Z")

</div>

The respeaker pHat has a JST2.0 Speaker Out. So I would say you need a JST cord to wire to the speaker leads. This will “probably” work.

> **[JST 2 Wire Assembly – Pimoroni](https://shop.pimoroni.com/products/jst-2-wire-assembly)**
>
> This is a simple two wire cable. Great for jumping from board to board or just about anything else.

  
You would attach it to the speaker leads then plug it into the respeaker phat.

---

<div class="post-metadata">

**Author:** ![RagTMS](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/ragtms/32/5706_2.png) [@RagTMS](https://forums.pimoroni.com/u/RagTMS)\
**Post date:** [August 3, 2019, 3:32pm UTC](https://forums.pimoroni.com/t/alexa-diy-project/11190/3 "2019-08-03T15:32:38Z")

</div>

So I would need to solder the JST wire u have recommended to my speaker wires and then plug this into the microphone?

---

<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 3, 2019, 3:55pm UTC](https://forums.pimoroni.com/t/alexa-diy-project/11190/4 "2019-08-03T15:55:36Z")

</div>

Yes you could solder it to the speaker wires, then plug it into the JST “speaker” jack on the respeaker phat. You could also just unsolder the wires on the speaker and then solder the JST pigtail wires right to the speaker. Just be careful doing that, you don’t want to apply any more heat to the speaker than necessary. It all depends on how long you want the wires. You won’t be using that little header that comes with it, just the pigtail part. The header is already on your pHat. Assuming that JST plug matches what’s on the phat.
