Board-dat/ESP/ESP1008-dat/2025-04-02-19-08-35.png
... ...
Binary files /dev/null and b/Board-dat/ESP/ESP1008-dat/2025-04-02-19-08-35.png differ
Board-dat/ESP/ESP1008-dat/2025-04-02-19-09-30.png
... ...
Binary files /dev/null and b/Board-dat/ESP/ESP1008-dat/2025-04-02-19-09-30.png differ
Board-dat/ESP/ESP1008-dat/ESP1008-dat.md
... ...
@@ -0,0 +1,80 @@
1
+
2
+# esp32-i2s-board
3
+
4
+
5
+
6
+
7
+## SDMMC_Test
8
+
9
+fully bit-3 control
10
+
11
+ int clk = 14;
12
+ int cmd = 15;
13
+ int d0 = 2;
14
+ int d1 = 4;
15
+ int d2 = 12;
16
+ int d3 = 13; // GPIO 34 is not broken-out on ESP32-S3-DevKitC-1 v1.1
17
+
18
+![](2025-04-02-19-08-35.png) ![](2025-04-02-19-09-30.png)
19
+
20
+## SD SPI setup
21
+
22
+very simple bit0 control
23
+
24
+ #define SD_CS 13 // SD card chip select
25
+ #define SD_MOSI 15 // Custom MOSI pin
26
+ #define SD_MISO 02 // Custom MISO pin
27
+ #define SD_SCK 14 // Custom SCK pin
28
+
29
+
30
+## I2S microphone
31
+
32
+see demo video of frequency below
33
+
34
+[[I2S-microphone-dat]] - [[MSM261S4030H0R-dat]]
35
+
36
+ #define MIC_BCK_PIN 33 // Clock pin from the mic.
37
+ #define MIC_WS_PIN 27 // WS pin from the mic.
38
+ #define MIC_DATA_PIN 32 // SD pin data from the mic.
39
+ #define MIC_CHANNEL_SELECT_PIN -1 // Left/Right pin to select the channel output from the mic.
40
+
41
+## I2S speaker
42
+
43
+see microSD read wav file and play demo video below
44
+
45
+[[Audio-amplifier-dat]]
46
+
47
+ #define I2S_DOUT 26 // I2S Data Output
48
+ #define I2S_BCLK 5 // I2S Bit Clock
49
+ #define I2S_LRC 25 // I2S Left-Right Clock
50
+
51
+or
52
+
53
+ //i2s.setPins(I2S_SCK/BCLK, I2S_WS/LRC, I2S_SDOUT, I2S_SDIN, I2S_MCLK);
54
+ i2s.setPins(5, 25, 26, -1, -1);
55
+
56
+## amplifier
57
+
58
+- [[AMP1021-dat]]
59
+
60
+
61
+## demo video
62
+
63
+- [serial raw read ](https://t.me/electrodragon3/346)
64
+- [serial read frequency ](https://t.me/electrodragon3/347)
65
+- [I2S speaker with amplifier, play WAV file from SD card ](https://t.me/electrodragon3/348)
66
+
67
+
68
+
69
+
70
+## code
71
+
72
+- [[I2S-dat]]
73
+
74
+
75
+
76
+## ref
77
+
78
+- [[audio-dat]]
79
+
80
+- irrelevant == - [[SCM1030-dat]]
... ...
\ No newline at end of file