ff61af2fdc744b26beeec5c46cad717c6d33d05c
Chip-dat/Analog-dat/MAX98357-dat/2025-01-06-14-05-50.png
| ... | ... | Binary files /dev/null and b/Chip-dat/Analog-dat/MAX98357-dat/2025-01-06-14-05-50.png differ |
Chip-dat/Analog-dat/MAX98357-dat/2025-01-06-14-15-26.png
| ... | ... | Binary files /dev/null and b/Chip-dat/Analog-dat/MAX98357-dat/2025-01-06-14-15-26.png differ |
Chip-dat/Analog-dat/MAX98357-dat/MAX98357-dat.md
| ... | ... | @@ -1,17 +1,50 @@ |
| 1 | 1 | |
| 2 | 2 | # MAX98357 |
| 3 | 3 | |
| 4 | +- PCM Input Class D Audio Power Amplifiers |
|
| 5 | + |
|
| 6 | +## Features |
|
| 7 | + |
|
| 8 | +- 01 Output power: 3.2W at 4Ω, THD 10% 1.8W at 8Q, THD 10% |
|
| 9 | +- 02 I2S sampling rate: 8kHz-96kHz |
|
| 10 | +- 03 Selectable class D amplifier gain: 3dB/6dB/9dB/12dB/15dB |
|
| 11 | +- 04 No master clock (MCLK) required |
|
| 12 | +- 05 Plug and play: only a single power supply is needed, 35 different clocks and 128 digital audio formats can be automatically configured |
|
| 13 | +- 06 Suitable for microcontrollers or development board systems with I2S audio output such as RaspberryPi, ArduinoL and ESP32 |
|
| 14 | + |
|
| 4 | 15 | |
| 5 | 16 | ## SCH |
| 6 | 17 | |
| 7 | 18 |  |
| 8 | 19 | |
| 20 | + |
|
| 21 | + |
|
| 22 | +## Pins |
|
| 23 | + |
|
| 24 | +- LRC: Left/right clock synchronization clock for I2S and LJ modes for TDM mode |
|
| 25 | +- BCLK: Bit clock input |
|
| 26 | +- DIN: Digital input signal |
|
| 27 | +- GAIN: Gain and channel selection In TDM mode, the gain is fixed at 12dB |
|
| 28 | +- SD: Shutdown and channel selection. SD_MODE is pulled low to put the device in shutdown state |
|
| 29 | +- GND: Power ground |
|
| 30 | +- VCC: Power positive, DC2.5V-5.5V |
|
| 31 | + |
|
| 9 | 32 | ## wiring |
| 10 | 33 | |
| 11 | 34 | |
| 12 | 35 |  |
| 13 | 36 | |
| 37 | +## Dimension |
|
| 38 | + |
|
| 39 | + |
|
| 14 | 40 | |
| 15 | 41 | ## code |
| 16 | 42 | |
| 17 | -- [[MAX98357-code.ino]] - [[I2S-dat]] |
|
| ... | ... | \ No newline at end of file |
| 0 | +- [[MAX98357-code.ino]] - [[I2S-dat]] |
|
| 1 | + |
|
| 2 | + |
|
| 3 | +## ref |
|
| 4 | + |
|
| 5 | +- [[I2S-dat]] |
|
| 6 | + |
|
| 7 | +- [[MAX98357-datasheet.pdf]] |
|
| ... | ... | \ No newline at end of file |
Chip-dat/Analog-dat/MAX98357-dat/MAX98357-datasheet.pdf
| ... | ... | Binary files /dev/null and b/Chip-dat/Analog-dat/MAX98357-dat/MAX98357-datasheet.pdf differ |
Tech-dat/Interface-dat/I2S-dat/2025-01-06-14-07-17.png
| ... | ... | Binary files /dev/null and b/Tech-dat/Interface-dat/I2S-dat/2025-01-06-14-07-17.png differ |
Tech-dat/Interface-dat/I2S-dat/2025-01-06-14-07-43.png
| ... | ... | Binary files /dev/null and b/Tech-dat/Interface-dat/I2S-dat/2025-01-06-14-07-43.png differ |
Tech-dat/Interface-dat/I2S-dat/I2S-dat.md
| ... | ... | @@ -19,14 +19,16 @@ This makes I2S a popular choice for high-speed data transfer applications. |
| 19 | 19 | | WS | 25 | LRCK / LRC | Serial Data-Word select line | G19 | PIN 35 | |
| 20 | 20 | | SD | 22 | SDIN / SDOUT | At least one multiplexed data line | G21 | PIN 40 | |
| 21 | 21 | |
| 22 | - I2S Circuit: |
|
| 23 | - * Arduino/Genuino Zero, MKR family and Nano 33 IoT |
|
| 24 | - * MAX08357: |
|
| 25 | - * GND connected GND |
|
| 26 | - * VIN connected 5V |
|
| 27 | - * LRC connected to pin 0 (Zero) or 3 (MKR), A2 (Nano) or 25 (ESP32) |
|
| 28 | - * BCLK connected to pin 1 (Zero) or 2 (MKR), A3 (Nano) or 5 (ESP32) |
|
| 29 | - * DIN connected to pin 9 (Zero) or A6 (MKR), 4 (Nano) or 26 (ESP32) |
|
| 22 | +I2S Circuit: |
|
| 23 | + |
|
| 24 | +* Arduino/Genuino Zero, MKR family and Nano 33 IoT |
|
| 25 | +* MAX08357: |
|
| 26 | + * GND connected GND |
|
| 27 | + * VIN connected 5V |
|
| 28 | + * LRC connected to pin 0 (Zero) or 3 (MKR), A2 (Nano) or 25 (ESP32) |
|
| 29 | + * BCLK connected to pin 1 (Zero) or 2 (MKR), A3 (Nano) or 5 (ESP32) |
|
| 30 | + * DIN connected to pin 9 (Zero) or A6 (MKR), 4 (Nano) or 26 (ESP32) |
|
| 31 | + |
|
| 30 | 32 | DAC Circuit: |
| 31 | 33 | * ESP32 or ESP32-S2 |
| 32 | 34 | * Audio amplifier |
| ... | ... | @@ -35,6 +37,18 @@ This makes I2S a popular choice for high-speed data transfer applications. |
| 35 | 37 | - ESP32-S2 has DAC on GPIO pins 17 and 18. |
| 36 | 38 | - Connect speaker(s) or headphones. |
| 37 | 39 | |
| 40 | +## Common Microphone, Speaker Wiring |
|
| 41 | + |
|
| 42 | + |
|
| 43 | + |
|
| 44 | +soundrecorder - https://github.com/Edragon/esp32_SoundRecorder |
|
| 45 | + |
|
| 46 | + |
|
| 47 | + |
|
| 48 | + |
|
| 49 | +music_player - https://github.com/Edragon/esp32_MusicPlayer |
|
| 50 | + |
|
| 51 | + |
|
| 38 | 52 | |
| 39 | 53 | ## Solution - control (slave module) |
| 40 | 54 |