ac82b38dac7699c5e324aab5d77ab50b5a9804e4
Chip-dat/InvenSense-dat/ICS-43434-dat/2024-12-26-14-50-40.png
... | ... | Binary files /dev/null and b/Chip-dat/InvenSense-dat/ICS-43434-dat/2024-12-26-14-50-40.png differ |
Chip-dat/InvenSense-dat/ICS-43434-dat/2024-12-26-14-52-31.png
... | ... | Binary files /dev/null and b/Chip-dat/InvenSense-dat/ICS-43434-dat/2024-12-26-14-52-31.png differ |
Chip-dat/InvenSense-dat/ICS-43434-dat/ICS-43434-dat.md
... | ... | @@ -0,0 +1,72 @@ |
1 | + |
|
2 | +# ICS-43434-dat |
|
3 | + |
|
4 | +https://invensense.tdk.com/products/ics-43434/ |
|
5 | + |
|
6 | +https://invensense.tdk.com/wp-content/uploads/2016/02/DS-000069-ICS-43434-v1.2.pdf |
|
7 | + |
|
8 | +Multi-Mode Microphone with I2S Digital Output |
|
9 | + |
|
10 | + |
|
11 | +## SCH |
|
12 | + |
|
13 | +![](2024-12-26-14-50-40.png) |
|
14 | + |
|
15 | + |
|
16 | +## code: |
|
17 | + |
|
18 | +InputPlotter demo but this code is higher resolution: |
|
19 | + |
|
20 | + /* |
|
21 | + This example reads audio data from an I2S microphone |
|
22 | + breakout board, and prints out the samples to the Serial console. The |
|
23 | + Serial Plotter built into the Arduino IDE can be used to plot the audio |
|
24 | + data (Tools -> Serial Plotter) |
|
25 | + |
|
26 | + Circuit: |
|
27 | + * Arduino/Genuino Zero, MKRZero or MKR1000 board |
|
28 | + * GND connected GND |
|
29 | + * 3.3V connected 3.3V (Zero) or VCC (MKR1000, MKRZero) |
|
30 | + * WS connected to pin 0 (Zero) or pin 3 (MKR1000, MKRZero) |
|
31 | + * CLK connected to pin 1 (Zero) or pin 2 (MKR1000, MKRZero) |
|
32 | + * SD connected to pin 9 (Zero) or pin A6 (MKR1000, MKRZero) |
|
33 | + |
|
34 | + created 17 November 2016 |
|
35 | + by Sandeep Mistry |
|
36 | + */ |
|
37 | + |
|
38 | + #include <I2S.h> |
|
39 | + |
|
40 | + void setup() { |
|
41 | + // Open serial communications and wait for port to open: |
|
42 | + // A baud rate of 115200 is used instead of 9600 for a faster data rate |
|
43 | + // on non-native USB ports |
|
44 | + Serial.begin(115200); |
|
45 | + while (!Serial) { |
|
46 | + ; // wait for serial port to connect. Needed for native USB port only |
|
47 | + } |
|
48 | + |
|
49 | + // start I2S at 16 kHz with 32-bits per sample |
|
50 | + if (!I2S.begin(I2S_PHILIPS_MODE, 16000, 32)) { |
|
51 | + Serial.println("Failed to initialize I2S!"); |
|
52 | + while (1); // do nothing |
|
53 | + } |
|
54 | + } |
|
55 | + |
|
56 | + void loop() { |
|
57 | + // read a sample |
|
58 | + int sample = I2S.read(); |
|
59 | + |
|
60 | + if ((sample == 0) || (sample == -1) ) { |
|
61 | + return; |
|
62 | + } |
|
63 | + // convert to 18 bit signed |
|
64 | + sample >>= 14; |
|
65 | + |
|
66 | + // if it's non-zero print value to serial |
|
67 | + Serial.println(sample); |
|
68 | + } |
|
69 | + |
|
70 | +output: |
|
71 | + |
|
72 | +![](2024-12-26-14-52-31.png) |
|
... | ... | \ No newline at end of file |
Chip-dat/knowles-dat/SPH0645-dat/SPH0645-dat.md
... | ... | @@ -0,0 +1,8 @@ |
1 | + |
|
2 | +# SPH0645-dat |
|
3 | + |
|
4 | +https://www.knowles.com/docs/default-source/default-document-library/sph0645lm4h-1-datasheet.pdf |
|
5 | + |
|
6 | +I2S Output Digital Microphone |
|
7 | + |
|
8 | +- refer to [[ICS-43434-dat]] |
|
... | ... | \ No newline at end of file |
Tech-dat/Interface-dat/I2S-dat/I2S-dat.md
... | ... | @@ -24,7 +24,7 @@ This makes I2S a popular choice for high-speed data transfer applications. |
24 | 24 | |
25 | 25 | ## Solution |
26 | 26 | |
27 | -- [[INMP441-dat]] - [[ICS-43434-dat]] |
|
27 | +I2S Output Digital Microphone - [[INMP441-dat]] - [[ICS-43434-dat]] - [[SPH0645-dat]] |
|
28 | 28 | |
29 | 29 | - [[WM8960-dat]] |
30 | 30 |