# Raspberry Pi Smart Audio Translation HAT ## Description 2-layer Raspberry Pi 4 HAT for a smart audio translation system with I2S microphone, I2S amplifier, speaker terminal, buttons, LEDs, protected 5V input, and test points. ## Project Details - **Owner:** minhbui - **Created:** 6/19/2026 - **Last Updated:** 6/19/2026 - **Visibility:** Public - **Domain:** Audio - **Operating Voltage:** 5V - **Implementation Details:** 2-layer PCB - **Connectivity:** Raspberry Pi HAT - **Human Interface:** Buttons ## Key Components ### D1 — [LED 0805 (2012 Metric)](https://www.flux.ai/vasyl/led-0805-2012-metric~sr7.md) - Part Type: LED - Role Details: Power/status indication through current-limit resistor - Role: Indicator LED **Pins:** - A [pin 2] - K [pin 1] ### F1 — [Fuse](https://www.flux.ai/jharwinbarrozo/fuse~801.md) - Role: Input fuse - Part Type: Fuse - Current Rating: 5A - Role Details: Sized for Raspberry Pi HAT/audio module load; target hold current about 1A or per final power budget **Pins:** - P1 [pin 1] - P2 [pin 2] ### J1 — [TSW-120-07-G-D](https://www.flux.ai/adrian95/tsw-120-07-g-d~l7v.md) - Manufacturer Name: Samtec Inc. - Role Details: Carries 5V, 3.3V, GND, I2S signals, GPIO buttons, and status LED control - Part Type: Connector - Role: Raspberry Pi 40-pin header - Manufacturer Part Number: TSW-120-07-G-D - License: https://creativecommons.org/licenses/by/4.0/ - Datasheet URL: https://suddendocs.samtec.com/catalog_english/tsw_th.pdf **Pins:** - 1 [pin 1] - 10 [pin 10] - 11 [pin 11] - 12 [pin 12] - 13 [pin 13] - 14 [pin 14] - 15 [pin 15] - 16 [pin 16] - 17 [pin 17] - 18 [pin 18] - 19 [pin 19] - 2 [pin 2] - 20 [pin 20] - 21 [pin 21] - 22 [pin 22] - 23 [pin 23] - 24 [pin 24] - 25 [pin 25] - 26 [pin 26] - 27 [pin 27] - 28 [pin 28] - 29 [pin 29] - 3 [pin 3] - 30 [pin 30] - 31 [pin 31] - 32 [pin 32] - 33 [pin 33] - 34 [pin 34] - 35 [pin 35] - 36 [pin 36] - 37 [pin 37] - 38 [pin 38] - 39 [pin 39] - 4 [pin 4] - 40 [pin 40] - 5 [pin 5] - 6 [pin 6] - 7 [pin 7] - 8 [pin 8] - 9 [pin 9] ### J10 — [TSW-104-07-G-S](https://www.flux.ai/adrian95/tsw-104-07-g-s~983.md) - Datasheet URL: http://suddendocs.samtec.com/prints/tsw-xxx-xx-xxx-x-xx-xxx-mkt.pdf - Role: Test point header - Manufacturer Part Number: TSW-104-07-G-S - Package or Case Code: TSW10407GS - Role Details: One accessible test point per critical rail/signal - Manufacturer Name: Samtec Inc. - Part Type: Connector - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] ### J11 — [TSW-104-07-G-S](https://www.flux.ai/adrian95/tsw-104-07-g-s~983.md) - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Connector - Manufacturer Name: Samtec Inc. - Role Details: One accessible test point per critical rail/signal - Package or Case Code: TSW10407GS - Manufacturer Part Number: TSW-104-07-G-S - Datasheet URL: http://suddendocs.samtec.com/prints/tsw-xxx-xx-xxx-x-xx-xxx-mkt.pdf - Role: Test point header **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] ### J12 — [TSW-104-07-G-S](https://www.flux.ai/adrian95/tsw-104-07-g-s~983.md) - Role: Amplifier speaker pad header - Manufacturer Name: Samtec Inc. - Part Type: Connector - Role Details: Connects MAX98357A module SPK+ and SPK- pads to speaker terminal; speaker is isolated from GND - License: https://creativecommons.org/licenses/by/4.0/ - Datasheet URL: http://suddendocs.samtec.com/prints/tsw-xxx-xx-xxx-x-xx-xxx-mkt.pdf - Manufacturer Part Number: TSW-104-07-G-S - Package or Case Code: TSW10407GS **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] ### J2 — [TSW-106-06-T-S](https://www.flux.ai/adrian95/tsw-106-06-t-s.md) - Manufacturer Part Number: TSW-106-06-T-S - Datasheet URL: http://suddendocs.samtec.com/prints/tsw-xxx-xx-xxx-x-xx-xxx-mkt.pdf - Mount: PCB - Part Type: Connectors - Role Details: Pins: VDD, GND, SCK, WS, SD, L/R; powered from 3V3 - Role: INMP441 I2S microphone module header - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: Samtec **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] - 5 [pin 5] - 6 [pin 6] ### J3 — [TSW-106-06-T-S](https://www.flux.ai/adrian95/tsw-106-06-t-s.md) - Manufacturer Part Number: TSW-106-06-T-S - Part Type: Connectors - Datasheet URL: http://suddendocs.samtec.com/prints/tsw-xxx-xx-xxx-x-xx-xxx-mkt.pdf - Mount: PCB - Role Details: Pins: VIN, GND, BCLK, LRC, DIN, SD/GAIN; powered from switched fused 5V - Role: MAX98357A I2S amplifier module header - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: Samtec **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] - 5 [pin 5] - 6 [pin 6] ### J4 — [Phoenix Contact 1757242](https://www.flux.ai/adrian95/phoenix-contact-1757242~wl2.md) - Part Type: Connector - Role: Speaker terminal - License: https://creativecommons.org/licenses/by/4.0/ - Role Details: Connects only to MAX98357A SPK+ and SPK- outputs; no speaker connection to GND - Manufacturer Name: Phoenix Contact - Manufacturer Part Number: 1757242 - Datasheet URL: https://www.phoenixcontact.com/product/pdf/api/v1/MTc1NzI0Mg?_realm=us&_locale=en-US&blocks=commercial-data%2Ctechnical-data%2Cdrawings%2Capprovals%2Cclassifications%2Cenvironmental-compliance-data%2Call-accessories **Pins:** - Pin_1 [pin 1] - Pin_2 [pin 2] ### J5 — [TSW-104-07-G-S](https://www.flux.ai/adrian95/tsw-104-07-g-s~983.md) - Role: 5V input header - Datasheet URL: http://suddendocs.samtec.com/prints/tsw-xxx-xx-xxx-x-xx-xxx-mkt.pdf - Role Details: External 5V input before switch and fuse - Manufacturer Part Number: TSW-104-07-G-S - Package or Case Code: TSW10407GS - Manufacturer Name: Samtec Inc. - Part Type: Connector - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] ### J6 — [TSW-104-07-G-S](https://www.flux.ai/adrian95/tsw-104-07-g-s~983.md) - Part Type: Connector - License: https://creativecommons.org/licenses/by/4.0/ - Role Details: One accessible test point per critical rail/signal - Manufacturer Name: Samtec Inc. - Manufacturer Part Number: TSW-104-07-G-S - Role: Test point header - Package or Case Code: TSW10407GS - Datasheet URL: http://suddendocs.samtec.com/prints/tsw-xxx-xx-xxx-x-xx-xxx-mkt.pdf **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] ### J7 — [TSW-104-07-G-S](https://www.flux.ai/adrian95/tsw-104-07-g-s~983.md) - Role Details: One accessible test point per critical rail/signal - Manufacturer Name: Samtec Inc. - Part Type: Connector - License: https://creativecommons.org/licenses/by/4.0/ - Datasheet URL: http://suddendocs.samtec.com/prints/tsw-xxx-xx-xxx-x-xx-xxx-mkt.pdf - Manufacturer Part Number: TSW-104-07-G-S - Package or Case Code: TSW10407GS - Role: Test point header **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] ### J8 — [TSW-104-07-G-S](https://www.flux.ai/adrian95/tsw-104-07-g-s~983.md) - Manufacturer Name: Samtec Inc. - Part Type: Connector - License: https://creativecommons.org/licenses/by/4.0/ - Role: Test point header - Datasheet URL: http://suddendocs.samtec.com/prints/tsw-xxx-xx-xxx-x-xx-xxx-mkt.pdf - Manufacturer Part Number: TSW-104-07-G-S - Role Details: One accessible test point per critical rail/signal - Package or Case Code: TSW10407GS **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] ### J9 — [TSW-104-07-G-S](https://www.flux.ai/adrian95/tsw-104-07-g-s~983.md) - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Connector - Manufacturer Name: Samtec Inc. - Role: Test point header - Package or Case Code: TSW10407GS - Manufacturer Part Number: TSW-104-07-G-S - Role Details: One accessible test point per critical rail/signal - Datasheet URL: http://suddendocs.samtec.com/prints/tsw-xxx-xx-xxx-x-xx-xxx-mkt.pdf **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] ### LED1 — [LED 0805 (2012 Metric)](https://www.flux.ai/vasyl/led-0805-2012-metric~sr7.md) - Role: Indicator LED - Part Type: LED - Role Details: Power/status indication through current-limit resistor **Pins:** - A [pin 2] - K [pin 1] ### SW1 — [Tactile Switch SPST-NO PTS526 SK15 SMTR2 LFS](https://www.flux.ai/collinsemasi/tactile-switch-spst-no-pts526-sk15-smtr2-lfs~83.md) - Role: User button - Role Details: Momentary active-low GPIO button to GND; internal Raspberry Pi pull-up expected - Datasheet URL: https://www.ckswitches.com/media/2780/pts526.pdf - Manufacturer Name: C&K - Manufacturer Part Number: PTS526 SK15 SMTR2 LFS - Part Type: Switch **Pins:** - 2 [pin 2] - 4 [pin 4] - 1 [pin 1] - 3 [pin 3] ### SW2 — [Tactile Switch SPST-NO PTS526 SK15 SMTR2 LFS](https://www.flux.ai/collinsemasi/tactile-switch-spst-no-pts526-sk15-smtr2-lfs~83.md) - Role Details: Momentary active-low GPIO button to GND; internal Raspberry Pi pull-up expected - Role: User button - Part Type: Switch - Manufacturer Name: C&K - Manufacturer Part Number: PTS526 SK15 SMTR2 LFS - Datasheet URL: https://www.ckswitches.com/media/2780/pts526.pdf **Pins:** - 2 [pin 2] - 4 [pin 4] - 1 [pin 1] - 3 [pin 3] ### SW3 — [Tactile Switch SPST-NO PTS526 SK15 SMTR2 LFS](https://www.flux.ai/collinsemasi/tactile-switch-spst-no-pts526-sk15-smtr2-lfs~83.md) - Role: User button - Datasheet URL: https://www.ckswitches.com/media/2780/pts526.pdf - Role Details: Momentary active-low GPIO button to GND; internal Raspberry Pi pull-up expected - Part Type: Switch - Manufacturer Part Number: PTS526 SK15 SMTR2 LFS - Manufacturer Name: C&K **Pins:** - 2 [pin 2] - 4 [pin 4] - 1 [pin 1] - 3 [pin 3] ### SW4 — [Tactile Switch SPST-NO PTS526 SK15 SMTR2 LFS](https://www.flux.ai/collinsemasi/tactile-switch-spst-no-pts526-sk15-smtr2-lfs~83.md) - Datasheet URL: https://www.ckswitches.com/media/2780/pts526.pdf - Manufacturer Part Number: PTS526 SK15 SMTR2 LFS - Part Type: Switch - Manufacturer Name: C&K - Role Details: Momentary active-low GPIO button to GND; internal Raspberry Pi pull-up expected - Role: User button **Pins:** - 2 [pin 2] - 4 [pin 4] - 1 [pin 1] - 3 [pin 3] ### SW5 — [Slide Switch SW_SPDT](https://www.flux.ai/404src/slide-switch-swspdt~nq.md) - Manufacturer Part Number: SS12F44G5 - Purchase Url: https://www.taydaelectronics.com/slide-switch-1p2t-through-hole-0-5a-50vdc.html - Role Details: Switches external 5V input before fuse and HAT 5V rail - Role: Power switch - Datasheet URL: https://www.taydaelectronics.com/datasheets/A-5111.pdf - Manufacturer Name: Wealth Metal **Pins:** - A [pin 1] - B [pin 2] - C [pin 3] ### TP1 — [TSW-104-07-G-S](https://www.flux.ai/adrian95/tsw-104-07-g-s~983.md) - Datasheet URL: http://suddendocs.samtec.com/prints/tsw-xxx-xx-xxx-x-xx-xxx-mkt.pdf - Role: Test point header - Manufacturer Part Number: TSW-104-07-G-S - Package or Case Code: TSW10407GS - Manufacturer Name: Samtec Inc. - Role Details: One accessible test point per critical rail/signal - Part Type: Connector - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] *The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/minhbui/raspberry-pi-smart-audio-translation-hat~g1](https://www.flux.ai/minhbui/raspberry-pi-smart-audio-translation-hat~g1).* --- *Generated from [https://www.flux.ai/minhbui/raspberry-pi-smart-audio-translation-hat~g1](https://www.flux.ai/minhbui/raspberry-pi-smart-audio-translation-hat~g1)*