Skip to content

feat: add Class D Audio Amplifier HAT tutorial#710

Closed
Ojas2095 wants to merge 1 commit into
tscircuit:mainfrom
Ojas2095:feat/add-audio-amplifier-hat-tutorial
Closed

feat: add Class D Audio Amplifier HAT tutorial#710
Ojas2095 wants to merge 1 commit into
tscircuit:mainfrom
Ojas2095:feat/add-audio-amplifier-hat-tutorial

Conversation

@Ojas2095

@Ojas2095 Ojas2095 commented Jun 5, 2026

Copy link
Copy Markdown

/claim #603

Summary

Adds a comprehensive tutorial for building a Class D Audio Amplifier HAT with the PAM8403.

What's included

  • Step-by-step schematic capture with interactive previews
  • PAM8403 integration — 3W stereo output configuration
  • Class D operation explanation — PWM and efficiency concepts
  • Volume control — dual-gang potentiometer wiring
  • Raspberry Pi integration — 5V power and 3.5mm audio jack inputs
  • Proper filtering — coupling and decoupling capacitor selection
  • Audio configuration guide — raspi-config, aplay, and alsamixer commands
  • Safety considerations — warnings against shorting differential outputs
  • Complete Bill of Materials
  • Interactive PCB layout

Requirements from issue #603

  • PAM8403 Class D amplifier chip ✅
  • 3W per channel stereo output ✅
  • Volume control ✅ (Dual 10k Potentiometer RV1)
  • Speaker terminals ✅ (TB_L and TB_R)
  • Step-by-step circuit design ✅ (5 detailed steps)
  • Class D operation explanation ✅
  • Raspberry Pi integration ✅
  • Audio configuration guide ✅

Add comprehensive tutorial for building a Raspberry Pi HAT with a PAM8403
Class D audio amplifier. Includes:

- Step-by-step schematic capture with interactive previews
- Class D PWM operation explanation
- Raspberry Pi integration (5V power, aux input)
- Audio configuration guide (raspi-config, aplay, alsamixer)
- Dual potentiometer volume control integration
- Decoupling and coupling capacitor sizing
- Complete bill of materials
- PCB layout considerations for audio

Closes tscircuit#603
@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 10:04am

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.

1 participant