Skip to content

docs: add Class D Audio Amplifier HAT tutorial (#603)#707

Closed
sagarmaurya64-ai wants to merge 1 commit into
tscircuit:mainfrom
sagarmaurya64-ai:feat/class-d-amp-tutorial-603
Closed

docs: add Class D Audio Amplifier HAT tutorial (#603)#707
sagarmaurya64-ai wants to merge 1 commit into
tscircuit:mainfrom
sagarmaurya64-ai:feat/class-d-amp-tutorial-603

Conversation

@sagarmaurya64-ai

Copy link
Copy Markdown

Resolves #603

Summary

This PR adds a comprehensive step-by-step tutorial for building a Class D Audio Amplifier HAT featuring the PAM8403 chip.

Features Covered:

  • Core Chip: PAM8403 (SOP-16 package) configured correctly with SHDN/MUTE pulled high to VDD for unmuted operation.
  • Volume Control: Dual volume control via dual potentiometer configuration.
  • Low-Pass Filter: Custom RC filter (270 Ohm + 33nF) to convert Raspberry Pi's digital PWM audio outputs (GPIO 18/19) into smooth analog signals.
  • Noise Reduction: High-quality decoupling capacitors (10uF + 0.1uF) added close to PAM8403 power rails.
  • Speaker Outputs: Direct traces to screw terminals (SIP-2).
  • Raspberry Pi OS Configuration: Full boot configuration guide for enabling PWM audio (audremap,pins_18_19).

Tested using biome and typecheck.

@vercel

vercel Bot commented Jun 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Jun 5, 2026 3:36am

Request Review

@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown

This PR has been automatically marked as stale because it has had no recent activity. It will be closed if no further activity occurs.

@github-actions

Copy link
Copy Markdown

This PR was closed because it has been inactive for 1 day since being marked as stale.

@github-actions github-actions Bot closed this Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bounty: Add Class D Audio Amplifier HAT tutorial

1 participant