•
D10 - CircuitPython:
•
D9 - CircuitPython:
•
D6 - CircuitPython:
•
D5 - CircuitPython:
•
TX - CircuitPython:
•
RX - CircuitPython:
I2S
I2S, or Inter-IC Sound, is a standard for transmitting digital audio data. It requires at
least three connections. The first connection is a clock, called bit clock (BCLK, or
sometimes written as serial clock or SCK). The second connection, which determines
the channel (left or right) being sent, is called word select (WS). When stereo data is
sent, WS is toggled so that the left and right channels are sent alternately, one data
word at a time. The third connection, which transmits the data, is called serial data (S
D).
Typically, there is a transmitter device which generates the bit clock, word select
signal, and the data, and sends them to a receiver device. In this case, your
microcontroller acts as the transmitter, and an I2S breakout acts as the receiver. The
MAX98357A ()
is an example of an I2S class D amplifier that allows you to connect
directly to a speaker such as
I2S and CircuitPython
CircuitPython supports sending I2S audio signals using the
making it simple to use the I2S interface with your microcontroller.
In this section, you'll learn how to use CircuitPython to play different types of audio
using I2S, including tones and WAV files.
Necessary Hardware
You'll need the following additional hardware to complete the examples on this page.
©Adafruit Industries
. Arduino:
board.D10
. Arduino:
board.D9
. Arduino:
board.D8
. Arduino:
board.D7
. Arduino:
board.TX
. Arduino:
board.RX
this
one ().
.
T10
.
T9
.
T6
.
T5
.
T1
.
T2
audiobusio
module,
Page 175 of 263
Need help?
Do you have a question about the ESP32-S3 and is the answer not in the manual?