Board-dat/NWI/NWI1243-dat/NWI1243-dat.md
... ...
@@ -12,6 +12,8 @@
12 12
- pins = 2x21 = 42 pins
13 13
- available GPIOs = 42 - 6 = 36 pins
14 14
15
+
16
+
15 17
## ref
16 18
17 19
- [[ESP32-S3-dat]] - [[NWI1243]]
... ...
\ No newline at end of file
Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-HDK-dat/ESP32-I2S-dat/ESP32-I2S-dat.md
... ...
@@ -41,6 +41,34 @@ The I2S pins can be assigned to almost any GPIO pin using the ESP32's **flexible
41 41
- [[arduino-lib-dat]]
42 42
43 43
44
+## Simple tone ino
45
+
46
+setup
47
+
48
+ const int frequency = 600; // Frequency of the square wave in Hz (600 cycles per second)
49
+ const int amplitude = 500; // Amplitude of the square wave (controls loudness)
50
+ const int sampleRate = 4000; // Sample rate in Hz (samples per second for accurate waveform)
51
+
52
+ // Define I2S bit depth (16 bits per audio sample)
53
+ i2s_data_bit_width_t bps = I2S_DATA_BIT_WIDTH_16BIT;
54
+
55
+ // Define the I2S communication mode (standard protocol)
56
+ i2s_mode_t mode = I2S_MODE_STD;
57
+
58
+ // Define I2S slot mode (stereo sends data to both left and right channels)
59
+ i2s_slot_mode_t slot = I2S_SLOT_MODE_STEREO;
60
+
61
+
62
+- [[audio-dat]]
63
+
64
+
65
+## AudioI2S
66
+
67
+- repo - https://github.com/schreibfaul1/ESP32-audioI2S
68
+- ⚠️ This library only works on multi-core ESP32 chips like the ESP32-S3. It does not work on the ESP32-S2 or the ESP32-C3 ⚠️
69
+
44 70
## ref
45 71
46
-- Espressif has their usual [excellent documentation](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/i2s.html) for I2S on the ESP32, it can link you to more information.
... ...
\ No newline at end of file
0
+- Espressif has their usual [excellent documentation](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/i2s.html) for I2S on the ESP32, it can link you to more information.
1
+
2
+- [[ESP32-wroom-dat]]
... ...
\ No newline at end of file
Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-S3-DAT/2023-12-01-15-32-07.png
... ...
Binary files a/Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-S3-DAT/2023-12-01-15-32-07.png and /dev/null differ
Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-S3-DAT/2024-08-16-18-27-43.png
... ...
Binary files a/Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-S3-DAT/2024-08-16-18-27-43.png and /dev/null differ
Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-S3-DAT/ESP32-S3-Board-DAT/2023-12-01-15-32-07.png
... ...
Binary files /dev/null and b/Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-S3-DAT/ESP32-S3-Board-DAT/2023-12-01-15-32-07.png differ
Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-S3-DAT/ESP32-S3-Board-DAT/2025-01-06-15-26-25.png
... ...
Binary files /dev/null and b/Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-S3-DAT/ESP32-S3-Board-DAT/2025-01-06-15-26-25.png differ
Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-S3-DAT/ESP32-S3-Board-DAT/2025-01-06-15-50-00.png
... ...
Binary files /dev/null and b/Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-S3-DAT/ESP32-S3-Board-DAT/2025-01-06-15-50-00.png differ
Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-S3-DAT/ESP32-S3-Board-DAT/ESP32-S3-Board-DAT.md
... ...
@@ -0,0 +1,23 @@
1
+
2
+# ESP32-S3-Board-DAT
3
+
4
+## Cloned Core Board SCH
5
+
6
+![](2025-01-06-15-26-25.png)
7
+
8
+## Cloned Core Board SCH with CAM
9
+
10
+![](2025-01-06-15-50-00.png)
11
+
12
+
13
+## dev board
14
+
15
+- [[NWI1243-dat]]
16
+
17
+### official ESP32-S3-DevKitM-1
18
+
19
+![](2023-12-01-15-32-07.png)
20
+
21
+- pin = 2x22 = 44 pins
22
+- available GPIOs = 44 - 5 = 39 pins
23
+
Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-S3-DAT/ESP32-S3-DAT.md
... ...
@@ -1,33 +1,16 @@
1 1
2 2
# ESP32-S3-dat
3 3
4
-## function map
4
+- [[ESP32-S3-chip-DAT]]
5 5
6
-![](2024-08-16-18-27-43.png)
6
+- [[ESP32-S3-module-DAT]] - [[ESP32-S3-Board-DAT]]
7 7
8 8
9 9
10 10
11
-## module
12 11
13
-- [[ESP32-S3-WROOM-1-dat]]
14
-
15
-
16
-
17
-
18
-
19
-## dev board
20
-
21
-- [[NWI1243-dat]]
22
-
23
-### official ESP32-S3-DevKitM-1
24
-
25
-![](2023-12-01-15-32-07.png)
26
-
27
-- pin = 2x22 = 44 pins
28
-- available GPIOs = 44 - 5 = 39 pins
29 12
30 13
31 14
## ref
32 15
33
-- [[ESP32-S3]]
... ...
\ No newline at end of file
0
+- [[ESP32-S3]] - [[ESP32-I2S-dat]]
... ...
\ No newline at end of file
Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-S3-DAT/ESP32-S3-WROOM-1-dat/14-31-22-05-03-2023.png
... ...
Binary files a/Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-S3-DAT/ESP32-S3-WROOM-1-dat/14-31-22-05-03-2023.png and /dev/null differ
Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-S3-DAT/ESP32-S3-WROOM-1-dat/52-29-22-05-03-2023.png
... ...
Binary files a/Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-S3-DAT/ESP32-S3-WROOM-1-dat/52-29-22-05-03-2023.png and /dev/null differ
Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-S3-DAT/ESP32-S3-WROOM-1-dat/ESP32-S3-WROOM-1-dat.md
... ...
@@ -1,20 +0,0 @@
1
-# ESP32-S3-WROOM-1
2
-
3
-- ESP32-S3-WROOM-1
4
-
5
-
6
-- ESP32-S3-WROOM-1 D2N8
7
-- ESP32-S3-WROOM-1 D2N8 R2
8
-- ESP32-S3-WROOM-1 D2N8 R8
9
-
10
-https://www.espressif.com.cn/sites/default/files/documentation/esp32-s3-wroom-1_wroom-1u_datasheet_en.pdf
11
-
12
-
13
-total pins 40
14
-
15
-![](52-29-22-05-03-2023.png)
16
-
17
-![](14-31-22-05-03-2023.png)
18
-
19
-
20
-![../2023-12-01-15-32-07.png](../2023-12-01-15-32-07.png)
... ...
\ No newline at end of file
Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-S3-DAT/ESP32-S3-chip-DAT/2024-08-16-18-27-43.png
... ...
Binary files /dev/null and b/Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-S3-DAT/ESP32-S3-chip-DAT/2024-08-16-18-27-43.png differ
Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-S3-DAT/ESP32-S3-chip-DAT/ESP32-S3-chip-DAT.md
... ...
@@ -0,0 +1,9 @@
1
+
2
+# ESP32-S3-chip-DAT
3
+
4
+## function map
5
+
6
+![](2024-08-16-18-27-43.png)
7
+
8
+
9
+
Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-S3-DAT/ESP32-S3-module-DAT/ESP32-S3-WROOM-1-dat/14-31-22-05-03-2023.png
... ...
Binary files /dev/null and b/Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-S3-DAT/ESP32-S3-module-DAT/ESP32-S3-WROOM-1-dat/14-31-22-05-03-2023.png differ
Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-S3-DAT/ESP32-S3-module-DAT/ESP32-S3-WROOM-1-dat/2025-01-06-15-39-37.png
... ...
Binary files /dev/null and b/Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-S3-DAT/ESP32-S3-module-DAT/ESP32-S3-WROOM-1-dat/2025-01-06-15-39-37.png differ
Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-S3-DAT/ESP32-S3-module-DAT/ESP32-S3-WROOM-1-dat/2025-01-06-15-45-29.png
... ...
Binary files /dev/null and b/Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-S3-DAT/ESP32-S3-module-DAT/ESP32-S3-WROOM-1-dat/2025-01-06-15-45-29.png differ
Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-S3-DAT/ESP32-S3-module-DAT/ESP32-S3-WROOM-1-dat/52-29-22-05-03-2023.png
... ...
Binary files /dev/null and b/Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-S3-DAT/ESP32-S3-module-DAT/ESP32-S3-WROOM-1-dat/52-29-22-05-03-2023.png differ
Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-S3-DAT/ESP32-S3-module-DAT/ESP32-S3-WROOM-1-dat/ESP32-S3-WROOM-1-dat.md
... ...
@@ -0,0 +1,26 @@
1
+# ESP32-S3-WROOM-1
2
+
3
+- ESP32-S3-WROOM-1
4
+
5
+
6
+- ESP32-S3-WROOM-1 D2N8
7
+- ESP32-S3-WROOM-1 D2N8 R2
8
+- ESP32-S3-WROOM-1 D2N8 R8
9
+
10
+https://www.espressif.com.cn/sites/default/files/documentation/esp32-s3-wroom-1_wroom-1u_datasheet_en.pdf
11
+
12
+
13
+total pins 40
14
+
15
+![](52-29-22-05-03-2023.png)
16
+
17
+![](14-31-22-05-03-2023.png)
18
+
19
+
20
+## Module SCH
21
+
22
+![](2025-01-06-15-39-37.png)
23
+
24
+## Peripheral Schematics
25
+
26
+![](2025-01-06-15-45-29.png)
... ...
\ No newline at end of file
Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-S3-DAT/ESP32-S3-module-DAT/ESP32-S3-module-DAT.md
... ...
@@ -0,0 +1,10 @@
1
+
2
+# ESP32-S3-module-DAT
3
+
4
+
5
+
6
+## module
7
+
8
+- [[ESP32-S3-WROOM-1-dat]]
9
+
10
+
Chip-dat/Analog-dat/MAX98357-dat/MAX98357-dat.md
... ...
@@ -42,6 +42,12 @@
42 42
43 43
- [[MAX98357-code.ino]] - [[I2S-dat]]
44 44
45
+### code common error:
46
+
47
+i2s_write_bytes((i2s_port_t)0, (const char *)data, numData, portMAX_DELAY);
48
+- 'i2s_write_bytes' was not declared in this scope
49
+
50
+
45 51
46 52
## ref
47 53
Tech-dat/Interface-dat/I2S-dat/I2S-dat.md
... ...
@@ -64,7 +64,7 @@ audio amplifer - [[MAX98357-dat]] - [[audio-dat]] - [[amplifier-dat]]
64 64
65 65
- [[UDA1334-dat]] - [[AMP1013-dat]]
66 66
67
-- [[bt-audio-dat]] - [[ESP32-DAC-dat]] - [[ADC-dat]] - [[DAC-dat]]
67
+- [[bt-audio-dat]] - [[ESP32-DAC-dat]] - [[ADC-dat]] - [[DAC-dat]] - [[ESP32-I2S-dat]]
68 68
69 69
- [[PCM1808-dat]]
70 70
Tech-dat/audio-dat/audio-dat.md
... ...
@@ -7,3 +7,28 @@
7 7
8 8
9 9
10
+## sound frequency
11
+
12
+ const int frequency = 600; // Frequency of the square wave in Hz (600 cycles per second)
13
+ const int amplitude = 500; // Amplitude of the square wave (controls loudness)
14
+ const int sampleRate = 4000; // Sample rate in Hz (samples per second for accurate waveform)
15
+
16
+Frequency (440 Hz):
17
+
18
+- 440 Hz is a standard musical note (A4), which is very clear and noticeable to human ears.
19
+- It’s neither too low nor too high, making it a great choice for testing.
20
+
21
+Sample Rate (8000 Hz):
22
+
23
+- The sample rate should be at least twice the frequency (Nyquist theorem). For 440 Hz, 8000 Hz ensures clear sound.
24
+- It’s also lightweight for the ESP32 to process, leaving room for other tasks.
25
+
26
+
27
+Amplitude Tuning:
28
+
29
+If 500 is too quiet, you can increase the amplitude up to 32767 (maximum for 16-bit audio).
30
+Different Frequencies: If you'd like to test other audible frequencies, try values like:
31
+
32
+- 523 Hz (C5) – A clear and bright tone.
33
+- 880 Hz (A5) – A higher-pitched tone.
34
+- 262 Hz (C4) – A lower-pitched tone.
... ...
\ No newline at end of file