d38a82924a09d9acb05f01a7c99e07a8d20e5aa4
BOM-DAT/speaker-dat/speaker-dat.md
| ... | ... | @@ -1,55 +0,0 @@ |
| 1 | - |
|
| 2 | -# speaker-dat |
|
| 3 | - |
|
| 4 | - |
|
| 5 | - |
|
| 6 | -- [[amplifier-audio-dat]] - [[8002-dat]] - [[speaker-dat]] - [[bt-audio-dat]] |
|
| 7 | - |
|
| 8 | - |
|
| 9 | - |
|
| 10 | - |
|
| 11 | -The terms 4-ohm and 8-ohm refer to the impedance of the speaker. Impedance is a measure of the resistance the speaker provides to the electrical current coming from the amplifier. It is measured in ohms (Ω) and directly impacts how the speaker interacts with an amplifier. |
|
| 12 | - |
|
| 13 | -Key Points about 4-Ohm and 8-Ohm Speakers: |
|
| 14 | - |
|
| 15 | -Electrical Resistance: |
|
| 16 | - |
|
| 17 | -- 4-ohm speakers offer less resistance to electrical current, meaning they allow more current to flow through. |
|
| 18 | -- 8-ohm speakers offer more resistance, meaning they draw less current from the amplifier. |
|
| 19 | - |
|
| 20 | - |
|
| 21 | -Power Requirements: |
|
| 22 | - |
|
| 23 | -- A 4-ohm speaker generally requires an amplifier that can deliver more current because of the lower resistance. |
|
| 24 | -- An 8-ohm speaker is less demanding on the amplifier, so it is compatible with a wider range of amplifiers. |
|
| 25 | - |
|
| 26 | -Compatibility with Amplifiers: |
|
| 27 | - |
|
| 28 | -- Amplifiers must be rated to handle the speaker's impedance. For example: |
|
| 29 | -- An amplifier rated for 4–8 ohms can drive both 4-ohm and 8-ohm speakers safely. |
|
| 30 | -- Using a 4-ohm speaker with an amplifier not designed for such low impedance may overheat the amplifier or cause it to shut down. |
|
| 31 | -Sound Performance: |
|
| 32 | - |
|
| 33 | -There is no inherent sound quality difference between 4-ohm and 8-ohm speakers. However: |
|
| 34 | - |
|
| 35 | -- A 4-ohm speaker may be slightly louder if the amplifier can handle it because it draws more power from the amplifier. |
|
| 36 | -- Matching the amplifier's power output with the speaker's impedance ensures optimal sound quality and avoids distortion or damage. |
|
| 37 | - |
|
| 38 | - |
|
| 39 | -## tech |
|
| 40 | - |
|
| 41 | -- [[amplifier-dat]] - [[amplifier-audio-dat]] |
|
| 42 | - |
|
| 43 | -- [[signal-dat]] - [[signal-differential-dat]] |
|
| 44 | - |
|
| 45 | -- [[I2S-dat]] |
|
| 46 | - |
|
| 47 | -- [[speaker-dat]] - [[headphone-dat]] |
|
| 48 | - |
|
| 49 | - |
|
| 50 | - |
|
| 51 | - |
|
| 52 | - |
|
| 53 | -## ref |
|
| 54 | - |
|
| 55 | - |
Board-dat/SSL/SSL1030-dat/SSL1030-dat.md
| ... | ... | @@ -0,0 +1,30 @@ |
| 1 | + |
|
| 2 | + |
|
| 3 | +# SSL1030-dat |
|
| 4 | + |
|
| 5 | +## Info |
|
| 6 | + |
|
| 7 | +[product url - 5PCs Mini Speaker [Spec]](https://www.electrodragon.com/product/0-5w-8-ohm-mini-speaker/) |
|
| 8 | + |
|
| 9 | +### Board Map, Dimension, Pins, chip info, Use Guide, Setup Jumper, etc. |
|
| 10 | + |
|
| 11 | +- [[speaker-dat]] - [[SSL1030-dat]] - [[SSL1031-dat]] |
|
| 12 | + |
|
| 13 | + |
|
| 14 | + |
|
| 15 | +## Applications, category, tags, etc. |
|
| 16 | + |
|
| 17 | +## Demo Code and Video |
|
| 18 | + |
|
| 19 | + |
|
| 20 | + |
|
| 21 | + |
|
| 22 | + |
|
| 23 | + |
|
| 24 | +## ref |
|
| 25 | + |
|
| 26 | +- [[SSL1030]] |
|
| 27 | + |
|
| 28 | +- legacy wiki page |
|
| 29 | + |
|
| 30 | + |
Chip-cn-dat/Espressif-dat/ESP32-S3-DAT/ESP32-S3-DAT.md
| ... | ... | @@ -28,7 +28,18 @@ |
| 28 | 28 | - [[camera-dat]] |
| 29 | 29 | |
| 30 | 30 | |
| 31 | -### built-in USB JTAG |
|
| 31 | + |
|
| 32 | +## pins |
|
| 33 | + |
|
| 34 | +The ESP32-S3 features a **GPIO Matrix**. This internal switching fabric allows you to route almost any internal peripheral signal (like I2S, PWM, or UART) to almost any physical GPIO pin (GPIO 0 through 48). |
|
| 35 | + |
|
| 36 | +* **I2S0:** Can be mapped to any available GPIO. |
|
| 37 | +* **I2S1:** Can also be mapped to any available GPIO. |
|
| 38 | + |
|
| 39 | + |
|
| 40 | + |
|
| 41 | + |
|
| 42 | +## built-in USB JTAG |
|
| 32 | 43 | |
| 33 | 44 | - [[JTAG-dat]] |
| 34 | 45 | |
| ... | ... | @@ -44,6 +55,9 @@ |
| 44 | 55 | - ESP32-S3 chip (via ESP-PROG-2) |
| 45 | 56 | - Custom board |
| 46 | 57 | |
| 58 | + |
|
| 59 | + |
|
| 60 | + |
|
| 47 | 61 | ### ✅ Supported Features |
| 48 | 62 | |
| 49 | 63 | The **ESP32-S3** includes a **USB Serial/JTAG Controller**, meaning: |
| ... | ... | @@ -86,12 +100,23 @@ Use GDB, VS Code, or Eclipse for debugging. |
| 86 | 100 | - [[ESP-12K-dat]] - [[NWI1226-dat]] |
| 87 | 101 | |
| 88 | 102 | |
| 103 | + |
|
| 104 | + |
|
| 105 | + |
|
| 106 | + |
|
| 89 | 107 | ## min. Core |
| 90 | 108 | |
| 91 | 109 |  |
| 92 | 110 | |
| 111 | + |
|
| 112 | + |
|
| 113 | + |
|
| 114 | + |
|
| 115 | + |
|
| 116 | + |
|
| 93 | 117 | ## ref |
| 94 | 118 | |
| 119 | + |
|
| 95 | 120 | - [[ESP32-S3-dat]] - [[ESP32-P4-dat]] - [[ESP32-C6-dat]] |
| 96 | 121 | |
| 97 | 122 | https://docs.espressif.com/projects/esp-hardware-design-guidelines/en/latest/esp32s3/schematic-checklist.html |
Chip-cn-dat/ZILLTEK-dat/ZILLTEK-dat.md
| ... | ... | @@ -2,7 +2,7 @@ |
| 2 | 2 | |
| 3 | 3 | # ZILLTEK-dat |
| 4 | 4 | |
| 5 | -- [[mems-dat]] - [[zilltek-dat]] |
|
| 5 | +- [[memsensing-dat]] - [[zilltek-dat]] |
|
| 6 | 6 | |
| 7 | 7 | - [[I2S-dat]] |
| 8 | 8 |
Chip-cn-dat/linkmems-dat/linkmems-dat.md
| ... | ... | @@ -2,6 +2,16 @@ |
| 2 | 2 | |
| 3 | 3 | # linkmems-dat.md |
| 4 | 4 | |
| 5 | + |
|
| 6 | +- [[memsensing-dat]] - [[zilltek-dat]] - [[linkmems-dat]] |
|
| 7 | + |
|
| 8 | + |
|
| 5 | 9 |  |
| 6 | 10 | |
| 7 | - |
|
| ... | ... | \ No newline at end of file |
| 0 | + |
|
| 1 | + |
|
| 2 | + |
|
| 3 | + |
|
| 4 | +## ref |
|
| 5 | + |
|
| 6 | + |
Chip-cn-dat/mems-dat/2026-03-02-16-56-12.png
| ... | ... | Binary files a/Chip-cn-dat/mems-dat/2026-03-02-16-56-12.png and /dev/null differ |
Chip-cn-dat/mems-dat/MSM261S4030H0R-dat/2024-12-26-15-04-51.png
| ... | ... | Binary files a/Chip-cn-dat/mems-dat/MSM261S4030H0R-dat/2024-12-26-15-04-51.png and /dev/null differ |
Chip-cn-dat/mems-dat/MSM261S4030H0R-dat/2024-12-26-15-05-41.png
| ... | ... | Binary files a/Chip-cn-dat/mems-dat/MSM261S4030H0R-dat/2024-12-26-15-05-41.png and /dev/null differ |
Chip-cn-dat/mems-dat/MSM261S4030H0R-dat/2024-12-26-15-19-33.png
| ... | ... | Binary files a/Chip-cn-dat/mems-dat/MSM261S4030H0R-dat/2024-12-26-15-19-33.png and /dev/null differ |
Chip-cn-dat/mems-dat/MSM261S4030H0R-dat/2025-04-02-15-05-38.png
| ... | ... | Binary files a/Chip-cn-dat/mems-dat/MSM261S4030H0R-dat/2025-04-02-15-05-38.png and /dev/null differ |
Chip-cn-dat/mems-dat/MSM261S4030H0R-dat/2025-07-10-18-01-59.png
| ... | ... | Binary files a/Chip-cn-dat/mems-dat/MSM261S4030H0R-dat/2025-07-10-18-01-59.png and /dev/null differ |
Chip-cn-dat/mems-dat/MSM261S4030H0R-dat/2025-08-07-13-04-32.png
| ... | ... | Binary files a/Chip-cn-dat/mems-dat/MSM261S4030H0R-dat/2025-08-07-13-04-32.png and /dev/null differ |
Chip-cn-dat/mems-dat/MSM261S4030H0R-dat/MSM261S4030H0R-dat.md
| ... | ... | @@ -1,44 +0,0 @@ |
| 1 | - |
|
| 2 | -# |
|
| 3 | - |
|
| 4 | - |
|
| 5 | - |
|
| 6 | - |
|
| 7 | -- [[sensor-microphone-I2S-dat]] - [[sensor-microphone-I2S]] |
|
| 8 | - |
|
| 9 | -MSM261S4030H0R |
|
| 10 | - |
|
| 11 | - |
|
| 12 | -- https://www.denovocn.com/sites/default/files/MSM261S4030H0R.pdf |
|
| 13 | - |
|
| 14 | - |
|
| 15 | - |
|
| 16 | - |
|
| 17 | -## SCH w/ ESP32 |
|
| 18 | - |
|
| 19 | - |
|
| 20 | - |
|
| 21 | -- [[ESP32-S3-dat]] |
|
| 22 | - |
|
| 23 | - |
|
| 24 | -## SCH |
|
| 25 | - |
|
| 26 | - |
|
| 27 | - |
|
| 28 | - |
|
| 29 | - |
|
| 30 | - |
|
| 31 | - |
|
| 32 | - |
|
| 33 | - |
|
| 34 | - |
|
| 35 | - |
|
| 36 | -D1 - [[D1-dat]] - [[F133-dat]] |
|
| 37 | - |
|
| 38 | - |
|
| 39 | - |
|
| 40 | -## ref |
|
| 41 | - |
|
| 42 | -- [[I2S-dat]] |
|
| 43 | - |
|
| 44 | - |
Chip-cn-dat/mems-dat/mems-dat.md
| ... | ... | @@ -1,38 +0,0 @@ |
| 1 | - |
|
| 2 | -# mems-dat |
|
| 3 | - |
|
| 4 | -- [[mems-dat]] - [[zilltek-dat]] - [[linkmems-dat]] |
|
| 5 | - |
|
| 6 | - |
|
| 7 | - |
|
| 8 | -- [[sensor-microphone-I2S-dat]] - [[sensor-microphone-analog-dat]] |
|
| 9 | - |
|
| 10 | - |
|
| 11 | -- [[I2S-dat]] - [[PDM-dat]] |
|
| 12 | - |
|
| 13 | -MEMS(敏芯微) |
|
| 14 | - |
|
| 15 | - |
|
| 16 | - |
|
| 17 | - |
|
| 18 | -- [[MSM261S4030H0R-dat]] |
|
| 19 | - |
|
| 20 | - |
|
| 21 | -- [[mems-dat]] - [[PDM-dat]] |
|
| 22 | - |
|
| 23 | - |
|
| 24 | -## MSM261 DGT003 |
|
| 25 | - |
|
| 26 | - |
|
| 27 | - |
|
| 28 | - |
|
| 29 | - |
|
| 30 | -## MSM261 3526H1CPM SCH |
|
| 31 | - |
|
| 32 | - |
|
| 33 | - |
|
| 34 | - |
|
| 35 | - |
|
| 36 | -## ref |
|
| 37 | - |
|
| 38 | -- [[MEMS]] |
|
| ... | ... | \ No newline at end of file |
Chip-cn-dat/memsensing-dat/2026-03-02-16-56-12.png
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/memsensing-dat/2026-03-02-16-56-12.png differ |
Chip-cn-dat/memsensing-dat/MSM261S4030H0R-dat/2024-12-26-15-04-51.png
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/memsensing-dat/MSM261S4030H0R-dat/2024-12-26-15-04-51.png differ |
Chip-cn-dat/memsensing-dat/MSM261S4030H0R-dat/2024-12-26-15-05-41.png
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/memsensing-dat/MSM261S4030H0R-dat/2024-12-26-15-05-41.png differ |
Chip-cn-dat/memsensing-dat/MSM261S4030H0R-dat/2024-12-26-15-19-33.png
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/memsensing-dat/MSM261S4030H0R-dat/2024-12-26-15-19-33.png differ |
Chip-cn-dat/memsensing-dat/MSM261S4030H0R-dat/2025-04-02-15-05-38.png
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/memsensing-dat/MSM261S4030H0R-dat/2025-04-02-15-05-38.png differ |
Chip-cn-dat/memsensing-dat/MSM261S4030H0R-dat/2025-07-10-18-01-59.png
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/memsensing-dat/MSM261S4030H0R-dat/2025-07-10-18-01-59.png differ |
Chip-cn-dat/memsensing-dat/MSM261S4030H0R-dat/2025-08-07-13-04-32.png
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/memsensing-dat/MSM261S4030H0R-dat/2025-08-07-13-04-32.png differ |
Chip-cn-dat/memsensing-dat/MSM261S4030H0R-dat/MSM261S4030H0R-dat.md
| ... | ... | @@ -0,0 +1,44 @@ |
| 1 | + |
|
| 2 | +# |
|
| 3 | + |
|
| 4 | + |
|
| 5 | + |
|
| 6 | + |
|
| 7 | +- [[sensor-microphone-I2S-dat]] - [[sensor-microphone-I2S]] |
|
| 8 | + |
|
| 9 | +MSM261S4030H0R |
|
| 10 | + |
|
| 11 | + |
|
| 12 | +- https://www.denovocn.com/sites/default/files/MSM261S4030H0R.pdf |
|
| 13 | + |
|
| 14 | + |
|
| 15 | + |
|
| 16 | + |
|
| 17 | +## SCH w/ ESP32 |
|
| 18 | + |
|
| 19 | + |
|
| 20 | + |
|
| 21 | +- [[ESP32-S3-dat]] |
|
| 22 | + |
|
| 23 | + |
|
| 24 | +## SCH |
|
| 25 | + |
|
| 26 | + |
|
| 27 | + |
|
| 28 | + |
|
| 29 | + |
|
| 30 | + |
|
| 31 | + |
|
| 32 | + |
|
| 33 | + |
|
| 34 | + |
|
| 35 | + |
|
| 36 | +D1 - [[D1-dat]] - [[F133-dat]] |
|
| 37 | + |
|
| 38 | + |
|
| 39 | + |
|
| 40 | +## ref |
|
| 41 | + |
|
| 42 | +- [[I2S-dat]] |
|
| 43 | + |
|
| 44 | + |
Chip-cn-dat/memsensing-dat/memsensing-dat.md
| ... | ... | @@ -0,0 +1,38 @@ |
| 1 | + |
|
| 2 | +# memsensing-dat |
|
| 3 | + |
|
| 4 | +- [[memsensing-dat]] - [[zilltek-dat]] - [[linkmems-dat]] |
|
| 5 | + |
|
| 6 | + |
|
| 7 | + |
|
| 8 | +- [[sensor-microphone-I2S-dat]] - [[sensor-microphone-analog-dat]] |
|
| 9 | + |
|
| 10 | + |
|
| 11 | +- [[I2S-dat]] - [[PDM-dat]] |
|
| 12 | + |
|
| 13 | +MEMS(敏芯微) |
|
| 14 | + |
|
| 15 | + |
|
| 16 | + |
|
| 17 | + |
|
| 18 | +- [[MSM261S4030H0R-dat]] |
|
| 19 | + |
|
| 20 | + |
|
| 21 | +- [[mems-dat]] - [[PDM-dat]] |
|
| 22 | + |
|
| 23 | + |
|
| 24 | +## MSM261 DGT003 |
|
| 25 | + |
|
| 26 | + |
|
| 27 | + |
|
| 28 | + |
|
| 29 | + |
|
| 30 | +## MSM261 3526H1CPM SCH |
|
| 31 | + |
|
| 32 | + |
|
| 33 | + |
|
| 34 | + |
|
| 35 | + |
|
| 36 | +## ref |
|
| 37 | + |
|
| 38 | +- [[MEMS]] |
|
| ... | ... | \ No newline at end of file |
Chip-dat/Analog-device-dat/MAX98357-dat/MAX98357-dat.md
| ... | ... | @@ -3,6 +3,10 @@ |
| 3 | 3 | |
| 4 | 4 | - PCM Input Class D Audio Power Amplifiers |
| 5 | 5 | |
| 6 | +- [[I2S-dat]] - [[speaker-I2S-dat]] - [[sensor-microphone-I2S-dat]] - [[PDM-dat]] |
|
| 7 | + |
|
| 8 | +- [[MAX98357]] - [[analog-device]] |
|
| 9 | + |
|
| 6 | 10 | ## Features |
| 7 | 11 | |
| 8 | 12 | - 01 Output power: 3.2W at 4Ω, THD 10% 1.8W at 8Q, THD 10% |
Home.md
| ... | ... | @@ -19,7 +19,7 @@ |
| 19 | 19 | |
| 20 | 20 | - [[sensor-dat]] - [[sensor-touch-dat]] - [[sensor-temperature-dat]] - [[sensor-temp-hum-dat]] - [[sensor-bio-dat]] - [[sensor-soil-dat]] - [[sensor-motion-dat]] - [[sensor-camera-dat]] |
| 21 | 21 | |
| 22 | -- [[acturator-dat]] - [[motor-dat]] - [[motor-driver-dat]] - [[SCR-dat]] - [[thyristor-dat]] - [[buzzer-dat]] - [[relay-dat]] |
|
| 22 | +- [[acturator-dat]] - [[motor-dat]] - [[motor-driver-dat]] - [[SCR-dat]] - [[thyristor-dat]] - [[buzzer-dat]] - [[relay-dat]] |
|
| 23 | 23 | |
| 24 | 24 | - [[power-dat]] - [[ldo-dat]] - [[dcdc-down-dat]] - [[dcdc-boost-dat]] - [[acdc-dat]] - [[ac-mains-dat]] |
| 25 | 25 |
Tech-dat/Interface-dat/I2S-dat/I2S-DAC-dat.md
| ... | ... | @@ -0,0 +1,5 @@ |
| 1 | + |
|
| 2 | + |
|
| 3 | +# I2S-DAC-dat.md |
|
| 4 | + |
|
| 5 | +== [[speaker-I2S-dat]] |
|
| ... | ... | \ No newline at end of file |
Tech-dat/Interface-dat/I2S-dat/I2S-DAC-dat/2025-01-06-14-07-43.png
| ... | ... | Binary files a/Tech-dat/Interface-dat/I2S-dat/I2S-DAC-dat/2025-01-06-14-07-43.png and /dev/null differ |
Tech-dat/Interface-dat/I2S-dat/I2S-DAC-dat/I2S-DAC-dat.md
| ... | ... | @@ -1,55 +0,0 @@ |
| 1 | - |
|
| 2 | -# I2S-DAC-dat |
|
| 3 | - |
|
| 4 | - |
|
| 5 | -- [[amplifier-dat]] |
|
| 6 | - |
|
| 7 | -I2S DAC Decoder speaker |
|
| 8 | - |
|
| 9 | -- [[PCM5122-dat]] - [[MPC1083-dat]] |
|
| 10 | - |
|
| 11 | -- [[PCM5102-dat]] - [[AMP1006-dat]] |
|
| 12 | - |
|
| 13 | -- [[MAX98357-dat]] |
|
| 14 | - |
|
| 15 | -- [[UDA1334-dat]] - [[AMP1013-dat]] - [[NXP-dat]] |
|
| 16 | - |
|
| 17 | - |
|
| 18 | - |
|
| 19 | - |
|
| 20 | -## Common Microphone, Speaker Wiring |
|
| 21 | - |
|
| 22 | - |
|
| 23 | - |
|
| 24 | - |
|
| 25 | - |
|
| 26 | - |
|
| 27 | - |
|
| 28 | - |
|
| 29 | -## Pin |
|
| 30 | - |
|
| 31 | -| Name | default ESP32 | also Name | func | RPI GPIO | RPI pin | |
|
| 32 | -| ---- | ------------- | ------------ | ---------------------------------- | -------- | ------- | |
|
| 33 | -| SCK | 26 | BCLK | Serial Data Clock / Bit clock line | G18 | PIN 12 | |
|
| 34 | -| WS | 25 | LRCK / LRC | Serial Data-Word select line | G19 | PIN 35 | |
|
| 35 | -| SD | 22 | SDIN / SDOUT | At least one multiplexed data line | G21 | PIN 40 | |
|
| 36 | - |
|
| 37 | -I2S Circuit: |
|
| 38 | - |
|
| 39 | -* Arduino/Genuino Zero, MKR family and Nano 33 IoT |
|
| 40 | -* MAX98357: |
|
| 41 | - * GND connected GND |
|
| 42 | - * VIN connected 5V |
|
| 43 | - * LRC connected to pin 0 (Zero) or 3 (MKR), A2 (Nano) or 25 (ESP32) |
|
| 44 | - * BCLK connected to pin 1 (Zero) or 2 (MKR), A3 (Nano) or 5 (ESP32) |
|
| 45 | - * DIN connected to pin 9 (Zero) or A6 (MKR), 4 (Nano) or 26 (ESP32) |
|
| 46 | - |
|
| 47 | - DAC Circuit: |
|
| 48 | - * ESP32 or ESP32-S2 |
|
| 49 | - * Audio amplifier |
|
| 50 | - - Note: |
|
| 51 | - - ESP32 has DAC on GPIO pins 25 and 26. |
|
| 52 | - - ESP32-S2 has DAC on GPIO pins 17 and 18. |
|
| 53 | - - Connect speaker(s) or headphones. |
|
| 54 | - |
|
| 55 | -- [[MAX98357-dat]] |
|
| ... | ... | \ No newline at end of file |
Tech-dat/Interface-dat/I2S-dat/I2S-dat.md
| ... | ... | @@ -4,10 +4,11 @@ |
| 4 | 4 | |
| 5 | 5 | ## tech |
| 6 | 6 | |
| 7 | -- [[DAC-dat]] - [[amplifier-audio-dat]] - [[speaker-dat]] |
|
| 8 | 7 | |
| 8 | +- [[I2S-dat]] - [[speaker-I2S-dat]] - [[sensor-microphone-I2S-dat]] - [[PDM-dat]] |
|
| 9 | + |
|
| 10 | +- [[DAC-dat]] - [[amplifier-audio-dat]] - [[speaker-dat]] |
|
| 9 | 11 | |
| 10 | -- [[I2S-microphone-dat]] |
|
| 11 | 12 | |
| 12 | 13 | - speaker == [[I2S-DAC-dat]] |
| 13 | 14 | |
| ... | ... | @@ -34,11 +35,11 @@ This makes I2S a popular choice for high-speed data transfer applications. |
| 34 | 35 | |
| 35 | 36 | To get this working, you simply need to map your microphone's pins to the ESP32’s I2S peripheral. Here is how they correspond: |
| 36 | 37 | |
| 37 | -| Microphone Label | I2S Standard Name | ESP32 Function | Role | |
|
| 38 | -| :--- | :--- | :--- | :--- | |
|
| 39 | -| **CLK** (or BCLK) | **SCK** (Bit Clock) | Output | The heartbeat that times every individual bit. | |
|
| 40 | -| **L/R** (or WS) | **WS** (Word Select) | Output | Toggles to define the start of Left/Right frames. | |
|
| 41 | -| **DATA** (or SD) | **SDIN** (Data In) | Input | The digital audio stream entering the ESP32. | |
|
| 38 | +| Microphone Label | I2S Standard Name | ESP32 Function | Role | |
|
| 39 | +| :---------------- | :------------------- | :------------- | :------------------------------------------------ | |
|
| 40 | +| **CLK** (or BCLK) | **SCK** (Bit Clock) | Output | The heartbeat that times every individual bit. | |
|
| 41 | +| **L/R** (or WS) | **WS** (Word Select) | Output | Toggles to define the start of Left/Right frames. | |
|
| 42 | +| **DATA** (or SD) | **SDIN** (Data In) | Input | The digital audio stream entering the ESP32. | |
|
| 42 | 43 | |
| 43 | 44 | |
| 44 | 45 | ### 2. Why "MCLK" is Missing |
| ... | ... | @@ -93,6 +94,29 @@ PCM512x 2-VRMS DirectPath™ , 112-dB and 106-dB Audio Stereo DACs With 32-Bit, |
| 93 | 94 | |
| 94 | 95 | |
| 95 | 96 | |
| 97 | +## pins I2S and PDM |
|
| 98 | + |
|
| 99 | + |
|
| 100 | + |
|
| 101 | +* **I2S (Inter-IC Sound):** Uses a **3-wire** bus (Bit Clock, Word Select/Left-Right Clock, and Data). It transmits pulse-code modulation (PCM) data. |
|
| 102 | +* **PDM (Pulse Density Modulation):** Uses a **2-wire** bus (Clock and Data). It transmits a high-frequency stream of single bits where the "density" of the bits represents the amplitude. |
|
| 103 | + |
|
| 104 | +The ESP32-S3 has **two independent I2S peripherals** (I2S0 and I2S1). This allows you to use one for output and one for input. |
|
| 105 | + |
|
| 106 | +#### Recommended Wiring Strategy: |
|
| 107 | +To save pins, you can sometimes share the **Clock** pin, but it is technically difficult because PDM and I2S usually require different clock frequencies. It is much safer to use dedicated pins for each: |
|
| 108 | + |
|
| 109 | +| Component | Signal | Suggested ESP32-S3 GPIO | |
|
| 110 | +| :-------------------------------- | :----------------- | :---------------------- | |
|
| 111 | +| **I2S Speaker (e.g., MAX98357A)** | BCLK (Bit Clock) | GPIO 14 | |
|
| 112 | +| | LRCK (Word Select) | GPIO 15 | |
|
| 113 | +| | DIN (Data In) | GPIO 16 | |
|
| 114 | +| **PDM Mic (e.g., SPM1423)** | CLK (Clock) | GPIO 4 | |
|
| 115 | +| | DAT (Data Out) | GPIO 5 | |
|
| 116 | + |
|
| 117 | +- [[ESP32-S3-dat]] |
|
| 118 | + |
|
| 119 | + |
|
| 96 | 120 | ## demo video |
| 97 | 121 | |
| 98 | 122 | - [[MAX98357-dat]] works with [[ESP32-dat]] - https://x.com/electro_phoenix/status/1877255863846465989 |
Tech-dat/Interface-dat/PDM-dat/PDM-dat.md
| ... | ... | @@ -11,6 +11,14 @@ https://www.atomic14.com/2024/01/05/esp32-s3-no-pins |
| 11 | 11 | - [[interface-dat]] - [[I2S-dat]] - [[PDM-dat]] - [[sensor-microphone-dat]] |
| 12 | 12 | |
| 13 | 13 | |
| 14 | +## chip |
|
| 15 | + |
|
| 16 | +- [[SPM1423-dat]] |
|
| 17 | + |
|
| 18 | +- [[mems-dat]] - [[zilltek-dat]] - [[linkmems-dat]] |
|
| 19 | + |
|
| 20 | + |
|
| 21 | + |
|
| 14 | 22 | ### wiring |
| 15 | 23 | |
| 16 | 24 | Unlike standard I2S which requires 3 signal wires (BCLK, WS, DATA), **PDM only requires 2 signal wires**. |
Tech-dat/Sensor-dat/sensor-microphone-dat/sensor-microphone-I2S-dat/sensor-microphone-I2S-dat.md
| ... | ... | @@ -12,7 +12,7 @@ |
| 12 | 12 | |
| 13 | 13 | I2S Output Digital Microphone - [[INMP441-dat]] |
| 14 | 14 | |
| 15 | -- [[mems-dat]] - [[zilltek-dat]] - [[linkmems-dat]] |
|
| 15 | +- [[memsensing-dat]] - [[zilltek-dat]] - [[linkmems-dat]] |
|
| 16 | 16 | |
| 17 | 17 | - [x] - [[MSM261S4030H0R-dat]] |
| 18 | 18 |
Tech-dat/acturator-dat/acturator-dat.md
| ... | ... | @@ -1,7 +1,7 @@ |
| 1 | 1 | |
| 2 | 2 | # actuator |
| 3 | 3 | |
| 4 | -- [[piezo-dat]] |
|
| 4 | +- [[piezo-dat]] - [[buzzer-dat]] - [[speaker-dat]] - [[SSL1019-dat]] |
|
| 5 | 5 | |
| 6 | 6 | - [[relay-dat]] - [[SSR-relay-dat]] |
| 7 | 7 | |
| ... | ... | @@ -19,7 +19,7 @@ |
| 19 | 19 | |
| 20 | 20 | - [[laser-module-dat]] |
| 21 | 21 | |
| 22 | -- [[buzzer-dat]] - [[speaker-dat]] - [[SSL1019-dat]] |
|
| 22 | + |
|
| 23 | 23 | |
| 24 | 24 | - [[belt-dat]] - [[belt-sys-dat]] - [[pulley-dat]] - [[mechanics-dat]] |
| 25 | 25 |
Tech-dat/acturator-dat/speaker-dat/speaker-I2S-dat/2025-01-06-14-07-43.png
| ... | ... | Binary files /dev/null and b/Tech-dat/acturator-dat/speaker-dat/speaker-I2S-dat/2025-01-06-14-07-43.png differ |
Tech-dat/acturator-dat/speaker-dat/speaker-I2S-dat/speaker-I2S-dat.md
| ... | ... | @@ -0,0 +1,55 @@ |
| 1 | + |
|
| 2 | +# speaker-I2S-dat |
|
| 3 | + |
|
| 4 | + |
|
| 5 | +- [[amplifier-dat]] |
|
| 6 | + |
|
| 7 | +I2S DAC Decoder speaker |
|
| 8 | + |
|
| 9 | +- [[PCM5122-dat]] - [[MPC1083-dat]] |
|
| 10 | + |
|
| 11 | +- [[PCM5102-dat]] - [[AMP1006-dat]] |
|
| 12 | + |
|
| 13 | +- [[MAX98357-dat]] |
|
| 14 | + |
|
| 15 | +- [[UDA1334-dat]] - [[AMP1013-dat]] - [[NXP-dat]] |
|
| 16 | + |
|
| 17 | + |
|
| 18 | + |
|
| 19 | + |
|
| 20 | +## Common Microphone, Speaker Wiring |
|
| 21 | + |
|
| 22 | + |
|
| 23 | + |
|
| 24 | + |
|
| 25 | + |
|
| 26 | + |
|
| 27 | + |
|
| 28 | + |
|
| 29 | +## Pin |
|
| 30 | + |
|
| 31 | +| Name | default ESP32 | also Name | func | RPI GPIO | RPI pin | |
|
| 32 | +| ---- | ------------- | ------------ | ---------------------------------- | -------- | ------- | |
|
| 33 | +| SCK | 26 | BCLK | Serial Data Clock / Bit clock line | G18 | PIN 12 | |
|
| 34 | +| WS | 25 | LRCK / LRC | Serial Data-Word select line | G19 | PIN 35 | |
|
| 35 | +| SD | 22 | SDIN / SDOUT | At least one multiplexed data line | G21 | PIN 40 | |
|
| 36 | + |
|
| 37 | +I2S Circuit: |
|
| 38 | + |
|
| 39 | +* Arduino/Genuino Zero, MKR family and Nano 33 IoT |
|
| 40 | +* MAX98357: |
|
| 41 | + * GND connected GND |
|
| 42 | + * VIN connected 5V |
|
| 43 | + * LRC connected to pin 0 (Zero) or 3 (MKR), A2 (Nano) or 25 (ESP32) |
|
| 44 | + * BCLK connected to pin 1 (Zero) or 2 (MKR), A3 (Nano) or 5 (ESP32) |
|
| 45 | + * DIN connected to pin 9 (Zero) or A6 (MKR), 4 (Nano) or 26 (ESP32) |
|
| 46 | + |
|
| 47 | + DAC Circuit: |
|
| 48 | + * ESP32 or ESP32-S2 |
|
| 49 | + * Audio amplifier |
|
| 50 | + - Note: |
|
| 51 | + - ESP32 has DAC on GPIO pins 25 and 26. |
|
| 52 | + - ESP32-S2 has DAC on GPIO pins 17 and 18. |
|
| 53 | + - Connect speaker(s) or headphones. |
|
| 54 | + |
|
| 55 | +- [[MAX98357-dat]] |
|
| ... | ... | \ No newline at end of file |
Tech-dat/acturator-dat/speaker-dat/speaker-dat.md
| ... | ... | @@ -0,0 +1,111 @@ |
| 1 | + |
|
| 2 | +# speaker-dat |
|
| 3 | + |
|
| 4 | + |
|
| 5 | +- [[speaker-dat]] - [[buzzer-dat]] |
|
| 6 | + |
|
| 7 | +- [[max98357-dat]] |
|
| 8 | + |
|
| 9 | +- [[I2S-dat]] - [[speaker-I2S-dat]] - [[sensor-microphone-I2S-dat]] - [[PDM-dat]] |
|
| 10 | + |
|
| 11 | +- [[amplifier-audio-dat]] - [[8002-dat]] - [[speaker-dat]] - [[bt-audio-dat]] |
|
| 12 | + |
|
| 13 | +[legacy wiki page](https://www.electrodragon.com/w/Speaker) |
|
| 14 | + |
|
| 15 | + |
|
| 16 | +## boards |
|
| 17 | + |
|
| 18 | +- [[SSL1030-dat]] - [[SSL1031-dat]] |
|
| 19 | + |
|
| 20 | + |
|
| 21 | +## apps |
|
| 22 | + |
|
| 23 | +- [[alarm-dat]] |
|
| 24 | + |
|
| 25 | + |
|
| 26 | + |
|
| 27 | +## Cavity Speakers (Box Speakers) |
|
| 28 | + |
|
| 29 | +A **Cavity Speaker** (often called a "Box Speaker" in electronics) is not a different type of speaker driver, but rather a **complete acoustic system**. It consists of a standard speaker driver pre-installed into a precisely engineered, sealed plastic or metal enclosure (the "cavity"). |
|
| 30 | + |
|
| 31 | +Think of it as a professional, miniature version of a bookshelf speaker designed to fit inside compact devices like smartphones, laptops, or your DIY projects. |
|
| 32 | + |
|
| 33 | +--- |
|
| 34 | + |
|
| 35 | +### 1. The Anatomy of a Cavity Speaker |
|
| 36 | +A typical unit includes three main parts: |
|
| 37 | +* **The Driver:** The diaphragm and magnet that create vibration. |
|
| 38 | +* **The Enclosure (Cavity):** A sealed box that manages the air pressure behind the driver. |
|
| 39 | +* **The Port/Outlet:** A specific opening that directs the sound toward the user. |
|
| 40 | + |
|
| 41 | + |
|
| 42 | + |
|
| 43 | +--- |
|
| 44 | + |
|
| 45 | +### 2. Why Use a Cavity Instead of a Bare Speaker? |
|
| 46 | +If you hold a "bare" speaker in your hand and play music, it will sound "tinny" and weak. This is because of **Acoustic Cancellation**. |
|
| 47 | + |
|
| 48 | +* **The Problem:** When the speaker membrane moves forward, it creates high pressure in front and low pressure behind. Without a cavity, these two waves meet at the edge and cancel each other out—especially the **bass (low frequencies)**. |
|
| 49 | +* **The Solution:** The cavity traps the rear sound wave, preventing it from canceling the front wave. This results in much deeper, louder, and clearer audio. |
|
| 50 | + |
|
| 51 | + |
|
| 52 | +### 3. Application in Projects |
|
| 53 | + |
|
| 54 | +For an outdoor adventure or robotics project, a cavity speaker is almost always the better choice over a bare driver. |
|
| 55 | + |
|
| 56 | +| Feature | Bare Speaker Driver | Cavity/Box Speaker | |
|
| 57 | +| :---------------- | :--------------------------------------- | :------------------------------------- | |
|
| 58 | +| **Audio Quality** | Thin, high-pitched, quiet | Full-bodied, louder, better bass | |
|
| 59 | +| **Installation** | Requires custom 3D printed housing | Plug-and-play (usually has adhesive) | |
|
| 60 | +| **Protection** | Membrane is exposed to dust/damage | Fully protected inside the box | |
|
| 61 | +| **Complexity** | You must calculate "air volume" yourself | Acoustic tuning is done by the factory | |
|
| 62 | + |
|
| 63 | + |
|
| 64 | + |
|
| 65 | +## 4-ohm and 8-ohm |
|
| 66 | + |
|
| 67 | +The terms 4-ohm and 8-ohm refer to the impedance of the speaker. Impedance is a measure of the resistance the speaker provides to the electrical current coming from the amplifier. It is measured in ohms (Ω) and directly impacts how the speaker interacts with an amplifier. |
|
| 68 | + |
|
| 69 | +Key Points about 4-Ohm and 8-Ohm Speakers: |
|
| 70 | + |
|
| 71 | +Electrical Resistance: |
|
| 72 | + |
|
| 73 | +- 4-ohm speakers offer less resistance to electrical current, meaning they allow more current to flow through. |
|
| 74 | +- 8-ohm speakers offer more resistance, meaning they draw less current from the amplifier. |
|
| 75 | + |
|
| 76 | + |
|
| 77 | +Power Requirements: |
|
| 78 | + |
|
| 79 | +- A 4-ohm speaker generally requires an amplifier that can deliver more current because of the lower resistance. |
|
| 80 | +- An 8-ohm speaker is less demanding on the amplifier, so it is compatible with a wider range of amplifiers. |
|
| 81 | + |
|
| 82 | +Compatibility with Amplifiers: |
|
| 83 | + |
|
| 84 | +- Amplifiers must be rated to handle the speaker's impedance. For example: |
|
| 85 | +- An amplifier rated for 4–8 ohms can drive both 4-ohm and 8-ohm speakers safely. |
|
| 86 | +- Using a 4-ohm speaker with an amplifier not designed for such low impedance may overheat the amplifier or cause it to shut down. |
|
| 87 | +Sound Performance: |
|
| 88 | + |
|
| 89 | +There is no inherent sound quality difference between 4-ohm and 8-ohm speakers. However: |
|
| 90 | + |
|
| 91 | +- A 4-ohm speaker may be slightly louder if the amplifier can handle it because it draws more power from the amplifier. |
|
| 92 | +- Matching the amplifier's power output with the speaker's impedance ensures optimal sound quality and avoids distortion or damage. |
|
| 93 | + |
|
| 94 | + |
|
| 95 | +## tech |
|
| 96 | + |
|
| 97 | +- [[amplifier-dat]] - [[amplifier-audio-dat]] |
|
| 98 | + |
|
| 99 | +- [[signal-dat]] - [[signal-differential-dat]] |
|
| 100 | + |
|
| 101 | +- [[I2S-dat]] |
|
| 102 | + |
|
| 103 | +- [[speaker-dat]] - [[headphone-dat]] |
|
| 104 | + |
|
| 105 | + |
|
| 106 | + |
|
| 107 | + |
|
| 108 | + |
|
| 109 | +## ref |
|
| 110 | + |
|
| 111 | + |
cable-dat/cable-USB-dat/cable-USB-dat.md
| ... | ... | @@ -17,3 +17,4 @@ |
| 17 | 17 | |
| 18 | 18 | ## ref |
| 19 | 19 | |
| 20 | +- [[cable-USB]] |
|
| ... | ... | \ No newline at end of file |
cable-dat/cable-dat.md
| ... | ... | @@ -3,7 +3,7 @@ |
| 3 | 3 | |
| 4 | 4 | - [[AWG-wires-dat]] - [[cable-warp-dat]] |
| 5 | 5 | |
| 6 | -- [[cable-power-dat]] |
|
| 6 | +- [[cable-power-dat]] - [[cable-USB-dat]] |
|
| 7 | 7 | |
| 8 | 8 | - [[cable-data-dat]] - [[cable-FPC-dat]] - [[cable-ribbon-dat]] |
| 9 | 9 |