Posted on Leave a comment

Raspberry Pi Zero PWM Audio Pins

The diagram below shows where to connect to the PWM audio on a Pi Zero(bottom view):

PWM0 and PWM1 are the right and left audio channels corresponding to GPIO 18 and GPIO 13 on the Pi Zero.

Your /boot/config.txt should include the following line: dtoverlay=pwm-2chan,pin=18,func=2,pin2=13,func2=4

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.