Intro: Bonnet DAC HAT With Both Audio Jack and Stereo Speaker Out
Commercially available pHAT DAC costs about $12 and adds just a headphone jack to your Pi Zero. On the other hand, the $14 Adafruit Speaker bonnet provides, two 3W audio channels for the loss of the headphone jack. The DIY HAT shown below strikes a balance between both the commercial HATS, by providing both the headphone output, as well as speaker outputs. Whats more interesting is the cost of implementation of the DAC, which is about $6 or $7. So, at quarter of the cost of two DAC's you are getting the functionality of both.
Step 1: Materials Required
- 1×PCM5102A I2S DAC
Purchase link :https://www.ebay.com/itm/SA9227-PCM5102-TDA1308-PC...
- 1×PAM8403 3W Audio Amplifier
Purchase link :https://www.ebay.com/itm/3pcs-PAM8403-2X3W-Mini-Audio-Class-D-amplifier-board-2-5-5V-input/181888663216?hash=item2a5968beb0:g:oE4AAOSwstxVWJcQ
- 1×Double-sided prototyping board
Purchase link :http://amzn.to/2EzTqcl
- 2×Terminal Blocks
Purchase link :https://www.ebay.ie/itm/2-Pin-3Pin-PCB-Screw-Terminal-Block-Connector-Panel-Mount-Pitch-2-54mm-3-5mm/371706000409?hash=item568b677419:m:mutGzHoBUUKdQSrrZbuu4Sg
- 1×Adafruit 2x20 Pi Female Header
Step 2: Procedure
Step-1 Cut the prototyping board to the size of pi zero
Step-2 Solder the 2x20 Female Pi header onto the prototyping board
Step-3 Solder the header pins onto the I2S DAC and audio amplifier boards and mount them on the prototyping board.
Step-4 Wire the boards as indicated in the wiring diagram Wire the Left, Ground and Right pins of the I2S DAC to the Left, Ground and Right pins of the audio amplifier.
Step-5 Use the one-line installer to setup the DIY DAC.
curl -sS https://get.pimoroni.com/phatdac | bash