Idea
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.
Parts list
- Development Boards
- Semiconductors
- Semiconductors
- Motors & Actuators
- Passives
- Passives
- Power
- Passives
How to build it
- Generate a high PWM carrier
- Change duty cycle with the audio sample
- Drive the speaker through a series resistor
- Filter the carrier with an inductor if you have one
- Compare with the class-D board
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.
