Projects / Ideas / PWM audio through a MOSFET power stage

PWM audio through a MOSFET power stage

AdvancedAudio & MusicIdeaReviewed
In short

How do you build a PWM audio through a MOSFET power stage?

An Arduino turns audio samples into a fast PWM signal that drives a speaker through one MOSFET, a simple class-D amplifier you build yourself. You need Arduino Nano, IRLB8721 logic-level MOSFET, Rectifier Diode 1N4007, Speaker 4 Ω 3 W, Resistor 220 Ω, Resistor 10 kΩ, 12 V 2 A DC adapter and Power resistor 10 Ω 5 W (cement).

Level
Advanced
Time
About 150 min
Parts
8
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal

Understand PWM audio and how a power stage reproduces sound.

How to build it

  1. Generate a high PWM carrier
  2. Change duty cycle with the audio sample
  3. Drive the speaker through a series resistor
  4. Filter the carrier with an inductor if you have one
  5. Compare with the class-D board

Related projects

Common questions

What parts do I need for the PWM audio through a MOSFET power stage?

Arduino Nano, IRLB8721 logic-level MOSFET, Rectifier Diode 1N4007, Speaker 4 Ω 3 W, Resistor 220 Ω, Resistor 10 kΩ, 12 V 2 A DC adapter and Power resistor 10 Ω 5 W (cement).

How long does the PWM audio through a MOSFET power stage take to build?

About 150 minutes for a advanced maker.