File tree 1 file changed +23
-0
lines changed
libraries/esp8266/examples/I2SInput
1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 2
2
I2S stereo microphone (input) example
3
3
Run using the Arduion Serial Plotter to see waveform.
4
4
Released to the Public Domain by Earle F. Philhower, III
5
+
6
+ For the Google AIY Voice Hat Microphone daughterboard, part
7
+ of the Raspberry Pi AIY cardboard box, the I2S stereo pinout
8
+ looking at the board top with the RPI logo on the left hand
9
+ side:
10
+ +-- ------------------------------------ --+
11
+ left RPI | (1) GND (2) DIN (3) BCLK (4) LRCLK (5) 3.3V | AIY right
12
+ +---------------------------------------------+
13
+
14
+ The I2S pins are on different pins depending on your board.
15
+ The *internal GPIO number* which is NOT NECESSARIALY the
16
+ same as the pin numbers, are as follows:
17
+ I2SI_DATA = GPIO12
18
+ IS2I_BCK = GPIO13
19
+ I2SI_WS/LRCLK = GPIO14
20
+
21
+ On the D1 mini the I2SI pins map to the following D pins:
22
+ I2SI_DATA = GPIO12 = D6
23
+ IS2I_BCK = GPIO13 = D7
24
+ I2SI_WS/LRCLK = GPIO14 = D5
25
+
26
+ Expect different D pins on different ESP8266 boards, and of
27
+ course be sure to wire up VCC(3.3V) and GND.
5
28
*/
6
29
7
30
#include < ESP8266WiFi.h>
You can’t perform that action at this time.
0 commit comments